From 6525abfc63917e3f92e359f68a02cf65c8fda7d8 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Mon, 17 Dec 2018 13:45:36 +0100 Subject: [PATCH] osxcoreaudio: fix typo kAudioFormatFlagIsSignedInteger is a format flags Closes #394 --- sys/osxaudio/gstosxcoreaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/osxaudio/gstosxcoreaudio.c b/sys/osxaudio/gstosxcoreaudio.c index 8809cc4050..19d349b6ab 100644 --- a/sys/osxaudio/gstosxcoreaudio.c +++ b/sys/osxaudio/gstosxcoreaudio.c @@ -504,7 +504,7 @@ gst_core_audio_asbd_to_caps (AudioStreamBasicDescription * asbd, bps = asbd->mBitsPerChannel; endianness = asbd->mFormatFlags & kAudioFormatFlagIsBigEndian ? G_BIG_ENDIAN : G_LITTLE_ENDIAN; - sign = asbd->mFormatID & kAudioFormatFlagIsSignedInteger ? TRUE : FALSE; + sign = asbd->mFormatFlags & kAudioFormatFlagIsSignedInteger ? TRUE : FALSE; interleaved = asbd->mFormatFlags & kAudioFormatFlagIsNonInterleaved ? TRUE : FALSE;