Audio playback and recording
[Internal API functions]

Collaboration diagram for Audio playback and recording:
Internal interfaces for the audio playback and recording code. More...

Functions

void playrec_open (unsigned int numch)
 Initialise the playrec module.
void playrec_close ()
 Closes the playrec module.
void playrec_new_digit_record (int handle, char digit)
 Called by the MMQ when the DSP detects a digit event.
void playrec_new_digit_play (int handle, char digit)
 Called by the MMQ when the DSP detects a digit event.
void play_reset_hw_gain (int handle)
 Reset the hardware play gain to the configured default value.
void record_reset_hw_gain (int handle)
 Reset the hardware record gain to the configured default value.

Detailed Description

Internal interfaces for the audio playback and recording code.


Function Documentation

void playrec_new_digit_play ( int  handle,
char  digit 
)

Called by the MMQ when the DSP detects a digit event.

Causes a playback operation on handle to be terminated if digit is listed in its Play::term_digit field.

References Play::list, Audio::mutex, Audio::state, Audio::term_digits, VPB_AUDIO_PLAYING, and VPB_AUDIO_TERMINATE.

void playrec_new_digit_record ( int  handle,
char  digit 
)

Called by the MMQ when the DSP detects a digit event.

Causes a record operation on handle to be terminated if digit is listed in its Record::term_digit field.

References Record::list, Audio::mutex, Audio::state, Audio::term_digits, VPB_AUDIO_RECORDING, and VPB_AUDIO_TERMINATE.

void playrec_open ( unsigned int  numch  ) 


Generated on Sun Dec 20 17:45:41 2009 for libvpb by  doxygen 1.5.6