Hello,
I am currently trying to get etqw with alsa+dmix running
etqw-1.5 (1.5.12663.12663)
alsa 1.0.22
kernel 2.6.32.8 (alsa driver from kernel)
openal-1.11.753
I tried several cases, first of all lets start with my current
/etc/asound.conf:
pcm.dmixs51 {
type dmix
ipc_key 10248754
ipc_key_add_uid false # let multiple users share, default false
ipc_perm 0660 # IPC permissions (octal, default 0600)
slave {
pcm "hw:1,1"
rate 48000
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 5120
}
}
pcm.duplex {
type asym
playback.pcm "dmixs51"
hint {
show on
description "My Soundcard with extra DMIX"
}
}
pcm.!default {
type plug
slave.pcm "duplex"
}
ctl.!default {
type plug
slave.pcm "duplex"
}
pcm.dsp "duplex"
pcm.dsp1 "duplex"
when I now run etqw:
etqw +set s_driver alsa +set s_alsa_pcm plug:default
I get:
------ Alsa Sound Initialization -----
dlopen(/usr/lib32/libasound.so)
asoundlib version: 1.0.22
opened Alsa PCM device plug:default for playback
buffer size select failed: Invalid argument
close pcm
dlclose
WARNING: sound subsystem disabled
so no sound and I have no clue were this buffer size comes from.
Then I changed my pcm.duplex to:
pcm.duplex {
type asym
playback.pcm "hw:1,1"
}
for testing and everything worked fine, but no DMIX(as expected) :/
After that I changed it back to playback.pcm "dmixs51"
Now I commented out:
# period_time 0
# period_size 1024
# buffer_time 0
# buffer_size 5120
from pcm.dmixs51, no change, still same error
After a while I changed channels to 2 and started etqw
etqw +set s_driver alsa +set s_alsa_pcm plug:default +set s_numberOfSpeakers
"2"
And finally sound, but VERY stuttering with MANY
snd_pcm_writei 4096 frames failed: Broken pipe
preparing audio device for output
in the console and the boxes are mixed up
left=left but
right = rear right
NOTE: channels 6 and etqw +set s_driver alsa +set s_alsa_pcm plug:default +set
s_numberOfSpeakers "6" does not work
Commenting in period_time or buffer_time changes nothing but if I set
period_size or buffer_size the sound is gone again, with the same
"buffer size select failed: Invalid argument"
etqw alsa message
google showed many "use oss solutions" (that is not a real solution, I still
want dmix)
But I tried(with my default working asound.conf):
etqw +set s_driver oss +set s_device "/dev/dsp1"
works fine, so I guessed maybe it could work with aoss but:
aoss etqw +set s_driver oss +set s_device "/dev/dsp1"
resulted in:
------ OSS Sound Initialization ------
WARNING: failed to open output sound device '/dev/dsp1': Invalid argument
WARNING: sound subsystem disabled
--------------------------------------
And here I am out of ideas, if someone could give me a hint I would be
greatful :)
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user