MythTV
master
|
#include <libmythtv/recorders/audioinputalsa.h>
Public Member Functions | |
AudioInputALSA (const QString &device) | |
~AudioInputALSA () override | |
bool | Open (uint sample_bits, uint sample_rate, uint channels) override |
bool | IsOpen (void) override |
void | Close (void) override |
bool | Start (void) override |
bool | Stop (void) override |
int | GetBlockSize (void) override |
int | GetSamples (void *buf, uint nbytes) override |
int | GetNumReadyBytes (void) override |
Public Member Functions inherited from AudioInput | |
virtual | ~AudioInput ()=default |
Private Member Functions | |
bool | PrepHwParams (void) |
bool | PrepSwParams (void) |
int | PcmRead (void *buf, uint nbytes) |
bool | Recovery (int err) |
bool | AlsaBad (int op_result, const QString &errmsg) |
Private Attributes | |
QByteArray | m_alsaDevice |
snd_pcm_t * | m_pcmHandle {nullptr} |
snd_pcm_uframes_t | m_periodSize {0} |
int | m_mythBlockBytes {0} |
Additional Inherited Members | |
Static Public Member Functions inherited from AudioInput | |
static AudioInput * | CreateDevice (const QByteArray &device) |
Protected Member Functions inherited from AudioInput | |
AudioInput (const QString &device) | |
Protected Attributes inherited from AudioInput | |
QByteArray | m_audioDevice |
int | m_audioChannels {0} |
int | m_audioSampleBits {0} |
int | m_audioSampleRate {0} |
Definition at line 33 of file audioinputalsa.h.
|
inlineexplicit |
Definition at line 36 of file audioinputalsa.h.
|
inlineoverride |
Definition at line 39 of file audioinputalsa.h.
Implements AudioInput.
Definition at line 28 of file audioinputalsa.cpp.
|
inlineoverridevirtual |
Implements AudioInput.
Definition at line 42 of file audioinputalsa.h.
|
overridevirtual |
Implements AudioInput.
Definition at line 57 of file audioinputalsa.cpp.
Referenced by ~AudioInputALSA().
|
inlineoverridevirtual |
|
overridevirtual |
Implements AudioInput.
Definition at line 67 of file audioinputalsa.cpp.
Referenced by Close(), and GetSamples().
|
inlineoverridevirtual |
Implements AudioInput.
Definition at line 50 of file audioinputalsa.h.
|
overridevirtual |
Implements AudioInput.
Definition at line 79 of file audioinputalsa.cpp.
|
overridevirtual |
Implements AudioInput.
Definition at line 113 of file audioinputalsa.cpp.
|
private |
Definition at line 134 of file audioinputalsa.cpp.
Referenced by Open().
|
private |
Definition at line 216 of file audioinputalsa.cpp.
Referenced by Open().
|
private |
Definition at line 241 of file audioinputalsa.cpp.
Referenced by GetSamples().
|
private |
Definition at line 302 of file audioinputalsa.cpp.
Referenced by PcmRead().
|
private |
Definition at line 338 of file audioinputalsa.cpp.
Referenced by Close(), GetNumReadyBytes(), GetSamples(), Open(), PcmRead(), PrepHwParams(), PrepSwParams(), and Stop().
|
private |
Definition at line 62 of file audioinputalsa.h.
Referenced by Open().
|
private |
Definition at line 63 of file audioinputalsa.h.
Referenced by Close(), GetNumReadyBytes(), GetSamples(), IsOpen(), Open(), PcmRead(), PrepHwParams(), PrepSwParams(), Recovery(), Start(), and Stop().
|
private |
Definition at line 64 of file audioinputalsa.h.
Referenced by PrepHwParams().
|
private |
Definition at line 65 of file audioinputalsa.h.
Referenced by GetBlockSize(), and PrepHwParams().