Re: Trying to capture mixed output with arecord

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

 



At Fri, 07 Nov 2008 12:18:18 +0100,
Eduardo García wrote:
> 
> Jamie Guinan escribió:
> > The envy chips are funny, they always capture something like 10
> > channels, and you need to reduce it to 2 if you want to save
> > to a common 2-channel file.  "plughw" can do this, so try,
> >
> >   arecord -f dat -D plughw:0 test.wav
> >
> > Also, "aplay -l" to make sure you are targetting the right device.
> >
> > -Jamie
> >   
> Ok, I have tested it:
> 
> eduardo@pcbox:~$  arecord -f dat -D plughw:0 test.wav
> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Ratio 48000 Hz, 
> Stereo
> arecord: pcm_read:1348: read error: Input/output error
> 
> It failed but gave me some a couple of ideas, so I did (just to check):
> eduardo@pcbox:~$  arecord -f dat -D plughw:0 -v test.wav
> Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Ratio 48000 Hz, 
> Stereo
> Plug PCM: Linear conversion PCM (S32_LE)
> Its setup is:
>   stream       : CAPTURE
>   access       : RW_INTERLEAVED
>   format       : S16_LE
>   subformat    : STD
>   channels     : 2
>   rate         : 48000
>   exact rate   : 48000 (48000/1)
>   msbits       : 16
>   buffer_size  : 24000
>   period_size  : 6000
>   period_time  : 125000
>   tstamp_mode  : NONE
>   period_step  : 1
>   avail_min    : 6000
>   start_threshold  : 1
>   stop_threshold   : 24000
>   silence_threshold: 0
>   silence_size : 0
>   boundary     : 1572864000
> Slave: Hardware PCM card 0 'ESI Juli@' device 0 subdevice 0
> Its setup is:
>   stream       : CAPTURE
>   access       : MMAP_INTERLEAVED
>   format       : S32_LE
>   subformat    : STD
>   channels     : 2
>   rate         : 48000
>   exact rate   : 48000 (48000/1)
>   msbits       : 24
>   buffer_size  : 24000
>   period_size  : 6000
>   period_time  : 125000
>   tstamp_mode  : NONE
>   period_step  : 1
>   avail_min    : 6000
>   start_threshold  : 1
>   stop_threshold   : 24000
>   silence_threshold: 0
>   silence_size : 0
>   boundary     : 1572864000
> arecord: pcm_read:1348: read error: Input/output error

Try the latest snapshot below:
   ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

The bug regarding ice1724 should have been fixed there.


Takashi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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