#include <audiodrv.h>

Definition at line 36 of file audiodrv.h.
Public Member Functions | |
| AudioDriver (int mCap) | |
| virtual | ~AudioDriver () |
| virtual void | StartSpeaker () |
| virtual void | Open () |
| virtual void | Close () |
| virtual int | Write (short *, int) |
| virtual int | WriteSilence (int samples) |
| virtual int | msOutQueued () |
| virtual int | samplesOutSpaceRemaining () |
| virtual bool | anyMicrophoneData () |
| virtual int | Read (short *, int) |
Protected Attributes | |
| int | micCaptureSamples |
| AudioDriver::AudioDriver | ( | int | mCap | ) | [inline] |
Definition at line 39 of file audiodrv.h.
| virtual AudioDriver::~AudioDriver | ( | ) | [inline, virtual] |
Definition at line 40 of file audiodrv.h.
| virtual void AudioDriver::StartSpeaker | ( | ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 41 of file audiodrv.h.
Referenced by rtp::StreamInAudio().
| virtual void AudioDriver::Open | ( | void | ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 42 of file audiodrv.h.
Referenced by rtp::rtpAudioThreadWorker().
| virtual void AudioDriver::Close | ( | void | ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 43 of file audiodrv.h.
Referenced by rtp::rtpAudioThreadWorker().
| virtual int AudioDriver::Write | ( | short * | , | |
| int | ||||
| ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 44 of file audiodrv.h.
Referenced by rtp::PlayOutAudio(), and WriteSilence().
| int AudioDriver::WriteSilence | ( | int | samples | ) | [virtual] |
Definition at line 45 of file audiodrv.cpp.
Referenced by rtp::PlayOutAudio(), and rtp::StreamInAudio().
| virtual int AudioDriver::msOutQueued | ( | ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 46 of file audiodrv.h.
Referenced by rtp::isSpeakerHungry(), and rtp::measurePlayoutDelay().
| virtual int AudioDriver::samplesOutSpaceRemaining | ( | ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 47 of file audiodrv.h.
Referenced by rtp::isSpeakerHungry(), and rtp::StreamInAudio().
| virtual bool AudioDriver::anyMicrophoneData | ( | ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 48 of file audiodrv.h.
Referenced by rtp::rtpAudioThreadWorker().
| virtual int AudioDriver::Read | ( | short * | , | |
| int | ||||
| ) | [inline, virtual] |
Reimplemented in waveAudioDriver, dsAudioDriver, ossAudioDriver, and mythAudioDriver.
Definition at line 49 of file audiodrv.h.
Referenced by rtp::fillPacketfromMic().
int AudioDriver::micCaptureSamples [protected] |
Definition at line 49 of file audiodrv.h.
Referenced by mythAudioDriver::anyMicrophoneData(), ossAudioDriver::anyMicrophoneData(), dsAudioDriver::anyMicrophoneData(), AudioDriver(), dsAudioDriver::openMicrophone(), waveAudioDriver::openMicrophone(), mythAudioDriver::Read(), ossAudioDriver::Read(), dsAudioDriver::Read(), waveAudioDriver::Read(), and mythAudioDriver::samplesOutSpaceRemaining().
1.5.5