All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Capture not working in MMAP mode with '-v'
@ 2009-11-09  7:56 Aggarwal, Anuj
  2009-11-09  7:58 ` Eero Nurkkala
  0 siblings, 1 reply; 8+ messages in thread
From: Aggarwal, Anuj @ 2009-11-09  7:56 UTC (permalink / raw)
  To: alsa-devel

> -----Original Message-----
> From: Aggarwal, Anuj 
> Sent: Thursday, September 24, 2009 2:28 PM
> To: alsa-devel@alsa-project.org
> Subject: Capture not working in MMAP mode with '-v' 
> 
> Hi,
> 
> When I try to capture audio in MMAP mode using the following 
> command, it works properly:
> 
> arecord -f cd -d 10 -M rec01.wav
> 
> However, if I specify '-v' along with the above command, it fails to 
> capture anything and prints log and returns immediately:
> 
> Recording WAVE 'rec03.wav' : Signed 16 bit Little Endian, 
> Rate 44100 Hz, Stereo
> Plug PCM: Hardware PCM card 0 'omap3evm' device 0 subdevice 0
> Its setup is:
>   stream       : CAPTURE
>   access       : MMAP_INTERLEAVED
>   format       : S16_LE
>   subformat    : STD
>   channels     : 2
>   rate         : 44100
>   exact rate   : 44100 (44100/1)
>   msbits       : 16
>   buffer_size  : 22052
>   period_size  : 5513
>   period_time  : 125011
>   tstamp_mode  : NONE
>   period_step  : 1
>   avail_min    : 5513
>   period_event : 0
>   start_threshold  : 1
>   stop_threshold   : 22052
>   silence_threshold: 0
>   silence_size : 0
>   boundary     : 1445199872
>   appl_ptr     : 0
>   hw_ptr       : 0
> mmap_area[0] = 0x4030e000,0,32 (16)
> mmap_area[1] = 0x4030e000,16,32 (16)
> 
> I have not observed this problem while playing audio, only 
> while capture this issue crops up.
> 
> Any pointers?
Any updates on this? We have observed similar problem on other
platforms as well.
> 
> Thanks & Regards,
> Anuj Aggarwal
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Capture not working in MMAP mode with '-v'
@ 2009-09-24  8:58 Aggarwal, Anuj
  0 siblings, 0 replies; 8+ messages in thread
From: Aggarwal, Anuj @ 2009-09-24  8:58 UTC (permalink / raw)
  To: alsa-devel

Hi,

When I try to capture audio in MMAP mode using the following command, it works properly:

arecord -f cd -d 10 -M rec01.wav

However, if I specify '-v' along with the above command, it fails to 
capture anything and prints log and returns immediately:

Recording WAVE 'rec03.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 0 'omap3evm' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 22052
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 5513
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 22052
  silence_threshold: 0
  silence_size : 0
  boundary     : 1445199872
  appl_ptr     : 0
  hw_ptr       : 0
mmap_area[0] = 0x4030e000,0,32 (16)
mmap_area[1] = 0x4030e000,16,32 (16)

I have not observed this problem while playing audio, only while capture this issue crops up.

Any pointers?

Thanks & Regards,
Anuj Aggarwal

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-09 10:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-09  7:56 Capture not working in MMAP mode with '-v' Aggarwal, Anuj
2009-11-09  7:58 ` Eero Nurkkala
2009-11-09  8:05   ` Aggarwal, Anuj
2009-11-09  8:12     ` Eero Nurkkala
2009-11-09 10:26       ` Mark Brown
2009-11-09 10:32         ` Eero Nurkkala
2009-11-09 10:54           ` Jaroslav Kysela
  -- strict thread matches above, loose matches on Subject: below --
2009-09-24  8:58 Aggarwal, Anuj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.