[vlc-commits] auhal: fix comments
David Fuhrmann
git at videolan.org
Fri Nov 22 21:30:08 CET 2013
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Nov 22 18:39:23 2013 +0100| [8b6eec54693d35f8f1b7dfa3f659c0b92ac97944] | committer: David Fuhrmann
auhal: fix comments
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b6eec54693d35f8f1b7dfa3f659c0b92ac97944
---
modules/audio_output/auhal.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index e2b9068..124be45 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1554,7 +1554,7 @@ static OSStatus DeviceAliveListener(AudioObjectID inObjectID, UInt32 inNumberAd
}
/*
- * Callback when current device is not alive anymore
+ * Callback when default audio device changed
*/
static OSStatus DefaultDeviceChangedListener(AudioObjectID inObjectID, UInt32 inNumberAddresses, const AudioObjectPropertyAddress inAddresses[], void *inClientData)
{
@@ -1598,9 +1598,8 @@ static OSStatus DefaultDeviceChangedListener(AudioObjectID inObjectID, UInt32 i
return noErr;
}
-
/*
- * Callback when default audio device changed
+ * Callback when physical formats for device change
*/
static OSStatus StreamsChangedListener(AudioObjectID inObjectID, UInt32 inNumberAddresses, const AudioObjectPropertyAddress inAddresses[], void *inClientData)
{
@@ -1659,7 +1658,7 @@ static OSStatus StreamsChangedListener(AudioObjectID inObjectID, UInt32 inNumbe
}
/*
- * StreamListener: check whether the device's physical format changes on-the-fly (unlikely)
+ * StreamListener: check whether the device's physical format change is complete
*/
static OSStatus StreamListener(AudioObjectID inObjectID, UInt32 inNumberAddresses, const AudioObjectPropertyAddress inAddresses[], void *inClientData)
{
More information about the vlc-commits
mailing list