I think it would help if somebody could explain to me (or point me to a
web resource) about how you select an output in ALSA.  I know how to do
it with 'aplay' since it has a special command-line option, but I'm
doing speech with the festival speech engine and the output just goes to
the first output channel and I don't know how to control that.  Do I
just point the program to a different device file in /dev?

Here is my /etc/asound.conf:

pcm.dmixer {
   type dmix
   ipc_key 1024 # must be unique!
   slave {
      pcm "hw:0,0" # you cannot use a "plug" device here, darn.
      period_time 0
      period_size 1024 # must be power of 2
      buffer_size 6553 # dito. It
      #format "S32_LE"
      #periods 128 # dito.
      #rate 8000 # with rate 8000 you *will* hear,
      # if ossmix is used
   }
}

pcm.ice1712 {
   type hw
   card 0
   device 0
}

ctl.ice1712 {
   type hw
   card 0
   device 0
}

# adcdac 1&2
pcm.channel1 {
   type plug
   ttable.0.0 1
   ttable.1.1 1
   slave.pcm "dmixer"
}

# adcdac 3&4
pcm.channel2 {
   type plug
   ttable.0.2 1
   ttable.1.3 1
   slave.pcm "dmixer"
}

#adcdac 5&6
pcm.channel3 {
   type plug
   ttable.0.4 1
   ttable.1.5 1
   slave.pcm "dmixer"
}

# adcdac 7&8
pcm.channel4 {
   type plug
   ttable.0.6 1
   ttable.1.7 1
   slave.pcm "dmixer"
}



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to