Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572422 - games-rpg/freedroidrpg-0.15.1 - audio doesn't properly detect output device sample rate
Summary: games-rpg/freedroidrpg-0.15.1 - audio doesn't properly detect output device s...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 09:02 UTC by Raymond Jennings
Modified: 2016-03-31 23:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
alsa sound configuration (asound.conf,420 bytes, text/x-matlab)
2016-01-20 09:03 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
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.