View previous topic :: View next topic |
Author |
Message |
strawhatguy n00b
Joined: 02 Apr 2003 Posts: 10
|
Posted: Tue Jan 20, 2004 5:38 am Post subject: running programs under ALSA's aoss does not work |
|
|
I've been trying to get the software mixer stuff to work with ALSA's OSS compatiblity layer, and I've been unsuccessful so far.
For instance, (running lbreakout2 as an example, although it happens with any program):
works fine, as it should, but blocks other sounds that might be playing at the same time. But, when I do this:
the program in question can't grab the audio device and almost every program gives this warning:
Code: |
Warning: Couldn't set audio fragment size
|
Other than trying to get two sounds to go at the same time, the sound works great. Any ideas? I'm running kernel 2.6.1-mm1 with ALSA builtin, and this is my /etc/asound.conf, which I found amongst posts in this forum.
Code: |
pcm.mixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
pcm.!default {
type plug
slave.pcm "mixer"
}
pcm.dsp0 {
type plug
slave.pcm "mixer"
}
|
And here are the version of the ALSA stuff I'm using:
Code: |
> qpkg -I -v alsa
media-libs/alsa-lib-0.9.8 *
media-libs/alsa-oss-0.9.8 *
media-sound/alsa-utils-0.9.8 *
media-plugins/alsa-xmms-0.9.12 *
> cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.1 (Tue Dec 30 10:04:14 2003 UTC).
Compiled on Jan 19 2004 for kernel 2.6.1-mm1.
|
And my sound card is an Ensoniq 1370 (old one, I know)
Thanks for any help you can give! |
|
Back to top |
|
|
foosh Apprentice
Joined: 11 Jan 2004 Posts: 231 Location: STL
|
Posted: Wed Jan 21, 2004 7:22 am Post subject: |
|
|
have you checked the alsa supported card matrix to see if your card supports hardware mixing? if it does, it will have a (4) next to it in the matrix.
if not, my understanding is that you'll need to use software -- like esound (gnome) or arts (kde) -- to mix the sounds from different apps _________________ http://wustlog.blogspot.com |
|
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
|
|