Definition at line 38 of file audiooutputca.cpp.
Public Member Functions | |
| CoreAudioData (AudioOutputCA *parent) | |
| bool | OpenDevice () |
| bool | OpenAnalog () |
| bool | OpenSPDIF () |
| void | CloseSPDIF () |
| pid_t | GetHogPID () |
| bool | SetHogPID (pid_t pid) |
| bool | SetHogMode () |
| void | ReleaseHogMode () |
| bool | SetUnMixable () |
| Set mixable to false if we are allowed to. | |
| bool | FindAC3Stream () |
| void | ResetAudioDevices () |
| Reset any devices with an AC3 stream back to a Linear PCM so that they can become a default output device. | |
| void | ResetStream (AudioStreamID s) |
| AudioStreamID * | StreamsList (AudioDeviceID d) |
| Get a list of all the streams on this device. | |
| AudioStreamBasicDescription * | FormatsList (AudioStreamID s) |
| int | AudioStreamChangeFormat (AudioStreamID s, AudioStreamBasicDescription format) |
| void | Debug (QString msg) |
| void | Error (QString msg) |
| void | Warn (QString msg) |
Public Attributes | |
| AudioOutputCA * | mCA |
| AudioUnit | mOutputUnit |
| bool | mDigitalInUse |
| AudioDeviceID | mDeviceID |
| AudioStreamID | mStreamID |
| int | mStreamIndex |
| AudioStreamBasicDescription | mFormatOrig |
| AudioStreamBasicDescription | mFormatNew |
| bool | mRevertFormat |
| bool | mChangedMixing |
| CoreAudioData::CoreAudioData | ( | AudioOutputCA * | parent | ) |
Definition at line 462 of file audiooutputca.cpp.
| bool CoreAudioData::OpenDevice | ( | ) |
| bool CoreAudioData::OpenAnalog | ( | ) |
| bool CoreAudioData::OpenSPDIF | ( | ) |
| void CoreAudioData::CloseSPDIF | ( | ) |
| pid_t CoreAudioData::GetHogPID | ( | ) |
| bool CoreAudioData::SetHogPID | ( | pid_t | pid | ) |
| bool CoreAudioData::SetHogMode | ( | ) |
| void CoreAudioData::ReleaseHogMode | ( | ) | [inline] |
Definition at line 51 of file audiooutputca.cpp.
Referenced by CloseSPDIF(), OpenSPDIF(), and SetUnMixable().
| bool CoreAudioData::SetUnMixable | ( | ) |
Set mixable to false if we are allowed to.
Definition at line 548 of file audiooutputca.cpp.
Referenced by OpenSPDIF().
| bool CoreAudioData::FindAC3Stream | ( | ) |
| void CoreAudioData::ResetAudioDevices | ( | ) |
Reset any devices with an AC3 stream back to a Linear PCM so that they can become a default output device.
Definition at line 925 of file audiooutputca.cpp.
Referenced by CoreAudioData().
| void CoreAudioData::ResetStream | ( | AudioStreamID | s | ) |
| AudioStreamID * CoreAudioData::StreamsList | ( | AudioDeviceID | d | ) |
Get a list of all the streams on this device.
Definition at line 592 of file audiooutputca.cpp.
Referenced by FindAC3Stream(), OpenSPDIF(), and ResetAudioDevices().
| AudioStreamBasicDescription * CoreAudioData::FormatsList | ( | AudioStreamID | s | ) |
Definition at line 633 of file audiooutputca.cpp.
Referenced by FindAC3Stream(), OpenSPDIF(), and ResetStream().
| int CoreAudioData::AudioStreamChangeFormat | ( | AudioStreamID | s, | |
| AudioStreamBasicDescription | format | |||
| ) |
| void CoreAudioData::Debug | ( | QString | msg | ) | [inline] |
Definition at line 66 of file audiooutputca.cpp.
Referenced by AudioStreamChangeFormat(), CloseSPDIF(), CoreAudioData(), FindAC3Stream(), GetHogPID(), and OpenSPDIF().
| void CoreAudioData::Error | ( | QString | msg | ) | [inline] |
Definition at line 69 of file audiooutputca.cpp.
Referenced by AudioStreamChangeFormat(), FormatsList(), OpenAnalog(), ResetAudioDevices(), SetHogPID(), and StreamsList().
| void CoreAudioData::Warn | ( | QString | msg | ) | [inline] |
Definition at line 72 of file audiooutputca.cpp.
Referenced by CoreAudioData(), FormatsList(), OpenSPDIF(), ResetStream(), SetHogMode(), and SetUnMixable().
Definition at line 77 of file audiooutputca.cpp.
Referenced by OpenAnalog(), OpenSPDIF(), and RenderCallbackSPDIF().
| AudioUnit CoreAudioData::mOutputUnit |
Definition at line 80 of file audiooutputca.cpp.
Referenced by AudioOutputCA::CloseDevice(), CoreAudioData(), AudioOutputCA::GetVolumeChannel(), OpenAnalog(), and AudioOutputCA::SetVolumeChannel().
Definition at line 83 of file audiooutputca.cpp.
Referenced by AudioOutputCA::CloseDevice(), CoreAudioData(), and OpenSPDIF().
| AudioDeviceID CoreAudioData::mDeviceID |
Definition at line 84 of file audiooutputca.cpp.
Referenced by CloseSPDIF(), CoreAudioData(), FindAC3Stream(), GetHogPID(), OpenSPDIF(), SetHogPID(), and SetUnMixable().
| AudioStreamID CoreAudioData::mStreamID |
Definition at line 86 of file audiooutputca.cpp.
Referenced by CoreAudioData(), OpenSPDIF(), and RenderCallbackSPDIF().
| AudioStreamBasicDescription CoreAudioData::mFormatOrig |
| AudioStreamBasicDescription CoreAudioData::mFormatNew |
Definition at line 90 of file audiooutputca.cpp.
Referenced by CloseSPDIF(), CoreAudioData(), and OpenSPDIF().
1.5.5