![]() |
µGFX
2.9
version 2.9
|
#include "../../gfx.h"
Go to the source code of this file.
Data Structures | |
struct | GEventAudioPlay_t |
The Audio play event structure. More... | |
struct | GEventAudioRecord_t |
The Audio record event structure. More... | |
Functions | |
gBool | gaudioPlayInit (gU16 channel, gU32 frequency, ArrayDataFormat format) |
Set the audio device to play on the specified channel and with the specified sample frequency. More... | |
void | gaudioPlay (GDataBuffer *paud) |
Play the specified sample data. More... | |
void | gaudioPlayPause (void) |
Pause any currently playing sounds. More... | |
void | gaudioPlayStop (void) |
Stop any currently playing sounds. More... | |
gBool | gaudioPlaySetVolume (gU8 vol) |
Set the output volume. More... | |
GSourceHandle | gaudioPlayGetSource (void) |
Turn on sending results to the GEVENT sub-system. More... | |
gBool | gaudioPlayWait (gDelay ms) |
Wait for any currently playing sounds to complete. More... | |
gBool | gaudioRecordInit (gU16 channel, gU32 frequency, ArrayDataFormat format) |
Initialise (but not start) the Audio Recording sub-system. More... | |
void | gaudioRecordStart (void) |
Start the audio recording. More... | |
void | gaudioRecordStop (void) |
Stop the audio recording. More... | |
GDataBuffer * | gaudioRecordGetData (gDelay ms) |
Get a filled audio buffer from the recording list. More... | |
GSourceHandle | gaudioRecordGetSource (void) |
Turn on sending results to the GEVENT sub-system. More... | |
Macros | |
#define | GAUDIO_PLAY_LOSTEVENT 0x0001 |
The event flag values. More... | |
#define | GAUDIO_PLAY_PLAYING 0x0002 |
The audio out system is currently playing. More... | |
#define | GAUDIO_PLAY_FREEBLOCK 0x0004 |
An audio buffer has been freed. More... | |
#define | GAUDIO_RECORD_LOSTEVENT 0x0001 |
The event flag values. More... | |
#define | GAUDIO_RECORD_RECORDING 0x0002 |
The audio recording system is currently recording. More... | |
#define | GAUDIO_RECORD_GOTBUFFER 0x0004 |
An audio buffer is ready for processing. More... | |
#define | GAUDIO_RECORD_STALL 0x0008 |
The recording process has stalled due to no free buffers. More... | |
Typedefs | |
typedef struct GEventAudioPlay_t | GEventAudioPlay |
The Audio play event structure. More... | |
typedef struct GEventAudioRecord_t | GEventAudioRecord |
The Audio record event structure. More... | |
#define GAUDIO_PLAY_FREEBLOCK 0x0004 |
#define GAUDIO_PLAY_LOSTEVENT 0x0001 |
#define GAUDIO_PLAY_PLAYING 0x0002 |
#define GAUDIO_RECORD_GOTBUFFER 0x0004 |
#define GAUDIO_RECORD_LOSTEVENT 0x0001 |
#define GAUDIO_RECORD_RECORDING 0x0002 |