sbooth / SFBAudioEngine

A powerhouse of audio functionality for macOS, iOS, and tvOS
https://sbooth.github.io/SFBAudioEngine/
MIT License
569 stars 86 forks source link

When the speex file is playing, only one side of the speaker has sound, and SFBAudioPlayer.totalTime is nil #216

Closed mytianer closed 2 years ago

sbooth commented 2 years ago

I believe I've fixed the stereo decoding problem in #217. If you're able to test the proposed fix I'd appreciate it.

mytianer commented 2 years ago

I believe I've fixed the stereo decoding problem in #217. If you're able to test the proposed fix I'd appreciate it.

I just tested it and the stereo works fine

sbooth commented 2 years ago

Thanks for testing out the stereo fix.

Calculating the total number of frames in the stream will require a bit of work so I've opened a separate issue for it.