diff --git a/Audio/ThirdParty/CoreAudioUtils/CoreAudioUtils.m b/Audio/ThirdParty/CoreAudioUtils/CoreAudioUtils.m index 9a697cf9a..dcbd36f1c 100644 --- a/Audio/ThirdParty/CoreAudioUtils/CoreAudioUtils.m +++ b/Audio/ThirdParty/CoreAudioUtils/CoreAudioUtils.m @@ -56,7 +56,7 @@ AudioStreamBasicDescription propertiesToASBD(NSDictionary *properties) asbd.mFormatFlags |= kLinearPCMFormatFlagIsAlignedHigh; } - if (isFloat == NO && [[properties objectForKey:@"unsigned"] boolValue] == NO) { + if (isFloat == NO && [[properties objectForKey:@"Unsigned"] boolValue] == NO) { asbd.mFormatFlags |= kLinearPCMFormatFlagIsSignedInteger; } diff --git a/Playlist/PlaylistEntry.h b/Playlist/PlaylistEntry.h index cbaec9c73..6d7df89af 100644 --- a/Playlist/PlaylistEntry.h +++ b/Playlist/PlaylistEntry.h @@ -46,6 +46,7 @@ int channels; int bitsPerSample; BOOL floatingPoint; + BOOL Unsigned; float sampleRate; NSString *endian; @@ -102,6 +103,7 @@ @property int channels; @property int bitsPerSample; @property BOOL floatingPoint; +@property BOOL Unsigned; @property float sampleRate; @property float replayGainAlbumGain; diff --git a/Playlist/PlaylistEntry.m b/Playlist/PlaylistEntry.m index a530caba8..448d21116 100644 --- a/Playlist/PlaylistEntry.m +++ b/Playlist/PlaylistEntry.m @@ -39,6 +39,7 @@ @synthesize channels; @synthesize bitsPerSample; @synthesize floatingPoint; +@synthesize Unsigned; @synthesize sampleRate; @synthesize replayGainAlbumGain; diff --git a/Plugins/FFMPEG/FFMPEGDecoder.m b/Plugins/FFMPEG/FFMPEGDecoder.m index fd84eb86e..7bbb41395 100644 --- a/Plugins/FFMPEG/FFMPEGDecoder.m +++ b/Plugins/FFMPEG/FFMPEGDecoder.m @@ -281,7 +281,7 @@ int lockmgr_callback(void ** mutex, enum AVLockOp op) return [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt:channels], @"channels", [NSNumber numberWithInt:bitsPerSample], @"bitsPerSample", - [NSNumber numberWithBool:(bitsPerSample == 8)], @"unsigned", + [NSNumber numberWithBool:(bitsPerSample == 8)], @"Unsigned", [NSNumber numberWithFloat:frequency], @"sampleRate", [NSNumber numberWithBool:floatingPoint], @"floatingPoint", [NSNumber numberWithDouble:totalFrames], @"totalFrames",