PAlib
Macros | Functions
Microphone

Macros

#define PA_MicGetVol()   PA_Transfer->micvol
 Returns the Microphone volume.
 
#define PA_MicStopRecording()   PA_SendFifoCmd(PA_MSG_MICSTOP)
 Stop recording from the microphone.
 

Functions

static void PA_MicStartRecording (u8 *buffer, u32 length)
 Start recording from the microphone.
 

Detailed Description

Record a sound and replay it...

Function Documentation

◆ PA_MicStartRecording()

static inline void PA_MicStartRecording ( u8 *  Buffer,
u32  Length 
)
inlinestatic

Start recording from the microphone.

Parameters
Buffer8bit buffer in which to record the sound
LengthBuffer length. To convert seconds to 8bit length you have to multiply the seconds by 16384.