Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 572422

Summary: games-rpg/freedroidrpg-0.15.1 - audio doesn't properly detect output device sample rate
Product: Gentoo Linux Reporter: Raymond Jennings <shentino>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED CANTFIX    
Severity: normal CC: shentino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: alsa sound configuration

Description Raymond Jennings 2016-01-20 09:02:33 UTC
By tweaking /etc/asoundrc.conf, I was able to ramp the sample rate up and down...and freedroidrpg's output rate stayed the same, causing sound pitch to be warped out of line.

Reproducible: Always

Steps to Reproduce:
1.  use dmixer and tamper with the sample rate, reboot as needed
2.
3.
Actual Results:  
sound is too high in pitch, freedroid probably naively assumes that the audio output device is always at 44.1k

Expected Results:  
freedroidrpg would adjust its output rate to match that of the device
Comment 1 Raymond Jennings 2016-01-20 09:03:32 UTC
Created attachment 423408 [details]
alsa sound configuration

Everything sounds ok when I have it at 44100, but everything sounds like a minor overdose of helium breath if I peg it back up at 48000
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2016-03-31 23:12:45 UTC
nothing to be done here.  it's using sdl-mixer which doesn't support resampling.  the game hard-codes the frequency to be 44100.