Correct capitalization of WavPack in codec info

Report the correct codec name for WavPack files. An info refresh will be
needed for it to take effect on existing playlist entries.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2022-03-04 02:08:55 -08:00
parent 777ab28d6a
commit 7f7e17a410

View file

@ -281,7 +281,7 @@ int32_t WriteBytesProc(void *ds, void *data, int32_t bcount) {
}
- (NSDictionary *)properties {
return @{@"channels": [NSNumber numberWithInt:channels],
return @{ @"channels": [NSNumber numberWithInt:channels],
@"channelConfig": [NSNumber numberWithUnsignedInt:channelConfig],
@"bitsPerSample": [NSNumber numberWithInt:bitsPerSample],
@"bitrate": [NSNumber numberWithInt:bitrate],
@ -289,9 +289,9 @@ int32_t WriteBytesProc(void *ds, void *data, int32_t bcount) {
@"floatingPoint": [NSNumber numberWithBool:floatingPoint],
@"totalFrames": [NSNumber numberWithDouble:totalFrames],
@"seekable": [NSNumber numberWithBool:[[wv source] seekable]],
@"codec": @"Wavpack",
@"codec": @"WavPack",
@"endian": @"little",
@"encoding": isLossy ? @"lossy" : @"lossless"};
@"encoding": isLossy ? @"lossy" : @"lossless" };
}
- (NSDictionary *)metadata {