All of lore.kernel.org
 help / color / mirror / Atom feed
* bug in alsa-utils 1.0.28 - arecord
@ 2014-10-20 19:33 Jordan Kagan
  2014-10-21  6:39 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Jordan Kagan @ 2014-10-20 19:33 UTC (permalink / raw)
  To: alsa-devel

Hello,

I encountered an issue with using the arecord binary in this most recent
version.  When using the '-d' duration flag, the program will continue to
open files AFTER the duration has expired.  The issue occurs when the
capture() while loop hits the break due to a value returned by pcm_read().
When the while loop is exited, the program hits the do-while loop and
continues to open files indefinitely.  If rcount is returned from
pcm_read() instead of "result", the problem does not occur.

Thanks,

Jordan

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

* Re: bug in alsa-utils 1.0.28 - arecord
  2014-10-20 19:33 bug in alsa-utils 1.0.28 - arecord Jordan Kagan
@ 2014-10-21  6:39 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2014-10-21  6:39 UTC (permalink / raw)
  To: alsa-devel

Dne 20.10.2014 v 21:33 Jordan Kagan napsal(a):
> Hello,
> 
> I encountered an issue with using the arecord binary in this most recent
> version.  When using the '-d' duration flag, the program will continue to
> open files AFTER the duration has expired.  The issue occurs when the
> capture() while loop hits the break due to a value returned by pcm_read().
> When the while loop is exited, the program hits the do-while loop and
> continues to open files indefinitely.  If rcount is returned from
> pcm_read() instead of "result", the problem does not occur.

Yes, I fixed it here:

http://git.alsa-project.org/?p=alsa-utils.git;a=commit;h=8f361d83cfcb39887f5fc591633e68d9448e3425

I'm going to release 1.0.29 soon.

					Jaroslav

-- 
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.

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

end of thread, other threads:[~2014-10-21  6:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 19:33 bug in alsa-utils 1.0.28 - arecord Jordan Kagan
2014-10-21  6:39 ` Jaroslav Kysela

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.