1 /******************************************************************************
5 Copyright 1995-97, Be Incorporated
7 ******************************************************************************/
11 #include <SupportDefs.h>
14 /* Buffer header for audio server */
16 typedef struct audio_buffer_header
{
18 int32 subscriber_count
;
24 } audio_buffer_header
;
27 #define B_MEDIA_LEVEL B_REAL_TIME_PRIORITY
29 #define B_NO_CHANGE (-1)
32 Subscriber IDs and special values
35 #define B_NO_SUBSCRIBER_ID ((subscriber_id)-1)
36 #define B_NO_SUBSCRIBER_NAME "not subscribed"
38 #define B_SHARED_SUBSCRIBER_ID ((subscriber_id)-2)
39 #define B_SHARED_SUBSCRIBER_NAME "shared subscriber"
42 Values for sound files and audio streams
45 /* values for byte_ordering */
46 enum { B_BIG_ENDIAN
, B_LITTLE_ENDIAN
};
48 /* values for sample_format */
56 /* Audio device codes for BAudioSubscriber's
57 * Get/SetVolume() and EnableDevice() calls
83 #endif // #ifndef _MEDIA_DEFS_H