jamesbirtles/Hallon — comment on commit 7cec046959ec2ab25c893c1bbcf009be6fe3ab89
File: lib/hallon/player.rb line 45
By Burgestrand:

Hehe, I always peak about the forks looking for interesting things ;). As for the audio, the same thing happened to me when I started experimenting with playing audio through Hallon. The reason back then was that I didn’t understand which format the driver wanted the audio to be in, and the result became slow motion sound and very… dark voices.

I used to have an audio driver that used [ruby-coreaudio](https://rubygems.org/gems/coreaudio) as well, but [removed it in a recent commit](https://github.com/Burgestrand/Hallon/commit/cb491bfd0b539de510aecc87b0302f248c93aac2). The reason for this is because that driver does not buffer audio internally, so when it is done playing the audio that Hallon has given it, Hallon/ruby must be incredibly fast around to give it new audio or the audio will stutter a little bit. So if you stream audio with my implementation of that driver, the audio might stutter even if you just burden your CPU a little bit more; for me it was enough to just alt-tab for it to stutter sometimes. :(