diff --git a/Changelog b/Changelog index 475769340..445e9a4bd 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,5 @@ -0.05 ----- +0.05 alpha 6 +----------- Updated libsndfile to 1.0.15 Wave/Aiff should now work on intel. diff --git a/Sound/SoundFile/WavPackFile.m b/Sound/SoundFile/WavPackFile.m index b1d458af0..042c858d8 100644 --- a/Sound/SoundFile/WavPackFile.m +++ b/Sound/SoundFile/WavPackFile.m @@ -30,7 +30,7 @@ int samples; samples = WavpackGetNumSamples(wpc); - totalSize = samples * channels * 4; + totalSize = samples * channels * (bitsPerSample/8); bitRate = (int)(WavpackGetAverageBitrate(wpc, TRUE)/1000.0); @@ -69,7 +69,7 @@ - (double)seekToTime:(double)milliseconds { int sample; - sample = (frequency/2)*(milliseconds/1000.0); + sample = frequency*(milliseconds/1000.0); WavpackSeekSample(wpc, sample);