View previous topic :: View next topic |
Author |
Message |
SillyPants Apprentice
Joined: 02 Sep 2002 Posts: 154
|
Posted: Fri Mar 21, 2003 7:16 am Post subject: ALSA reference |
|
|
Okay, I'm not sure how, but something I was doing (I have a suspicion it was xine, as that's the last application that worked) messed up my ALSA. Whenever I try to play a soud file, I get: Code: | fbattagl@sauron fbattagl $ aplay soundfile.wav
Playing WAVE 'soundfile.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: set_params:847: Can't use period equal to buffer size (5513 == 5513) | I found some info through google and apparently having your period size equal to your buffer size is a general bad idea, as this messes up interrupt timings. My quesion is, what are the settings supposed to be? I can't find what the default values for these parameters are, and I don't know what the *right* values should be. Does anyone know?
PS - (unmerging and re-emerging ALSA didn't get rid of this problem) |
|
Back to top |
|
|
Ziraku n00b
Joined: 17 Oct 2002 Posts: 35 Location: United Kingdom
|
Posted: Fri Mar 21, 2003 4:01 pm Post subject: |
|
|
In XMMS my ALSA settings are:
Buffer time (ms) : 500
Period time (ms) : 50
but that's my xmms setting, I'm not sure how to find it out otherwise.
HTH _________________ perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' |
|
Back to top |
|
|
schutten Tux's lil' helper
Joined: 29 Apr 2002 Posts: 120 Location: Veldhoven, the Netherlands
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|