Re: [Q] playing / recording mono on a stereo-only hardware

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

 



On Wed, 3 Feb 2010, Raymond Yau wrote:

> 2010/2/3 Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> 
> > On Tue, 2 Feb 2010, Michael Trimarchi wrote:
> >
> > > I have tested it on the no-bluetooth interface. What is your testing
> > > application and the reporting error?
> >
> > Using aplayer / arecord, I posted a couple of logs in other threads, see,
> > e.g., http://thread.gmane.org/gmane.linux.alsa.user/33861 and a log with
> > some debugging http://pastebin.ca/1773284
> >
> > Thanks
> > Guennadi
> >
> 
>  Try
> 
> export LIBASOUND_DEBUG=1
> arecord -v -Dplughw:0,0 -c 1 -f S16_LE -r 800 -d 30  any.wav

No success either (with 8000Hz instead of 800):

Recording WAVE '/tmp/any.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, 
Mono
CHOOSE called:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 2000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 8000
TICK_TIME: ALL
choose done
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 2000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 8000
TICK_TIME: 0
arecord: set_params:1053: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 2000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 8000
TICK_TIME: 0

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux