Bug fix for cue sheet changes.
parent
03ad906fb4
commit
c78a553532
|
@ -47,6 +47,12 @@
|
||||||
decoder = d;
|
decoder = d;
|
||||||
[decoder retain];
|
[decoder retain];
|
||||||
|
|
||||||
|
NSDictionary *properties = [decoder properties];
|
||||||
|
int bitsPerSample = [[properties objectForKey:@"bitsPerSample"] intValue];
|
||||||
|
int channels = [[properties objectForKey:@"channels"] intValue];
|
||||||
|
|
||||||
|
bytesPerFrame = (bitsPerSample/8) * channels;
|
||||||
|
|
||||||
[self registerObservers];
|
[self registerObservers];
|
||||||
|
|
||||||
shouldContinue = YES;
|
shouldContinue = YES;
|
||||||
|
|
Loading…
Reference in New Issue