1 /****************************************************************************** 2 3 File: PlaySound.h 4 5 Description: Interface for a simple beep sound. 6 7 Copyright 1995-97, Be Incorporated 8 9 ******************************************************************************/ 10 #ifndef _PLAY_SOUND_H 11 #define _PLAY_SOUND_H 12 13 #ifndef _BE_BUILD_H 14 #include <BeBuild.h> 15 #endif 16 #include <OS.h> 17 #include <Entry.h> 18 19 typedef sem_id sound_handle; 20 21 sound_handle play_sound(const entry_ref *soundRef, 22 bool mix, 23 bool queue, 24 bool background 25 ); 26 27 status_t stop_sound(sound_handle handle); 28 29 status_t wait_for_sound(sound_handle handle); 30 31 #endif /* #ifndef _PLAY_SOUND_H*/ 32