#include <audiooutputnull.h>
Public Member Functions | |
| AudioOutputNULL (const AudioSettings &settings) | |
| virtual | ~AudioOutputNULL () |
| virtual void | Reset (void) |
| Reset the audiobuffer, timecode and mythmusic visualisation. | |
| virtual int | GetVolumeChannel (int) const |
| virtual void | SetVolumeChannel (int, int) |
| virtual int | readOutputData (unsigned char *read_buffer, int max_length) |
Protected Member Functions | |
| virtual bool | OpenDevice (void) |
| virtual void | CloseDevice (void) |
| virtual void | WriteAudio (unsigned char *aubuf, int size) |
| virtual int | GetBufferedOnSoundcard (void) const |
| Return the size in bytes of frames currently in the audio buffer adjusted with the audio playback latency. | |
| virtual AudioOutputSettings * | GetOutputSettings (bool digital) |
Private Attributes | |
| QMutex | pcm_output_buffer_mutex |
| unsigned char | pcm_output_buffer [NULLAUDIO_OUTPUT_BUFFER_SIZE] |
| int | current_buffer_size |
Definition at line 21 of file audiooutputnull.h.
| AudioOutputNULL::AudioOutputNULL | ( | const AudioSettings & | settings | ) |
Definition at line 26 of file audiooutputnull.cpp.
| AudioOutputNULL::~AudioOutputNULL | ( | ) | [virtual] |
Definition at line 37 of file audiooutputnull.cpp.
| void AudioOutputNULL::Reset | ( | void | ) | [virtual] |
Reset the audiobuffer, timecode and mythmusic visualisation.
Reimplemented from AudioOutputBase.
Definition at line 119 of file audiooutputnull.cpp.
| virtual int AudioOutputNULL::GetVolumeChannel | ( | int | ) | const [inline, virtual] |
Implements VolumeBase.
Definition at line 32 of file audiooutputnull.h.
| virtual void AudioOutputNULL::SetVolumeChannel | ( | int | , | |
| int | ||||
| ) | [inline, virtual] |
Implements VolumeBase.
Definition at line 33 of file audiooutputnull.h.
| int AudioOutputNULL::readOutputData | ( | unsigned char * | read_buffer, | |
| int | max_length | |||
| ) | [virtual] |
Reimplemented from AudioOutputBase.
Definition at line 101 of file audiooutputnull.cpp.
| bool AudioOutputNULL::OpenDevice | ( | void | ) | [protected, virtual] |
Implements AudioOutputBase.
Definition at line 42 of file audiooutputnull.cpp.
| void AudioOutputNULL::CloseDevice | ( | void | ) | [protected, virtual] |
Implements AudioOutputBase.
Definition at line 52 of file audiooutputnull.cpp.
| void AudioOutputNULL::WriteAudio | ( | unsigned char * | aubuf, | |
| int | size | |||
| ) | [protected, virtual] |
Definition at line 84 of file audiooutputnull.cpp.
| int AudioOutputNULL::GetBufferedOnSoundcard | ( | void | ) | const [protected, virtual] |
Return the size in bytes of frames currently in the audio buffer adjusted with the audio playback latency.
Implements AudioOutputBase.
Definition at line 130 of file audiooutputnull.cpp.
| AudioOutputSettings * AudioOutputNULL::GetOutputSettings | ( | bool | digital | ) | [protected, virtual] |
Reimplemented from AudioOutputBase.
Definition at line 56 of file audiooutputnull.cpp.
QMutex AudioOutputNULL::pcm_output_buffer_mutex [private] |
Definition at line 46 of file audiooutputnull.h.
Referenced by readOutputData(), Reset(), and WriteAudio().
unsigned char AudioOutputNULL::pcm_output_buffer[NULLAUDIO_OUTPUT_BUFFER_SIZE] [private] |
Definition at line 47 of file audiooutputnull.h.
Referenced by AudioOutputNULL(), readOutputData(), and WriteAudio().
int AudioOutputNULL::current_buffer_size [private] |
Definition at line 48 of file audiooutputnull.h.
Referenced by GetBufferedOnSoundcard(), readOutputData(), Reset(), and WriteAudio().
1.6.3