Re: ALSA can only use default - Not hw:0,0 hw1,0 etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo,
Johan Spee hat gesagt: // Johan Spee wrote:

> Using plughw:0,0 and plughw:0,1 I in MPD's config I now have both
> analog and digital output. Without using .asoundrc - which,
> according to http://alsa.opensrc.org/.asoundrc , is a good thing:
> "If your system won't work without one, and you are running the most
> current version of ALSA, you probably should file a bug report."

plughw:0 normally is (almost) the same as "default". Well, at least it
was some months ago, but IIR now "default" also does software mixing
on many cards.

> Because of that statement I am a bit less worried about the fact that even the simplest .asoundrc does not work for me.
> This, for instance:
> pcm.ALIAS {
>     type hw
>     card 0
> }
> gives only errors when I do: 'aplay -D ALIAS test.wav'
> 
> So, no .asoundrc for me I'm afraid. 

The "ALIAS" you defined is just the same as "hw:0" so it's superfluous
anyway (and you probably miss a definition for "ctl.ALIAS" to make it
really work.)

But don't bother: you don't need an asoundrc, almost nobody does. ;)

> Which is a problem because I would like to use (at least) the SPDIF
> IN to make recordings. I have no idea where to start. Any ideas are
> most welcome.

$ arecord -L 

gives a list of predefined PCM devices you could use. One of these
should be named "spdif". You should be able to record from that one
which should record from your digital input: 

$ arecord -D spdif -f dat spdif-to-dat.wav
Recording WAVE 'spdif.wav' : Signed 16 bit Little Endian, Rate 48000
Hz, Stereo
...

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux