osxcoreaudio: fix typo

kAudioFormatFlagIsSignedInteger is a format flags

Closes #394
This commit is contained in:
Nicola Murino 2018-12-17 13:45:36 +01:00
parent 3d708a5bfa
commit 6525abfc63

View file

@ -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;