Quick fix in case something throws 8 bit samples at us

CQTexperiment
Chris Moeller 2013-10-07 11:19:02 -07:00
parent 640a2f54c6
commit 0d89cf2e6f
1 changed files with 1 additions and 0 deletions

View File

@ -281,6 +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 numberWithFloat:frequency], @"sampleRate",
[NSNumber numberWithBool:floatingPoint], @"floatingPoint",
[NSNumber numberWithDouble:totalFrames], @"totalFrames",