Okay, first of all, this is my first foray into the ALSA sound system.
I like the power that it seems I will have one day, but the learning
curve is steep.

I have Linux kernel 2.4.25, and alsa-driver-1.0.2c.  I have all of my
modules loaded and have tried some of the configuration files for the
M-Audio Delta 410 I have found on the web.  But so far, I can't get
stereo output.

My goal is to have four independent stereo output channels.  But for now
I'd like to just get one working.  I am using mpg123 to play a stereo
MP3 and it only goes to output channel 1.  It is using 'esd' for some
reason, so I tried this:

mpg123 -s test.mp3 | aplay --device=channel1 --channels=2 -f cd --buffer-time=1000000 -

Where channel1 is defined in my ~/.asoundrc:

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
   }
}

pcm.channel1 {
   type plug
   ttable.0.0 1
   ttable.1.1 1
   slave.pcm "dmixer"
}

Any help will be greatly appreciated.

-- 
Kirk Bauer <[EMAIL PROTECTED]>
http://linux.kaybee.org | www.autorpm.org | www.logwatch.org



-------------------------------------------------------
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