haiku/headers/os/media/PlaySound.h
Stephan Aßmus cb3f273dd2 Rewrote more headers, style updates in some
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-28 14:39:55 +00:00

24 lines
431 B
C

/*
* Copyright 2009, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _PLAY_SOUND_H
#define _PLAY_SOUND_H
#include <OS.h>
#include <Entry.h>
typedef sem_id sound_handle;
sound_handle play_sound(const entry_ref* soundRef, bool mix, bool queue,
bool background);
status_t stop_sound(sound_handle handle);
status_t wait_for_sound(sound_handle handle);
#endif // _PLAY_SOUND_H