[osx] fixed missing line in backport 9a05eed
authorJonathan Marshall <jmarshall@xbmc.org>
Sat, 8 Mar 2014 03:48:18 +0000 (16:48 +1300)
committerJonathan Marshall <jmarshall@xbmc.org>
Sat, 8 Mar 2014 03:48:18 +0000 (16:48 +1300)
xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp

index 4740747..e49551f 100644 (file)
@@ -142,7 +142,7 @@ static void EnumerateDevices(CADeviceList &list)
                       }
 
                       /* Passthrough is possible with a 2ch digital output */
-                      if (desc.mChannelsPerFrame == 2 && CCoreAudioStream::IsDigitalOuptut(*j))
+                      if (desc.mChannelsPerFrame == 2 && isDigital)
                       {
                         if (desc.mSampleRate == 48000)
                         {