Subject: Re: [linux-audio-user] .asoundrc, recording with spdif
From: Patrick Shirkey (kotau_AT_firstlinux.net)
Date: Fri Feb 08 2002 - 07:47:09 EET
You can try something like:
arecord -D hw:0,2 -f dat ~.wav | aplay -D hw:0,0 -f dat ~.wav
to record from the 0,2 channel and play in the 0,0 channel but I'm unure what you mean about the oss emulation. Why would you need it anyway ;-]
-- Patrick Shirkey - Boost Hardware Ltd For the discerning hardware connoisseur http://www.boosthardware.com http://www.boosthardware.com/LAU/Linux_Audio_Users_Guide/--- Emiliano Grilli <emillo_AT_libero.it> wrote: >Hi, > > I'm running alsa 0.9.0_cvs20011127 provided by Takashi Iwai for SuSE >distro. I noticed that the file /etc/asound.conf is no longer used, the >configuration is stored on ~/.asoundrc and there is a /etc/asound.state >file generated by alsa. > > The asoundrc.txt file that comes in the documentation is very cryptic to >me, and I need to properly configure my soundcard (midiman DiO 2448), which >has stereo analog outputs (card 0, device 0) and spdif in/outs (card 0, >device 2). > > Due to the lack of analog inputs on the sound card, I'm forced to use the >spdif for recording, and with arecord -D hw:0,2 all works perfectly. > > The problem is that not all sound apps are smart as arecord and they >don't know that I want to record trough spdif instead of recording the >normal analog inputs (don't have them). > > So for now I can't record in bcast2000, in ardour, in snd, etc.. only >arecord allow me to specify on the command line the interface I like to >use for recording and the one that I like to use for playback. > > Basically, my dream is to record on hw:0,2 while playing on hw:0,0 and >have OSS emulation for hw:0,2 and hw:0,0 as /dev/dsp. > > Could you please give me a little hint on configuring alsa in this >way ? > >Thank you in advance. > >-- > ___ _ __ ___ (_) | | ___ > / _ \ '_ ` _ \| | | |/ _ \ > | __/ | | | | | | | | (_) | > \___|_| |_| |_|_|_|_|\___/ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Sent in GNU/Linux > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_____________________________________________________________ Want a new web-based email account ? ---> http://www.firstlinux.net
This archive was generated by hypermail 2b28 : Fri Feb 08 2002 - 07:38:04 EET