Inheritance diagram for WAVExport:


Public Member Functions | |
| bool | OpenAudio (char *output, int channels, int frequency, int bytespersample) |
| Open an audio output for WAV. | |
| bool | OutputAudioFrame (int16_t *data, int length) |
| Output an audio frame of the specified length. | |
| bool | CloseAudio () |
| Close the output. | |
Private Attributes | |
| WAVStruct | wav |
Definition at line 383 of file kino_av_pipe.cc.
|
|
Close the output.
Implements KinoAudioPipe. Definition at line 415 of file kino_av_pipe.cc. References sigpipe_clear(), sigpipe_get(), wav, and WAVStruct_Close(). 00416 {
00417 sigpipe_clear();
00418 WAVStruct_Close( wav );
00419 return sigpipe_get() == 0;
00420 }
|
|
||||||||||||||||||||
|
Open an audio output for WAV.
Implements KinoAudioPipe. Definition at line 396 of file kino_av_pipe.cc. References sigpipe_clear(), sigpipe_get(), wav, and WAVStruct_Init(). 00397 {
00398 sigpipe_clear();
00399 wav = WAVStruct_Init( output, channels, frequency, bytespersample );
00400 return wav != NULL && sigpipe_get() == 0;
00401 }
|
|
||||||||||||
|
Output an audio frame of the specified length.
Implements KinoAudioPipe. Definition at line 406 of file kino_av_pipe.cc. References sigpipe_clear(), sigpipe_get(), wav, and WAVStruct_WriteData(). 00407 {
00408 sigpipe_clear();
00409 return WAVStruct_WriteData( wav, data, length ) == 1 && sigpipe_get() == 0;
00410 }
|
|
|
Definition at line 386 of file kino_av_pipe.cc. Referenced by CloseAudio(), OpenAudio(), and OutputAudioFrame(). |
1.4.2