Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[osx] fixed error in CCoreAudioHardware::FormatsList, which is not ac…

…tually used anywhere :)
  • Loading branch information...
commit 1145deba9e5c7d56049bedcc690d24f57c35db42 1 parent 0df13c9
@davilla davilla authored
View
2  xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioHardware.cpp
@@ -95,7 +95,7 @@ AudioStreamBasicDescription* CCoreAudioHardware::FormatsList(AudioStreamID strea
}
// Add a terminating ID:
- list[listSize/sizeof(AudioStreamID)].mFormatID = 0;
+ list[listSize/sizeof(AudioStreamBasicDescription)].mFormatID = 0;
return list;
}

2 comments on commit 1145deb

@Memphiz
Owner

If its not used we could also just remove it no?

@davilla
Collaborator

That's the second step... remove all functions that are not used. :) This was something I discovered in development on CoreAudioSink where the code IS used. :)

Please sign in to comment.
Something went wrong with that request. Please try again.