00001 #ifndef _PA_MICRO
00002 #define _PA_MICRO
00003
00004 #include "PA_General.h"
00005
00006
00007
00019 #define PA_MicGetVol() PA_IPC.Mic.Volume
00020
00021
00033 extern inline void PA_MicStartRecording(u8 *Buffer, s32 Length){
00034 PA_IPC.Mic.Data = Buffer;
00035 PA_IPC.Mic.Length = Length;
00036 }
00037
00038
00053 extern inline void PA_MicReplay(u8 PA_Channel, u8 *Buffer, s32 Length){
00054 PA_PlaySound(PA_Channel, Buffer, Length, 127, 16384/2);
00055 }
00056
00057
00059
00060
00061
00062 #endif