Hi there,

This is off-topic, but there´s a chance that someone here knows. I
just found how funny and addictive is the Frets On Fire (FOF) game.
Configure freevo to launch it was easy, but I found a annoying problem
(not freevo related). FOF works by mixing two ogg audio streams, one
with the guitar part of the song, and another with the other
instruments.The problem is that the game expects to use a sample rate
of 44.1khz and my sound card just cant do hardware mixing at 44.1khz,
only at 48khz. The specs from shuttle says that the sound card is a
Realtek ALC888DD (snd-hda-intel module on my 2.6.23.9 kernel). The
card can play 44.1khz streams just fine, but cant mix  two or more, so
when playing the game I cant only hear "half" of the song.

Alsa was suposed to use dmix when hardware mixing is not there. But it
didnt work either. I tried to write a asoundrc file to explicit tell
alsa to use dmix, overriding pcm.!default and pointing it to a
"swmixer", but without success. Even if the file looks ok, and I can
use the config with "alsaplayer -d swmixer <song>" the game just cant
mix the two streams. Strangely enough if I set the game to use a
sample rate of 22050hz it works, but at the cost of some sound
quality. Changing the sample rate to 48khz in the game also works, but
in this case the music play faster, with higher pitch, and gets out of
sync with the video.

Does anyone has any idea of how to fix it? perhaps there´s a magic
asoundrc? or a SDL option as the game is made in python/sdl ?

-- 
Christian Lyra
PoP-PR/RNP

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to