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

Yes, I think the problem might be the format. Using the ruby-coreaudio gem does not allow you to switch format at all, so if the speakers expect a certain kind of format you cannot tell them to expect something else (at least not that I could see).

As far as making the change in OpenAL I’m not sure, as I have no system that I can connect through HDMI to try it out on. I’ve tried plugging in headphones (3.5mm audio jack) as well as external speakers (also 3.5mm jack), and that works!

I managed to stumble upon a certain tool in Mac OS X recently that allowed you to change the format of the audio sure you are using. It’s called “Audio MIDI Setup” and can be found in Applications/Utilities. This tool allows you to change audio format (called “rate” in Hallon) and the “type”. When you have your external speakers plugged in, perhaps you can change the audio format for them in that settings pane?

If you can, it should be 44100.0 Hz, and 2-ch 16bit integer (but it probably works with 2ch 24bit integer too).