7 #define SND_BUFFERSIZE 384 // output 2ms sound data at 48KHz 8 #define DSP_STREAMBUFFER_SIZE 1152 // input 2ms sound data at max. 144KHz 11 #define DSP_DEFAULT_FREQ 48044 13 #define DSP_DEFAULT_FREQ 48000 16 #define VOICE_STATE_STOPPED 0 17 #define VOICE_STATE_RUNNING 1 18 #define VOICE_STATE_STREAM 2 20 #define VOICE_MONO8 0x00000000 21 #define VOICE_STEREO8 0x00000001 22 #define VOICE_MONO16 0x00000002 23 #define VOICE_STEREO16 0x00000003 25 #define VOICE_FREQ32KHZ 32000 26 #define VOICE_FREQ48KHZ 48000 struct aesndpb_t AESNDPB
Definition: aesndlib.h:32
void AESND_SetVoiceStream(AESNDPB *pb, bool stream)
AESNDVoiceCallback AESND_RegisterVoiceCallback(AESNDPB *pb, AESNDVoiceCallback cb)
void AESND_SetVoiceFormat(AESNDPB *pb, u32 format)
float f32
Definition: gctypes.h:43
GLenum GLsizei len
Definition: glext.h:7389
void AESND_Pause(bool pause)
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
void(* AESNDVoiceCallback)(AESNDPB *pb, u32 state)
Definition: aesndlib.h:34
uint16_t u16
16bit unsigned integer
Definition: gctypes.h:18
void AESND_SetVoiceBuffer(AESNDPB *pb, const void *buffer, u32 len)
void(* AESNDAudioCallback)(void *audio_buffer, u32 len)
Definition: aesndlib.h:35
void AESND_SetVoiceLoop(AESNDPB *pb, bool loop)
static uint64_t state[MAX_PADS]
Definition: xenon360_input.c:33
void AESND_SetVoiceVolume(AESNDPB *pb, u16 volume_l, u16 volume_r)
void AESND_SetVoiceMute(AESNDPB *pb, bool mute)
AESNDAudioCallback AESND_RegisterAudioCallback(AESNDAudioCallback cb)
void AESND_FreeVoice(AESNDPB *pb)
void AESND_SetVoiceFrequency(AESNDPB *pb, u32 freq)
GLuint GLuint stream
Definition: glext.h:8189
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:6293
void AESND_PlayVoice(AESNDPB *pb, u32 format, const void *buffer, u32 len, u32 freq, u32 delay, bool looped)
AESNDPB * AESND_AllocateVoice(AESNDVoiceCallback cb)
Definition: video4linux2.c:51
f32 AESND_GetDSPProcessUsage()
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
void AESND_SetVoiceStop(AESNDPB *pb, bool stop)
u32 AESND_GetDSPProcessTime()