diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2017-01-25 21:04:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 21:04:36 +0100 |
commit | 9a2281350bca859242c85fde3539363269117d04 (patch) | |
tree | 8aff80510292a6aa5b085297e9abeabd4fa4066c | |
parent | 36c2f4cbddc46d62caea734b624e69594a450c1b (diff) | |
parent | e90d942f1ec63b3e5532eb3f8bf9ff979f028fd6 (diff) |
Merge pull request #11535 from fritsch/audiotrackpt3k
AESinkAUDIOTRACK: Be more explicit when logging PT method
-rw-r--r-- | xbmc/cores/AudioEngine/Sinks/AESinkAUDIOTRACK.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkAUDIOTRACK.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkAUDIOTRACK.cpp index 7149b34d66..1698b2f782 100644 --- a/xbmc/cores/AudioEngine/Sinks/AESinkAUDIOTRACK.cpp +++ b/xbmc/cores/AudioEngine/Sinks/AESinkAUDIOTRACK.cpp @@ -469,7 +469,10 @@ bool CAESinkAUDIOTRACK::Initialize(AEAudioFormat &format, std::string &device) Deinitialize(); return false; } - CLog::Log(LOGDEBUG, "CAESinkAUDIOTRACK::Initialize returned: m_sampleRate %u; format:%s; min_buffer_size %u; m_frames %u; m_frameSize %u; channels: %d", m_sink_sampleRate, CAEUtil::DataFormatToStr(m_format.m_dataFormat), m_min_buffer_size, m_format.m_frames, m_format.m_frameSize, m_format.m_channelLayout.Count()); + const char* method = m_passthrough ? (m_info.m_wantsIECPassthrough ? "IEC (PT)" : "RAW (PT)") : "PCM"; + CLog::Log(LOGNOTICE, "CAESinkAUDIOTRACK::Initializing with: m_sampleRate: %u format: %s (AE) method: %s stream-type: %s min_buffer_size: %u m_frames: %u m_frameSize: %u channels: %d", + m_sink_sampleRate, CAEUtil::DataFormatToStr(m_format.m_dataFormat), method, m_passthrough ? CAEUtil::StreamTypeToStr(m_format.m_streamInfo.m_type) : "PCM-STREAM", + m_min_buffer_size, m_format.m_frames, m_format.m_frameSize, m_format.m_channelLayout.Count()); } format = m_format; |