1/*
2 * Copyright 2009, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _PLAY_SOUND_H
6#define _PLAY_SOUND_H
7
8#include <OS.h>
9#include <Entry.h>
10
11
12typedef sem_id sound_handle;
13
14
15sound_handle play_sound(const entry_ref* soundRef, bool mix, bool queue,
16	bool background);
17
18status_t stop_sound(sound_handle handle);
19
20status_t wait_for_sound(sound_handle handle);
21
22
23#endif // _PLAY_SOUND_H
24