Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Sample.play_pan: Not panning
- By billiam Date 2012-05-12 03:17 Edited 2012-05-12 07:18
Having some trouble with the play_pan method in Windows, and I suspect I'm doing something wrong.

A pan value range of  -1 to 0 gives increases volume in the left channel, with zero sound in the right. When it crosses the 0 threshold, there's an abrupt change to full volume in right channel only.

The pan values appear to be correct. (floats in the range -1.0 to 1.0).  This is the behavior with mono wav files. Trying to pan a stereo wav has no noticeable effect (full volume in both channels).

Any idea what's going on here?

--edit: Also seeing this with gosu/feature_tests/SamplePlayTest.rb
--edit 2: Github issue posted: https://github.com/jlnr/gosu/issues/123
Up Topic Gosu / Gosu Exchange / Sample.play_pan: Not panning

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill