|
MythTV master
|
#include <libmythtv/audio/audiooutputbase.h>
Public Member Functions | |
| AudioOutputBase (const AudioSettings &settings) | |
| ~AudioOutputBase () override | |
| Destructor. More... | |
| AudioOutputSettings * | GetOutputSettingsCleaned (bool digital=true) override |
| Returns capabilities supported by the audio device amended to take into account the digital audio options (AC3, DTS, E-AC3 and TrueHD) More... | |
| AudioOutputSettings * | GetOutputSettingsUsers (bool digital=false) override |
| Returns capabilities supported by the audio device amended to take into account the digital audio options (AC3, DTS, E-AC3 and TrueHD) as well as the user settings. More... | |
| void | Reconfigure (const AudioSettings &settings) override |
| (Re)Configure AudioOutputBase More... | |
| void | SetEffDsp (int dsprate) override |
| Set the effective DSP rate. More... | |
| void | SetStretchFactor (float factor) override |
| Set the timestretch factor. More... | |
| float | GetStretchFactor (void) const override |
| Get the timetretch factor. More... | |
| int | GetChannels (void) const override |
| AudioFormat | GetFormat (void) const override |
| int | GetBytesPerFrame (void) const override |
| bool | CanPassthrough (int samplerate, int channels, AVCodecID codec, int profile) const override |
| Test if we can output digital audio and if sample rate is supported. More... | |
| bool | CanDownmix (void) const override |
| bool | IsUpmixing (void) override |
| Source is currently being upmixed. More... | |
| bool | ToggleUpmix (void) override |
| Toggle between stereo and upmixed 5.1 if the source material is stereo. More... | |
| bool | CanUpmix (void) override |
| Upmixing of the current source is available if requested. More... | |
| bool | CanProcess (AudioFormat) override |
| uint32_t | CanProcess (void) override |
| void | Reset (void) override |
| Reset the audiobuffer, timecode and mythmusic visualisation. More... | |
| void | SetSWVolume (int new_volume, bool save) override |
| Set the volume for software volume control. More... | |
| int | GetSWVolume (void) override |
| Get the volume for software volume control. More... | |
| bool | AddFrames (void *buffer, int frames, std::chrono::milliseconds timecode) override |
| Add frames to the audiobuffer and perform any required processing. More... | |
| bool | AddData (void *buffer, int len, std::chrono::milliseconds timecode, int frames) override |
| Add data to the audiobuffer and perform any required processing. More... | |
| bool | NeedDecodingBeforePassthrough () const override |
| std::chrono::milliseconds | LengthLastData (void) const override |
| void | SetTimecode (std::chrono::milliseconds timecode) override |
| Set the timecode of the samples most recently added to the audiobuffer. More... | |
| bool | IsPaused (void) const override |
| void | Pause (bool paused) override |
| void | PauseUntilBuffered (void) override |
| void | Drain (void) override |
| Block until all available frames have been written to the device. More... | |
| std::chrono::milliseconds | GetAudiotime (void) override |
| Calculate the timecode of the samples that are about to become audible. More... | |
| std::chrono::milliseconds | GetAudioBufferedTime (void) override |
| Get the difference in timecode between the samples that are about to become audible and the samples most recently added to the audiobuffer, i.e. More... | |
| virtual void | Status (void) |
| Report status via an AudioOutput::Event. More... | |
| void | SetSourceBitrate (int rate) override |
| Set the bitrate of the source material, reported in periodic AudioOutput::Events. More... | |
| void | GetBufferStatus (uint &fill, uint &total) override |
| Fill in the number of bytes in the audiobuffer and the total size of the audiobuffer. More... | |
| void | bufferOutputData (bool y) override |
| int | readOutputData (unsigned char *read_buffer, size_t max_length) override |
| bool | has_optimized_SIMD () override |
| Returns true if the processor supports MythTV's optimized SIMD for AudioConvert. More... | |
Public Member Functions inherited from AudioOutput | |
| AudioOutput ()=default | |
| ~AudioOutput () override | |
| virtual void | Reconfigure (const AudioSettings &settings)=0 |
| bool | isConfigured () const |
| virtual void | SetStretchFactor (float factor) |
| virtual float | GetStretchFactor (void) const |
| virtual int | GetChannels (void) const |
| virtual AudioFormat | GetFormat (void) const |
| virtual int | GetBytesPerFrame (void) const |
| virtual AudioOutputSettings * | GetOutputSettingsCleaned (bool digital=true) |
| virtual AudioOutputSettings * | GetOutputSettingsUsers (bool digital=true) |
| virtual bool | CanPassthrough (int samplerate, int channels, AVCodecID codec, int profile) const |
| virtual bool | CanDownmix (void) const |
| virtual void | SetEffDsp (int dsprate)=0 |
| virtual void | Reset (void)=0 |
| virtual bool | AddFrames (void *buffer, int frames, std::chrono::milliseconds timecode)=0 |
| Add frames to the audiobuffer for playback. More... | |
| virtual bool | AddData (void *buffer, int len, std::chrono::milliseconds timecode, int frames)=0 |
| Add data to the audiobuffer for playback. More... | |
| virtual bool | NeedDecodingBeforePassthrough (void) const |
| virtual std::chrono::milliseconds | LengthLastData (void) const |
| virtual void | SetTimecode (std::chrono::milliseconds timecode)=0 |
| virtual bool | IsPaused (void) const =0 |
| virtual void | Pause (bool paused)=0 |
| virtual void | PauseUntilBuffered (void)=0 |
| virtual void | Drain (void)=0 |
| virtual std::chrono::milliseconds | GetAudiotime (void)=0 |
| virtual std::chrono::milliseconds | GetAudioBufferedTime (void) |
| report amount of audio buffered in milliseconds. More... | |
| virtual void | SetSourceBitrate (int) |
| virtual void | GetBufferStatus (uint &fill, uint &total) |
| virtual void | bufferOutputData (bool y)=0 |
| virtual int | readOutputData (unsigned char *read_buffer, size_t max_length)=0 |
| virtual bool | IsUpmixing (void) |
| virtual bool | ToggleUpmix (void) |
| virtual bool | CanUpmix (void) |
| bool | PulseStatus (void) const |
| virtual bool | CanProcess (AudioFormat fmt) |
| virtual uint32_t | CanProcess (void) |
| int | DecodeAudio (AVCodecContext *ctx, uint8_t *buffer, int &data_size, const AVPacket *pkt) |
| Utility routine. More... | |
| bool | hasVisual (void) |
| void | addVisual (Visualization *v) |
| void | removeVisual (Visualization *v) |
| bool | playPinkNoise (char *frames, int channels, int channel, int count, int bits) |
| Generates and plays pink noise from a speaker for testing. More... | |
| virtual bool | has_optimized_SIMD () |
| Event (Type type) | |
| Event (std::chrono::seconds s, unsigned long w, int b, int f, int p, int c) | |
| Event (QString e) | |
| ~Event () override=default | |
| QString | errorMessage () const |
| const std::chrono::seconds & | elapsedSeconds () const |
| const unsigned long & | writtenBytes () const |
| const int & | bitrate () const |
| const int & | frequency () const |
| const int & | precision () const |
| const int & | channels () const |
| MythEvent * | clone (void) const override |
| Event & | operator= (const Event &other)=delete |
| Event (Event &&)=delete | |
| Event & | operator= (Event &&)=delete |
Public Member Functions inherited from VolumeBase | |
| VolumeBase () | |
| virtual | ~VolumeBase ()=default |
| void | SWVolume (bool set) |
| bool | SWVolume (void) const |
| virtual uint | GetCurrentVolume (void) const |
| virtual void | SetCurrentVolume (int value) |
| virtual void | AdjustCurrentVolume (int change) |
| virtual void | ToggleMute (void) |
| virtual MuteState | GetMuteState (void) const |
| virtual MuteState | SetMuteState (MuteState) |
Public Member Functions inherited from MythObservable | |
| MythObservable () | |
| virtual | ~MythObservable () |
| void | addListener (QObject *listener) |
| Add a listener to the observable. More... | |
| void | removeListener (QObject *listener) |
| Remove a listener to the observable. More... | |
| void | dispatch (const MythEvent &event) |
| Dispatch an event to all listeners. More... | |
| bool | hasListeners (void) |
Public Member Functions inherited from MThread | |
| MThread (const QString &objectName) | |
| Standard constructor. More... | |
| MThread (const QString &objectName, QRunnable *runnable) | |
| Use this constructor if you want the default run() method to run the QRunnable's run() method instead of entering the Qt event loop. More... | |
| virtual | ~MThread () |
| MThread (const MThread &)=delete | |
| MThread & | operator= (const MThread &)=delete |
| void | RunProlog (void) |
| Sets up a thread, call this if you reimplement run(). More... | |
| void | RunEpilog (void) |
| Cleans up a thread's resources, call this if you reimplement run(). More... | |
| QThread * | qthread (void) |
| Returns the thread, this will always return the same pointer no matter how often you restart the thread. More... | |
| void | setObjectName (const QString &name) |
| QString | objectName (void) const |
| void | setPriority (QThread::Priority priority) |
| QThread::Priority | priority (void) const |
| bool | isFinished (void) const |
| bool | isRunning (void) const |
| void | setStackSize (uint stackSize) |
| uint | stackSize (void) const |
| void | exit (int retcode=0) |
| Use this to exit from the thread if you are using a Qt event loop. More... | |
| void | start (QThread::Priority p=QThread::InheritPriority) |
| Tell MThread to start running the thread in the near future. More... | |
| void | terminate (void) |
| Kill a thread unsafely. More... | |
| void | quit (void) |
| calls exit(0) More... | |
| bool | wait (std::chrono::milliseconds time=std::chrono::milliseconds::max()) |
| Wait for the MThread to exit, with a maximum timeout. More... | |
Static Public Member Functions | |
| static const char * | quality_string (int q) |
Static Public Member Functions inherited from AudioOutput | |
| static void | Cleanup (void) |
| static ADCVect * | GetOutputList (void) |
| static AudioDeviceConfig * | GetAudioDeviceConfig (QString &name, const QString &desc, bool willsuspendpa=false) |
| static AudioOutput * | OpenAudio (const QString &main_device, const QString &passthru_device, AudioFormat format, int channels, AVCodecID codec, int samplerate, AudioOutputSource source, bool set_initial_vol, bool passthru, int upmixer_startup=0, AudioOutputSettings *custom=nullptr) |
| static AudioOutput * | OpenAudio (AudioSettings &settings, bool willsuspendpa=true) |
| static AudioOutput * | OpenAudio (const QString &main_device, const QString &passthru_device=QString(), bool willsuspendpa=true) |
Static Public Member Functions inherited from VolumeBase | |
| static MuteState | NextMuteState (MuteState) |
Static Public Member Functions inherited from MThread | |
| static void | ThreadSetup (const QString &name) |
| This is to be called on startup in those few threads that haven't been ported to MThread. More... | |
| static void | ThreadCleanup (void) |
| This is to be called on exit in those few threads that haven't been ported to MThread. More... | |
| static void | Cleanup (void) |
| This will print out all the running threads, call exit(1) on each and then wait up to 5 seconds total for all the threads to exit. More... | |
| static void | GetAllThreadNames (QStringList &list) |
| static void | GetAllRunningThreadNames (QStringList &list) |
Static Public Attributes | |
| static const uint | kAudioSRCInputSize = 16384 |
| static const uint | kAudioRingBufferSize = 10239936U |
| Audio Buffer Size – should be divisible by 32,24,16,12,10,8,6,4,2.. More... | |
Static Public Attributes inherited from AudioOutput | |
| static const int | kMaxSizeBuffer = 384000 |
| kMaxSizeBuffer is the maximum size of a buffer to be used with DecodeAudio More... | |
| static const QEvent::Type | kPlaying {static_cast<QEvent::Type>(QEvent::registerEventType())} |
| static const QEvent::Type | kBuffering {static_cast<QEvent::Type>(QEvent::registerEventType())} |
| static const QEvent::Type | kInfo {static_cast<QEvent::Type>(QEvent::registerEventType())} |
| static const QEvent::Type | kPaused {static_cast<QEvent::Type>(QEvent::registerEventType())} |
| static const QEvent::Type | kStopped {static_cast<QEvent::Type>(QEvent::registerEventType())} |
| static const QEvent::Type | kError {static_cast<QEvent::Type>(QEvent::registerEventType())} |
Protected Types | |
| enum | : std::int8_t { QUALITY_DISABLED = -1 , QUALITY_LOW = 0 , QUALITY_MEDIUM = 1 , QUALITY_HIGH = 2 } |
Protected Member Functions | |
| void | InitSettings (const AudioSettings &settings) |
| virtual bool | OpenDevice (void)=0 |
| virtual void | CloseDevice (void)=0 |
| virtual void | WriteAudio (unsigned char *aubuf, int size)=0 |
| virtual int | GetBufferedOnSoundcard (void) const =0 |
| Return the size in bytes of frames currently in the audio buffer adjusted with the audio playback latency. More... | |
| virtual AudioOutputSettings * | GetOutputSettings (bool) |
| void | KillAudio (void) |
| Kill the output thread and cleanup. More... | |
| virtual bool | StartOutputThread (void) |
| virtual void | StopOutputThread (void) |
| int | GetAudioData (uchar *buffer, int buf_size, bool full_buffer, volatile uint *local_raud=nullptr) |
| Copy frames from the audiobuffer into the buffer provided. More... | |
| void | OutputAudioLoop (void) |
| Run in the output thread, write frames to the output device as they become available and there's space in the device buffer to write them. More... | |
| void | run () override |
| Main routine for the output thread. More... | |
| int | CheckFreeSpace (int &frames) |
| Check that there's enough space in the audiobuffer to write the provided number of frames. More... | |
| int | audiolen () const |
| Get the number of bytes in the audiobuffer. More... | |
| int | audiofree () const |
| Get the free space in the audiobuffer in bytes. More... | |
| int | audioready () const |
| Get the scaled number of bytes in the audiobuffer, i.e. More... | |
| void | SetStretchFactorLocked (float factor) |
| Set the timestretch factor. More... | |
| std::chrono::milliseconds | GetBaseAudBufTimeCode () const |
| bool | usesSpdif () const |
Protected Member Functions inherited from AudioOutput | |
| void | dispatchError (const QString &e) |
| void | dispatchVisual (uchar *b, unsigned long b_len, std::chrono::milliseconds timecode, int chan, int prec) |
| void | prepareVisuals () |
Protected Member Functions inherited from VolumeBase | |
| virtual int | GetVolumeChannel (int channel) const =0 |
| virtual void | SetVolumeChannel (int channel, int volume)=0 |
| virtual void | SetSWVolume (int new_volume, bool save)=0 |
| virtual int | GetSWVolume (void)=0 |
| void | UpdateVolume (void) |
| void | SyncVolume (void) |
| void | SetChannels (int new_channels) |
Protected Member Functions inherited from MThread | |
| virtual void | run (void) |
| Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. More... | |
| int | exec (void) |
| Enters the qt event loop. call exit or quit to exit thread. More... | |
Private Member Functions | |
| bool | SetupPassthrough (AVCodecID codec, int codec_profile, int &samplerate_tmp, int &channels_tmp) |
| AudioOutputSettings * | OutputSettings (bool digital=true) |
| int | CopyWithUpmix (char *buffer, int frames, uint &org_waud) |
| Copy frames into the audiobuffer, upmixing en route if necessary. More... | |
| void | SetAudiotime (int frames, std::chrono::milliseconds timecode) |
| Set the timecode of the top of the ringbuffer Exclude all other processing elements as they dont vary between AddData calls. More... | |
Private Attributes | |
| AudioOutputSettings * | m_outputSettingsRaw {nullptr} |
| AudioOutputSettings * | m_outputSettings {nullptr} |
| AudioOutputSettings * | m_outputSettingsDigitalRaw {nullptr} |
| AudioOutputSettings * | m_outputSettingsDigital {nullptr} |
| bool | m_needResampler {false} |
| SRC_STATE * | m_srcCtx {nullptr} |
| soundtouch::SoundTouch * | m_pSoundStretch {nullptr} |
| AudioOutputDigitalEncoder * | m_encoder {nullptr} |
| FreeSurround * | m_upmixer {nullptr} |
| int | m_sourceChannels {-1} |
| int | m_sourceBytesPerFrame {0} |
| bool | m_upmixDefault {false} |
| bool | m_needsUpmix {false} |
| bool | m_needsDownmix {false} |
| int | m_surroundMode {QUALITY_LOW} |
| float | m_oldStretchFactor {1.0F} |
| int | m_volume {80} |
| QString | m_volumeControl |
| bool | m_processing {false} |
| int64_t | m_framesBuffered {0} |
| bool | m_audioThreadExists {false} |
| QMutex | m_audioBufLock |
| Writes to the audiobuffer, reconfigures and audiobuffer resets can only take place while holding this lock. More... | |
| QMutex | m_avsyncLock |
| must hold avsync_lock to read or write 'audiotime' and 'audiotime_updated' More... | |
| std::chrono::milliseconds | m_audioTime {0ms} |
| timecode of audio leaving the soundcard (same units as timecodes) More... | |
| volatile uint | m_raud {0} |
| Audio circular buffer. More... | |
| volatile uint | m_waud {0} |
| std::chrono::milliseconds | m_audbufTimecode {0ms} |
| timecode of audio most recently placed into buffer More... | |
| AsyncLooseLock | m_resetActive |
| QMutex | m_killAudioLock |
| std::chrono::seconds | m_currentSeconds {-1s} |
| float * | m_srcIn |
| SRC_DATA | m_srcData {} |
| uint | m_memoryCorruptionTest0 {0xdeadbeef} |
| std::array< float, kAudioSRCInputSize > | m_srcInBuf {} |
| uint | m_memoryCorruptionTest1 {0xdeadbeef} |
| float * | m_srcOut {nullptr} |
| int | m_kAudioSRCOutputSize {0} |
| uint | m_memoryCorruptionTest2 {0xdeadbeef} |
| std::array< uchar, kAudioRingBufferSize > | m_audioBuffer {0} |
| main audio buffer More... | |
| uint | m_memoryCorruptionTest3 {0xdeadbeef} |
| std::chrono::milliseconds | m_lengthLastData {0ms} |
| bool | m_usesSpdif {true} |
| SPDIFEncoder * | m_spdifEnc {nullptr} |
| bool | m_forcedProcessing {false} |
| int | m_previousBpf {0} |
Additional Inherited Members | |
Public Types inherited from AudioOutput | |
| using | ADCVect = QVector< AudioDeviceConfig > |
Static Protected Member Functions inherited from MThread | |
| static void | setTerminationEnabled (bool enabled=true) |
| static void | usleep (std::chrono::microseconds time) |
| template<typename R , typename P > | |
| static std::enable_if_t< std::chrono::treat_as_floating_point< R >::value, void > | usleep (std::chrono::duration< R, P > time) |
Definition at line 41 of file audiooutputbase.h.
|
protected |
| Enumerator | |
|---|---|
| QUALITY_DISABLED | |
| QUALITY_LOW | |
| QUALITY_MEDIUM | |
| QUALITY_HIGH | |
Definition at line 200 of file audiooutputbase.h.
|
explicit |
Definition at line 391 of file audiooutputbase.cpp.
|
override |
Destructor.
You must kill the output thread via KillAudio() prior to destruction
Definition at line 419 of file audiooutputbase.cpp.
|
overridevirtual |
Add data to the audiobuffer and perform any required processing.
Returns false if there's not enough space right now
Implements AudioOutput.
Definition at line 1654 of file audiooutputbase.cpp.
Referenced by AudioOutputAudioTrack::AddData(), and AddFrames().
|
overridevirtual |
Add frames to the audiobuffer and perform any required processing.
Returns false if there's not enough space right now
Implements AudioOutput.
Definition at line 1642 of file audiooutputbase.cpp.
|
protected |
Get the free space in the audiobuffer in bytes.
Definition at line 1329 of file audiooutputbase.cpp.
Referenced by AddData(), CheckFreeSpace(), and GetBufferStatus().
|
inlineprotected |
Get the number of bytes in the audiobuffer.
Definition at line 1319 of file audiooutputbase.cpp.
Referenced by audiofree(), and audioready().
|
protected |
Get the scaled number of bytes in the audiobuffer, i.e.
the number of samples * the output bytes per sample
This value can differ from that returned by audiolen if samples are being converted to floats and the output sample format is not 32 bits
Definition at line 1344 of file audiooutputbase.cpp.
Referenced by AddData(), Drain(), GetAudioData(), GetAudiotime(), AudioOutputCA::GetAudiotime(), and OutputAudioLoop().
|
inlineoverridevirtual |
Implements AudioOutput.
Definition at line 108 of file audiooutputbase.h.
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
Definition at line 67 of file audiooutputbase.h.
|
overridevirtual |
Test if we can output digital audio and if sample rate is supported.
Reimplemented from AudioOutput.
Definition at line 538 of file audiooutputbase.cpp.
|
inlineoverridevirtual |
| fmt | The audio format in question. return true if class can handle AudioFormat All AudioOutput derivative must be able to handle S16 |
Reimplemented from AudioOutput.
Definition at line 71 of file audiooutputbase.h.
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
Definition at line 72 of file audiooutputbase.h.
|
overridevirtual |
Upmixing of the current source is available if requested.
Reimplemented from AudioOutput.
Definition at line 729 of file audiooutputbase.cpp.
|
protected |
Check that there's enough space in the audiobuffer to write the provided number of frames.
If there is not enough space, set 'frames' to the number that will fit
Returns the number of bytes that the frames will take up
Definition at line 1521 of file audiooutputbase.cpp.
Referenced by AddData(), and CopyWithUpmix().
|
protectedpure virtual |
Implemented in AudioOutputALSA, AudioOutputAudioTrack, AudioOutputCA, AudioOutputDX, AudioOutputJACK, AudioOutputNULL, AudioOutputOpenSLES, AudioOutputOSS, AudioOutputPulseAudio, and AudioOutputWin.
Referenced by KillAudio().
|
private |
Copy frames into the audiobuffer, upmixing en route if necessary.
Returns the number of frames written, which may be less than requested if the upmixer buffered some (or all) of them
Definition at line 1556 of file audiooutputbase.cpp.
Referenced by AddData().
|
overridevirtual |
Block until all available frames have been written to the device.
Implements AudioOutput.
Reimplemented in AudioOutputPulseAudio.
Definition at line 2163 of file audiooutputbase.cpp.
Referenced by AudioOutputPulseAudio::Drain().
|
overridevirtual |
Get the difference in timecode between the samples that are about to become audible and the samples most recently added to the audiobuffer, i.e.
the time in ms representing the sum total of buffered samples
Reimplemented from AudioOutput.
Definition at line 1486 of file audiooutputbase.cpp.
|
protected |
Copy frames from the audiobuffer into the buffer provided.
If 'full_buffer' is true we copy either 'size' bytes (if available) or nothing. Otherwise, we'll copy less than 'size' bytes if that's all that's available. Returns the number of bytes copied.
Definition at line 2076 of file audiooutputbase.cpp.
Referenced by AudioOutputJACK::JackCallback(), OutputAudioLoop(), and AudioOutputCA::RenderAudio().
|
overridevirtual |
Calculate the timecode of the samples that are about to become audible.
Implements AudioOutput.
Reimplemented in AudioOutputCA.
Definition at line 1354 of file audiooutputbase.cpp.
Referenced by GetAudioBufferedTime(), OutputAudioLoop(), SetAudiotime(), and Status().
|
inlineprotected |
Definition at line 159 of file audiooutputbase.h.
Referenced by AudioOutputCA::GetAudiotime().
|
protectedpure virtual |
Return the size in bytes of frames currently in the audio buffer adjusted with the audio playback latency.
Implemented in AudioOutputALSA, AudioOutputAudioTrack, AudioOutputCA, AudioOutputDX, AudioOutputJACK, AudioOutputNULL, AudioOutputOpenSLES, AudioOutputOSS, AudioOutputPulseAudio, and AudioOutputWin.
Referenced by GetAudiotime().
Fill in the number of bytes in the audiobuffer and the total size of the audiobuffer.
Reimplemented from AudioOutput.
Definition at line 1972 of file audiooutputbase.cpp.
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
Definition at line 62 of file audiooutputbase.h.
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
Definition at line 60 of file audiooutputbase.h.
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
Definition at line 61 of file audiooutputbase.h.
|
inlineprotectedvirtual |
Reimplemented in AudioOutputAudioTrack, AudioOutputCA, AudioOutputJACK, AudioOutputNULL, AudioOutputOpenSLES, AudioOutputOSS, AudioOutputPulseAudio, AudioOutputWin, AudioOutputALSA, and AudioOutputDX.
Definition at line 134 of file audiooutputbase.h.
Referenced by GetOutputSettingsCleaned().
|
overridevirtual |
Returns capabilities supported by the audio device amended to take into account the digital audio options (AC3, DTS, E-AC3 and TrueHD)
Reimplemented from AudioOutput.
Definition at line 481 of file audiooutputbase.cpp.
Referenced by GetOutputSettingsUsers().
|
overridevirtual |
Returns capabilities supported by the audio device amended to take into account the digital audio options (AC3, DTS, E-AC3 and TrueHD) as well as the user settings.
Reimplemented from AudioOutput.
Definition at line 512 of file audiooutputbase.cpp.
Referenced by InitSettings().
|
overridevirtual |
Get the timetretch factor.
Reimplemented from AudioOutput.
Definition at line 695 of file audiooutputbase.cpp.
|
overridevirtual |
Get the volume for software volume control.
Implements VolumeBase.
Definition at line 1508 of file audiooutputbase.cpp.
|
overridevirtual |
Returns true if the processor supports MythTV's optimized SIMD for AudioConvert.
Currently, only SSE2 is implemented.
Reimplemented from AudioOutput.
Definition at line 273 of file audiooutputbase.cpp.
|
protected |
Definition at line 445 of file audiooutputbase.cpp.
Referenced by AudioOutputALSA::AudioOutputALSA(), AudioOutputAudioTrack::AudioOutputAudioTrack(), AudioOutputCA::AudioOutputCA(), AudioOutputDX::AudioOutputDX(), AudioOutputJACK::AudioOutputJACK(), AudioOutputNULL::AudioOutputNULL(), AudioOutputOpenSLES::AudioOutputOpenSLES(), AudioOutputOSS::AudioOutputOSS(), AudioOutputPulseAudio::AudioOutputPulseAudio(), and AudioOutputWin::AudioOutputWin().
|
inlineoverridevirtual |
Implements AudioOutput.
Definition at line 90 of file audiooutputbase.h.
|
overridevirtual |
Source is currently being upmixed.
Reimplemented from AudioOutput.
Definition at line 703 of file audiooutputbase.cpp.
Referenced by ToggleUpmix().
|
protected |
Kill the output thread and cleanup.
Definition at line 1196 of file audiooutputbase.cpp.
Referenced by Reconfigure(), AudioOutputALSA::~AudioOutputALSA(), AudioOutputAudioTrack::~AudioOutputAudioTrack(), AudioOutputCA::~AudioOutputCA(), AudioOutputDX::~AudioOutputDX(), AudioOutputJACK::~AudioOutputJACK(), AudioOutputNULL::~AudioOutputNULL(), AudioOutputOpenSLES::~AudioOutputOpenSLES(), AudioOutputOSS::~AudioOutputOSS(), AudioOutputPulseAudio::~AudioOutputPulseAudio(), and AudioOutputWin::~AudioOutputWin().
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
Definition at line 87 of file audiooutputbase.h.
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
Definition at line 86 of file audiooutputbase.h.
|
protectedpure virtual |
Implemented in AudioOutputALSA, AudioOutputAudioTrack, AudioOutputCA, AudioOutputDX, AudioOutputJACK, AudioOutputNULL, AudioOutputOpenSLES, AudioOutputOSS, AudioOutputPulseAudio, and AudioOutputWin.
Referenced by Reconfigure().
|
protected |
Run in the output thread, write frames to the output device as they become available and there's space in the device buffer to write them.
Definition at line 1983 of file audiooutputbase.cpp.
Referenced by run().
|
private |
Definition at line 786 of file audiooutputbase.cpp.
Referenced by Reconfigure().
|
overridevirtual |
Implements AudioOutput.
Definition at line 1238 of file audiooutputbase.cpp.
Referenced by AddData(), AudioOutputAudioTrack::Pause(), and PauseUntilBuffered().
|
overridevirtual |
Implements AudioOutput.
Definition at line 1250 of file audiooutputbase.cpp.
|
static |
Definition at line 379 of file audiooutputbase.cpp.
Referenced by AudioOutputBase(), and Reconfigure().
|
overridevirtual |
Implements AudioOutput.
Reimplemented in AudioOutputNULL.
Definition at line 2188 of file audiooutputbase.cpp.
|
overridevirtual |
(Re)Configure AudioOutputBase
Must be called from concrete subclasses
Implements AudioOutput.
Definition at line 798 of file audiooutputbase.cpp.
Referenced by AudioOutputALSA::AudioOutputALSA(), AudioOutputAudioTrack::AudioOutputAudioTrack(), AudioOutputCA::AudioOutputCA(), AudioOutputDX::AudioOutputDX(), AudioOutputJACK::AudioOutputJACK(), AudioOutputNULL::AudioOutputNULL(), AudioOutputOpenSLES::AudioOutputOpenSLES(), AudioOutputOSS::AudioOutputOSS(), AudioOutputPulseAudio::AudioOutputPulseAudio(), AudioOutputWin::AudioOutputWin(), and ToggleUpmix().
|
overridevirtual |
Reset the audiobuffer, timecode and mythmusic visualisation.
Implements AudioOutput.
Reimplemented in AudioOutputNULL.
Definition at line 1260 of file audiooutputbase.cpp.
Referenced by PauseUntilBuffered(), and AudioOutputNULL::Reset().
|
overrideprotectedvirtual |
Main routine for the output thread.
Reimplemented from MThread.
Definition at line 2179 of file audiooutputbase.cpp.
|
private |
Set the timecode of the top of the ringbuffer Exclude all other processing elements as they dont vary between AddData calls.
Definition at line 1436 of file audiooutputbase.cpp.
Referenced by AddData().
|
overridevirtual |
Set the effective DSP rate.
Equal to 100 * samples per second NuppelVideo sets this every sync frame to achieve av sync
Implements AudioOutput.
Definition at line 1310 of file audiooutputbase.cpp.
|
overridevirtual |
Set the bitrate of the source material, reported in periodic AudioOutput::Events.
Reimplemented from AudioOutput.
Definition at line 600 of file audiooutputbase.cpp.
Referenced by AudioOutputAudioTrack::SetSourceBitrate().
|
overridevirtual |
Set the timestretch factor.
Reimplemented from AudioOutput.
Definition at line 686 of file audiooutputbase.cpp.
|
protected |
Set the timestretch factor.
You must hold the audio_buflock to call this safely
Definition at line 611 of file audiooutputbase.cpp.
Referenced by Reconfigure(), and SetStretchFactor().
|
overridevirtual |
Set the volume for software volume control.
Implements VolumeBase.
Definition at line 1498 of file audiooutputbase.cpp.
|
overridevirtual |
Set the timecode of the samples most recently added to the audiobuffer.
Used by mythmusic for seeking since it doesn't provide timecodes to AddData()
Implements AudioOutput.
Definition at line 1298 of file audiooutputbase.cpp.
|
private |
Definition at line 738 of file audiooutputbase.cpp.
Referenced by Reconfigure().
|
protectedvirtual |
Reimplemented in AudioOutputAudioTrack, AudioOutputCA, and AudioOutputJACK.
Definition at line 1172 of file audiooutputbase.cpp.
Referenced by Reconfigure(), and AudioOutputAudioTrack::StartOutputThread().
|
virtual |
Report status via an AudioOutput::Event.
Definition at line 1948 of file audiooutputbase.cpp.
Referenced by AudioOutputJACK::JackCallback(), and OutputAudioLoop().
|
protectedvirtual |
Reimplemented in AudioOutputAudioTrack, AudioOutputCA, and AudioOutputJACK.
Definition at line 1184 of file audiooutputbase.cpp.
Referenced by KillAudio(), and AudioOutputAudioTrack::StopOutputThread().
|
overridevirtual |
Toggle between stereo and upmixed 5.1 if the source material is stereo.
Reimplemented from AudioOutput.
Definition at line 711 of file audiooutputbase.cpp.
|
inlineprotected |
Definition at line 162 of file audiooutputbase.h.
Referenced by GetAudiotime().
|
protectedpure virtual |
Implemented in AudioOutputALSA, AudioOutputAudioTrack, AudioOutputCA, AudioOutputJACK, AudioOutputNULL, AudioOutputOpenSLES, AudioOutputOSS, AudioOutputPulseAudio, AudioOutputWin, and AudioOutputDX.
Referenced by OutputAudioLoop().
|
static |
Audio Buffer Size – should be divisible by 32,24,16,12,10,8,6,4,2..
Definition at line 116 of file audiooutputbase.h.
Referenced by AddData(), audiofree(), audiolen(), CopyWithUpmix(), GetAudioData(), and GetBufferStatus().
|
static |
Definition at line 112 of file audiooutputbase.h.
Referenced by AddData(), and Reconfigure().
Definition at line 192 of file audiooutputbase.h.
Referenced by IsPaused(), AudioOutputJACK::JackCallback(), OutputAudioLoop(), Pause(), Reconfigure(), AudioOutputCA::RenderAudio(), SetStretchFactorLocked(), and AudioOutputAudioTrack::WriteAudio().
|
private |
timecode of audio most recently placed into buffer
Definition at line 268 of file audiooutputbase.h.
Referenced by GetAudioBufferedTime(), GetAudiotime(), GetBaseAudBufTimeCode(), Reconfigure(), Reset(), SetAudiotime(), SetStretchFactorLocked(), and SetTimecode().
|
private |
|
private |
Writes to the audiobuffer, reconfigures and audiobuffer resets can only take place while holding this lock.
Definition at line 247 of file audiooutputbase.h.
Referenced by AddData(), Drain(), KillAudio(), Reconfigure(), Reset(), and SetStretchFactor().
Definition at line 241 of file audiooutputbase.h.
Referenced by StartOutputThread(), and StopOutputThread().
|
private |
timecode of audio leaving the soundcard (same units as timecodes)
Definition at line 258 of file audiooutputbase.h.
Referenced by GetAudiotime(), OutputAudioLoop(), Reconfigure(), Reset(), SetAudiotime(), SetStretchFactorLocked(), and SetTimecode().
|
private |
must hold avsync_lock to read or write 'audiotime' and 'audiotime_updated'
Definition at line 253 of file audiooutputbase.h.
Referenced by GetAudiotime(), Reconfigure(), and Reset().
Definition at line 196 of file audiooutputbase.h.
Referenced by bufferOutputData(), AudioOutputNULL::GetBufferedOnSoundcard(), AudioOutputNULL::Reset(), and AudioOutputNULL::WriteAudio().
|
protected |
Definition at line 168 of file audiooutputbase.h.
Referenced by AddData(), audioready(), CheckFreeSpace(), CopyWithUpmix(), GetAudiotime(), Reconfigure(), SetStretchFactorLocked(), and AudioOutputOpenSLES::StartPlayer().
|
protected |
Definition at line 166 of file audiooutputbase.h.
Referenced by AudioOutputPulseAudio::ConnectPlaybackStream(), AudioOutputJACK::DeinterleaveAudio(), GetChannels(), AudioOutputJACK::JackCallback(), AudioOutputJACK::JackConnectPorts(), AudioOutputJACK::JackGraphOrderCallback(), CoreAudioData::OpenAnalog(), AudioOutputALSA::OpenDevice(), AudioOutputAudioTrack::OpenDevice(), AudioOutputJACK::OpenDevice(), AudioOutputOSS::OpenDevice(), AudioOutputPulseAudio::OpenDevice(), AudioOutputWin::OpenDevice(), AudioOutputALSA::OpenMixer(), Reconfigure(), AudioOutputCA::RenderAudio(), and AudioOutputALSA::WriteAudio().
|
protected |
Definition at line 167 of file audiooutputbase.h.
Referenced by AudioOutputAudioTrack::OpenDevice(), Reconfigure(), and ToggleUpmix().
|
protected |
Definition at line 198 of file audiooutputbase.h.
Referenced by AddData(), GetAudioData(), InitSettings(), Reconfigure(), and SetStretchFactorLocked().
|
private |
Definition at line 273 of file audiooutputbase.h.
Referenced by Reconfigure(), Reset(), and Status().
Definition at line 179 of file audiooutputbase.h.
Referenced by AudioOutputALSA::AudioOutputALSA(), AudioOutputDX::AudioOutputDX(), AudioOutputALSA::GetOutputSettings(), GetOutputSettingsCleaned(), GetOutputSettingsUsers(), and AudioOutputALSA::TryOpenDevice().
|
protected |
Definition at line 173 of file audiooutputbase.h.
Referenced by GetAudiotime(), AudioOutputCA::GetAudiotime(), Reconfigure(), AudioOutputCA::RenderAudio(), SetAudiotime(), and SetEffDsp().
|
protected |
Definition at line 186 of file audiooutputbase.h.
Referenced by GetAudiotime(), SetAudiotime(), and SetStretchFactorLocked().
Definition at line 182 of file audiooutputbase.h.
Referenced by audioready(), GetAudioData(), GetAudiotime(), KillAudio(), AudioOutputALSA::OpenDevice(), AudioOutputAudioTrack::OpenDevice(), AudioOutputCA::OpenDevice(), AudioOutputWin::OpenDevice(), Reconfigure(), and AudioOutputAudioTrack::SetSourceBitrate().
|
private |
Definition at line 224 of file audiooutputbase.h.
Referenced by AddData(), KillAudio(), Reconfigure(), Reset(), and SetAudiotime().
Definition at line 297 of file audiooutputbase.h.
Referenced by Reconfigure(), and SetStretchFactorLocked().
|
protected |
Definition at line 170 of file audiooutputbase.h.
Referenced by AddData(), CopyWithUpmix(), GetFormat(), Reconfigure(), Status(), and ToggleUpmix().
|
protected |
Definition at line 174 of file audiooutputbase.h.
Referenced by AddData(), AudioOutputPulseAudio::ConnectPlaybackStream(), Drain(), AudioOutputJACK::GetBufferedOnSoundcard(), AudioOutputOpenSLES::GetBufferedOnSoundcard(), AudioOutputWin::GetBufferedOnSoundcard(), AudioOutputJACK::JackCallback(), AudioOutputJACK::JackXRunCallback(), AudioOutputAudioTrack::OpenDevice(), AudioOutputJACK::OpenDevice(), AudioOutputNULL::OpenDevice(), AudioOutputOpenSLES::OpenDevice(), AudioOutputOSS::OpenDevice(), AudioOutputWin::OpenDevice(), OutputAudioLoop(), Reconfigure(), AudioOutputALSA::SetParameters(), and AudioOutputOpenSLES::WriteAudio().
|
private |
Definition at line 239 of file audiooutputbase.h.
Referenced by AddData(), Reconfigure(), Reset(), SetStretchFactorLocked(), and SetTimecode().
|
private |
Definition at line 283 of file audiooutputbase.h.
Referenced by Reconfigure(), and ~AudioOutputBase().
Definition at line 189 of file audiooutputbase.h.
Referenced by AudioOutputJACK::JackCallback(), KillAudio(), OutputAudioLoop(), Reconfigure(), AudioOutputCA::RenderAudio(), and ~AudioOutputBase().
|
private |
Definition at line 271 of file audiooutputbase.h.
Referenced by KillAudio().
|
private |
Definition at line 290 of file audiooutputbase.h.
Referenced by AddData(), and LengthLastData().
|
protected |
Definition at line 177 of file audiooutputbase.h.
Referenced by AudioOutputALSA::AudioOutputALSA(), AudioOutputBase(), AudioOutputCA::AudioOutputCA(), AudioOutputDX::AudioOutputDX(), AudioOutputPulseAudio::ChooseHost(), AudioOutputOSS::GetOutputSettings(), AudioOutputALSA::GetOutputSettings(), AudioOutputDXPrivate::InitDirectSound(), AudioOutputJACK::JackGetPorts(), AudioOutputJACK::OpenDevice(), AudioOutputOSS::OpenDevice(), Reconfigure(), AudioOutputALSA::TryOpenDevice(), and AudioOutputOSS::WriteAudio().
|
protected |
Definition at line 199 of file audiooutputbase.h.
Referenced by CanPassthrough(), InitSettings(), Reconfigure(), and ToggleUpmix().
|
private |
Definition at line 279 of file audiooutputbase.h.
Referenced by ~AudioOutputBase().
|
private |
Definition at line 281 of file audiooutputbase.h.
Referenced by ~AudioOutputBase().
|
private |
Definition at line 284 of file audiooutputbase.h.
Referenced by ~AudioOutputBase().
|
private |
Definition at line 289 of file audiooutputbase.h.
Referenced by ~AudioOutputBase().
Definition at line 221 of file audiooutputbase.h.
Referenced by AddData(), KillAudio(), and Reconfigure().
Definition at line 231 of file audiooutputbase.h.
Referenced by AddData(), Reconfigure(), and SetStretchFactorLocked().
Definition at line 230 of file audiooutputbase.h.
Referenced by AddData(), CopyWithUpmix(), IsUpmixing(), KillAudio(), Reconfigure(), Reset(), SetAudiotime(), and SetStretchFactorLocked().
|
private |
Definition at line 233 of file audiooutputbase.h.
Referenced by KillAudio(), and Reconfigure().
|
protected |
Definition at line 169 of file audiooutputbase.h.
Referenced by audioready(), AudioOutputPulseAudio::ConnectPlaybackStream(), GetAudiotime(), AudioOutputCA::GetAudiotime(), AudioOutputALSA::GetBufferedOnSoundcard(), AudioOutputJACK::GetBufferedOnSoundcard(), AudioOutputPulseAudio::GetBufferedOnSoundcard(), AudioOutputJACK::JackCallback(), AudioOutputJACK::JackXRunCallback(), CoreAudioData::OpenAnalog(), AudioOutputAudioTrack::OpenDevice(), AudioOutputJACK::OpenDevice(), AudioOutputOpenSLES::OpenDevice(), AudioOutputOSS::OpenDevice(), AudioOutputWin::OpenDevice(), OutputAudioLoop(), Reconfigure(), AudioOutputCA::RenderAudio(), AudioOutputALSA::SetParameters(), and AudioOutputALSA::WriteAudio().
|
protected |
Definition at line 171 of file audiooutputbase.h.
Referenced by GetAudioData(), CoreAudioData::OpenAnalog(), AudioOutputALSA::OpenDevice(), AudioOutputAudioTrack::OpenDevice(), AudioOutputOSS::OpenDevice(), AudioOutputPulseAudio::OpenDevice(), AudioOutputWin::OpenDevice(), Reconfigure(), AudioOutputCA::RenderAudio(), AudioOutputOpenSLES::StartPlayer(), and AudioOutputALSA::WriteAudio().
|
private |
Definition at line 218 of file audiooutputbase.h.
Referenced by GetOutputSettingsUsers(), InitSettings(), OutputSettings(), Reconfigure(), and ~AudioOutputBase().
|
private |
Definition at line 220 of file audiooutputbase.h.
Referenced by CanPassthrough(), GetOutputSettingsUsers(), InitSettings(), OutputSettings(), Reconfigure(), SetupPassthrough(), and ~AudioOutputBase().
|
private |
Definition at line 219 of file audiooutputbase.h.
Referenced by GetOutputSettingsCleaned(), and ~AudioOutputBase().
|
private |
Definition at line 217 of file audiooutputbase.h.
Referenced by GetOutputSettingsCleaned(), and ~AudioOutputBase().
Definition at line 181 of file audiooutputbase.h.
Referenced by AddData(), audioready(), GetAudioData(), GetAudiotime(), AudioOutputALSA::OpenDevice(), AudioOutputAudioTrack::OpenDevice(), AudioOutputCA::OpenDevice(), AudioOutputOSS::OpenDevice(), AudioOutputWin::OpenDevice(), Reconfigure(), AudioOutputCA::RenderAudio(), AudioOutputAudioTrack::SetSourceBitrate(), ToggleUpmix(), and AudioOutputALSA::WriteAudio().
|
protected |
Definition at line 178 of file audiooutputbase.h.
Referenced by AudioOutputALSA::AudioOutputALSA(), AudioOutputDX::AudioOutputDX(), AudioOutputALSA::GetOutputSettings(), AudioOutputDXPrivate::InitDirectSound(), and AudioOutputALSA::TryOpenDevice().
Definition at line 191 of file audiooutputbase.h.
Referenced by AddData(), Drain(), AudioOutputJACK::JackCallback(), OutputAudioLoop(), Pause(), Reconfigure(), AudioOutputCA::RenderAudio(), Reset(), and SetStretchFactorLocked().
|
private |
Definition at line 298 of file audiooutputbase.h.
Referenced by SetStretchFactorLocked().
Definition at line 237 of file audiooutputbase.h.
Referenced by AddData(), CopyWithUpmix(), GetAudioData(), Reconfigure(), and SetStretchFactorLocked().
|
private |
Definition at line 223 of file audiooutputbase.h.
Referenced by AddData(), KillAudio(), Reset(), SetAudiotime(), and SetStretchFactorLocked().
|
private |
Audio circular buffer.
Definition at line 263 of file audiooutputbase.h.
Referenced by audiolen(), Drain(), GetAudioData(), OutputAudioLoop(), Reconfigure(), Reset(), and SetStretchFactorLocked().
Definition at line 183 of file audiooutputbase.h.
Referenced by Reconfigure().
|
private |
Definition at line 269 of file audiooutputbase.h.
Referenced by OutputAudioLoop(), Reconfigure(), Reset(), and SetStretchFactorLocked().
|
protected |
Definition at line 172 of file audiooutputbase.h.
Referenced by AudioOutputPulseAudio::ConnectPlaybackStream(), GetAudiotime(), AudioOutputAudioTrack::GetBufferedOnSoundcard(), AudioOutputPulseAudio::GetBufferedOnSoundcard(), AudioOutputJACK::JackXRunCallback(), CoreAudioData::OpenAnalog(), AudioOutputALSA::OpenDevice(), AudioOutputAudioTrack::OpenDevice(), AudioOutputJACK::OpenDevice(), AudioOutputOpenSLES::OpenDevice(), AudioOutputOSS::OpenDevice(), AudioOutputPulseAudio::OpenDevice(), AudioOutputWin::OpenDevice(), CoreAudioData::OpenSPDIF(), OutputAudioLoop(), Reconfigure(), SetStretchFactorLocked(), and AudioOutputOpenSLES::StartPlayer().
|
protected |
Definition at line 195 of file audiooutputbase.h.
Referenced by AudioOutputPulseAudio::ConnectPlaybackStream(), AudioOutputCA::OpenDevice(), AudioOutputALSA::OpenMixer(), Reconfigure(), AudioOutputJACK::VolumeInit(), and AudioOutputOSS::VolumeInit().
|
protected |
Definition at line 175 of file audiooutputbase.h.
Referenced by AudioOutputPulseAudio::ConnectPlaybackStream(), AudioOutputDXPrivate::FillBuffer(), AudioOutputAudioTrack::OpenDevice(), AudioOutputNULL::OpenDevice(), AudioOutputOpenSLES::OpenDevice(), AudioOutputOSS::OpenDevice(), AudioOutputWin::OpenDevice(), and AudioOutputALSA::SetParameters().
|
protected |
Definition at line 187 of file audiooutputbase.h.
Referenced by Reconfigure().
|
protected |
Definition at line 208 of file audiooutputbase.h.
Referenced by GetAudiotime(), AudioOutputAudioTrack::OpenDevice(), Reconfigure(), AudioOutputAudioTrack::SetSourceBitrate(), SetSourceBitrate(), and Status().
|
private |
Definition at line 228 of file audiooutputbase.h.
Referenced by AddData(), AddFrames(), GetBytesPerFrame(), and Reconfigure().
|
private |
Definition at line 227 of file audiooutputbase.h.
Referenced by AddData(), CopyWithUpmix(), Reconfigure(), SetStretchFactorLocked(), Status(), and ToggleUpmix().
|
protected |
Definition at line 209 of file audiooutputbase.h.
Referenced by AddData(), GetAudiotime(), AudioOutputAudioTrack::OpenDevice(), Reconfigure(), AudioOutputAudioTrack::SetSourceBitrate(), SetTimecode(), Status(), and ToggleUpmix().
|
private |
Definition at line 294 of file audiooutputbase.h.
Referenced by AddData(), and SetupPassthrough().
|
private |
Definition at line 222 of file audiooutputbase.h.
Referenced by AddData(), CheckFreeSpace(), KillAudio(), and Reconfigure().
|
private |
Definition at line 278 of file audiooutputbase.h.
Referenced by AddData(), and Reconfigure().
|
private |
Definition at line 275 of file audiooutputbase.h.
Referenced by AddData(), AudioOutputBase(), and Reconfigure().
|
private |
Definition at line 280 of file audiooutputbase.h.
Referenced by AddData(), and AudioOutputBase().
|
private |
Definition at line 282 of file audiooutputbase.h.
Referenced by AddData(), Reconfigure(), and ~AudioOutputBase().
|
protected |
Definition at line 207 of file audiooutputbase.h.
Referenced by AudioOutputBase(), Reconfigure(), and AudioOutputALSA::SetParameters().
|
protected |
Definition at line 185 of file audiooutputbase.h.
Referenced by AddData(), AudioOutputCA::GetAudiotime(), GetStretchFactor(), KillAudio(), Reconfigure(), and SetStretchFactorLocked().
|
private |
Definition at line 232 of file audiooutputbase.h.
Referenced by Reconfigure().
Definition at line 194 of file audiooutputbase.h.
Referenced by AddData(), Pause(), PauseUntilBuffered(), Reconfigure(), Reset(), and SetStretchFactorLocked().
Definition at line 229 of file audiooutputbase.h.
Referenced by CanPassthrough(), InitSettings(), Reconfigure(), and ToggleUpmix().
|
private |
Definition at line 225 of file audiooutputbase.h.
Referenced by AddData(), CopyWithUpmix(), IsUpmixing(), KillAudio(), Reconfigure(), Reset(), and SetAudiotime().
Definition at line 293 of file audiooutputbase.h.
Referenced by AudioOutputBase(), SetupPassthrough(), and usesSpdif().
|
private |
Definition at line 234 of file audiooutputbase.h.
Referenced by AddData(), GetSWVolume(), Reconfigure(), and SetSWVolume().
|
private |
Definition at line 235 of file audiooutputbase.h.
Referenced by Reconfigure(), and SetSWVolume().
Definition at line 193 of file audiooutputbase.h.
Referenced by AudioOutputJACK::JackCallback(), OutputAudioLoop(), Pause(), Reconfigure(), Reset(), and SetStretchFactorLocked().
|
private |
Definition at line 264 of file audiooutputbase.h.
Referenced by AddData(), audiolen(), Drain(), Reconfigure(), Reset(), and SetStretchFactorLocked().