PA_Micro.h

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; // Buffer
00035                      PA_IPC.Mic.Length = 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  // end of Micro
00059 
00060 
00061 
00062 #endif

Généré le Tue Jan 30 23:10:49 2007 pour PAlib par  doxygen 1.3.9.1