alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH - JACK IO plug v2 0/3] snd_pcm_drain support
@ 2018-07-03 13:59 twischer
  2018-07-03 13:59 ` [PATCH - JACK IO plug 1/1] pcm: ioplug: Provide avail helper function for plugins twischer
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: twischer @ 2018-07-03 13:59 UTC (permalink / raw)
  To: patch, tiwai; +Cc: alsa-devel


Now in a clean manner as composed patches.


pcm: ioplug: Provide avail helper function
---------
No changes


jack: Avoid call to snd_pcm_avail_update() from JACK thread
---------
v2 uses snd_pcm_uframes_t as type for avail and does not check for avail < 0
becasue snd_pcm_ioplug_avail() will never retrun a value < 0


jack: Update poll_fd also in draining state
---------
This patch is depending on [1]. Therefore it was rebased on top of [1].
Additionally the commit message was extended.

v1 of this patch can be found in [2].

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-July/137775.html
[2] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-July/137769.html

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH - JACK IO plug 0/3] snd_pcm_drain support
@ 2018-07-03 11:58 twischer
  2018-07-03 11:58 ` [PATCH - JACK IO plug 1/1] pcm: ioplug: Provide avail helper function for plugins twischer
  0 siblings, 1 reply; 9+ messages in thread
From: twischer @ 2018-07-03 11:58 UTC (permalink / raw)
  To: patch; +Cc: alsa-devel



The following patches are required to support draining with the JACK IO plugin.
Without these patches
$ speaker-test -D jack -c2
will freeze.

It is required to support the draining feature implemented in 
commit ce2095c41f2 (pcm: ioplug: Implement proper drain behavior)

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

end of thread, other threads:[~2018-07-05 10:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-03 13:59 [PATCH - JACK IO plug v2 0/3] snd_pcm_drain support twischer
2018-07-03 13:59 ` [PATCH - JACK IO plug 1/1] pcm: ioplug: Provide avail helper function for plugins twischer
2018-07-04  0:34   ` Takashi Sakamoto
2018-07-04  6:21     ` Takashi Iwai
2018-07-05 10:36       ` Takashi Sakamoto
2018-07-03 13:59 ` [PATCH - JACK IO plug 1/2] jack: Avoid call to snd_pcm_avail_update() from JACK thread twischer
2018-07-03 13:59 ` [PATCH - JACK IO plug 2/2] jack: Update poll_fd also in draining state twischer
2018-07-03 15:37 ` [PATCH - JACK IO plug v2 0/3] snd_pcm_drain support Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2018-07-03 11:58 [PATCH - JACK IO plug " twischer
2018-07-03 11:58 ` [PATCH - JACK IO plug 1/1] pcm: ioplug: Provide avail helper function for plugins twischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).