Skip to content

Commit

Permalink
fixup! AE: update omx audio
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Nov 28, 2015
1 parent e6e5542 commit 4a4f4d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/cores/omxplayer/OMXAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,8 @@ void COMXAudio::SwitchChannels(int iAudioStream, bool bAudioOnAllSpeakers)

void COMXAudio::SetCodingType(AEAudioFormat format)
{
switch(format.m_streamInfo.m_type)
CAEStreamInfo::DataType type = m_Passthrough ? format.m_streamInfo.m_type : CAEStreamInfo::STREAM_TYPE_NULL;
switch(type)
{
case CAEStreamInfo::STREAM_TYPE_DTS_512:
case CAEStreamInfo::STREAM_TYPE_DTS_1024:
Expand Down

0 comments on commit 4a4f4d9

Please sign in to comment.