[ltp] sound card mixing

gustavo linux-thinkpad@linux-thinkpad.org
Tue, 23 Dec 2003 21:45:22 +0200


Thank
I fix my problem partially, I was install the 'package audiooss' and 
after define the variables
"AUDIOSERVER=tcp/localhost:8000" and 
"LD_PRELOAD=/usr/lib/audiooss/libaudiooss.so"
xmms work OK with the mixer. I still have problems with mplayer and with 
VmWare.
  So I will try your solution, but I have some questions:
   1:- I haven't the file /etc/asound.conf, so create it ?
   1.2:- Who call this file /etc/asound.conf ??
   2:- in the places that you wrote  "hw" (like in pcm "hw:0.0")
        I also need to write "hw" or I  need write my hostname ??

  Finally
   Thank you very much
         Gusti
flokno wrote:

>i have it working with kernel 2.6.0 on my r40 - i810 with
>
>flokno@lap flokno $ cat /etc/asound.conf
>pcm.!default {
>    type plug
>    slave.pcm "dmixer"
>}
>
>pcm.dsp0 {
>    type plug
>    slave.pcm "dmixer"
>}
>
>pcm.dmixer  {
>    type dmix
>    ipc_key 1024
>    slave {
>        pcm "hw:0,0"
>        period_time 0
>        period_size 1024
>        buffer_size 8192
>        #periods 128
>        rate 44100
>    }
>    bindings {
>        0 0
>        1 1
>    }
>}
>
>ctl.mixer0 {
>    type hw
>    card 0
>}
>
>mixes fine with kde and xmms or centericq and mplayer and stuff.
>don't ask my where i got the above snippet.
>
>On Tue, 2003-12-23 at 18:25, Steve Krulewitz wrote:
>  
>
>>Another option is to use alsa's dmix plugin:
>>
>>http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php3#softmix
>>
>>but I could never get this to work ;)
>>
>>cheers,
>>-steve
>>    
>>
>
>  
>

-- 
Regards.
gustavo halperin
_________________________________________
Laboratory for Computer Graphics and CAD
Faculty of Mechanical Engineering
Technion - Israel Institute of Technology
Haifa, Israel 32000

Tel:      972-4-829-2334
Fax:    972-4-829-5711
e-mail: gustavoh@tx.technion.ac.il <mailto:gustavoh@tx.technion.ac.il>
_________________________________________