Re: [Alsa-user] ALSA can only use default - Not hw:0,0 hw1,0 etc.
Brought to you by:
perex
|
From: Jaroslav K. <pe...@su...> - 2007-01-15 10:45:49
|
On Mon, 15 Jan 2007, Johan Spee wrote: > Frank Barknecht <fb...@fo...> wrote: > > > $ arecord -L > > gives a list of predefined PCM devices you could use. One of these > > should be named "spdif". > > 'should be'. But this is ALSA we are dealing with... > (No offence Frank, my cynicism does not concern you) > > # arecord -L > **** List of CAPTURE Hardware Devices **** > card 0: T22 [Terratec PHASE 22], device 0: ICE1724 [ICE1724] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 0: T22 [Terratec PHASE 22], device 1: IEC1724 IEC958 [IEC1724 IEC958] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog] > Subdevices: 3/3 > Subdevice #0: subdevice #0 > Subdevice #1: subdevice #1 > Subdevice #2: subdevice #2 > > Why call it 'spdif' or 'digital' when you can call it 'IEC1724 IEC958 > [IEC1724 IEC958]' right? You can use 'iec958' device name. > But that is not the 'name' I could use. Neither > is 'T22'. The only thing that works is 'plughw:0,1'. 'plug:iec958:T22' or 'plug:iec958' or 'plug:spdif:T22' or 'plug:spdif' device does not work? The iec958 device is raw device (without any conversions). Applications expect to work with 16-bit samples usually. Jaroslav ----- Jaroslav Kysela <pe...@su...> Linux Kernel Sound Maintainer ALSA Project, SUSE Labs |