Sndfile fix?
This commit is contained in:
parent
e1eabaea4b
commit
4586d7f241
3 changed files with 9 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
0.05 alpha 5
|
||||
------------
|
||||
Hopefully fixes wavpack on intel.
|
||||
|
||||
0.05 alpha 4
|
||||
------------
|
||||
Volume slider now gravitates to 100%, in the middle.
|
||||
|
|
|
@ -188,9 +188,9 @@
|
|||
|
||||
- (void)readInfo
|
||||
{
|
||||
SoundFile *sp;
|
||||
SoundFile *sf = [SoundFile readInfo:filename];
|
||||
sp= sf;
|
||||
if (sf == nil)
|
||||
return;
|
||||
|
||||
length = [sf length];
|
||||
bitRate = [sf bitRate];
|
||||
|
|
|
@ -144,13 +144,12 @@ BOOL hostIsBigEndian()
|
|||
soundFile = [SoundFile soundFileFromFilename:filename];
|
||||
|
||||
b = [soundFile readInfo:[filename UTF8String]];
|
||||
if (b == NO)
|
||||
return nil;
|
||||
|
||||
[soundFile close];
|
||||
|
||||
if (b == YES)
|
||||
return soundFile;
|
||||
|
||||
return nil;
|
||||
return soundFile;
|
||||
}
|
||||
|
||||
- (void)reset
|
||||
|
|
Loading…
Reference in a new issue