f6e4cbb952
definitions). * Minor cleanup here and there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22577 a95241bf-73f2-0310-859d-f6bbb57e9c96
32 lines
672 B
C
32 lines
672 B
C
/******************************************************************************
|
|
|
|
File: PlaySound.h
|
|
|
|
Description: Interface for a simple beep sound.
|
|
|
|
Copyright 1995-97, Be Incorporated
|
|
|
|
******************************************************************************/
|
|
#ifndef _PLAY_SOUND_H
|
|
#define _PLAY_SOUND_H
|
|
|
|
#ifndef _BE_BUILD_H
|
|
#include <BeBuild.h>
|
|
#endif
|
|
#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 /* #ifndef _PLAY_SOUND_H*/
|