* [Qemu-devel] [PATCH] audio: reset timer when enabling capture mode
@ 2010-12-08 23:34 Michael Walle
2010-12-09 18:50 ` malc
0 siblings, 1 reply; 3+ messages in thread
From: Michael Walle @ 2010-12-08 23:34 UTC (permalink / raw)
To: qemu-devel; +Cc: Michael Walle
The audio timer also has to be reset when a capture device is enabled. This
will ensure the timer to be started even if just capture devices are
active.
Signed-off-by: Michael Walle <michael@walle.cc>
---
audio/audio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/audio/audio.c b/audio/audio.c
index ade342e..1edbb29 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -1240,6 +1240,7 @@ void AUD_set_active_in (SWVoiceIn *sw, int on)
hw->enabled = 1;
if (s->vm_running) {
hw->pcm_ops->ctl_in (hw, VOICE_ENABLE, conf.try_poll_in);
+ audio_reset_timer ();
}
}
sw->total_hw_samples_acquired = hw->total_samples_captured;
--
1.7.2.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] audio: reset timer when enabling capture mode
2010-12-08 23:34 [Qemu-devel] [PATCH] audio: reset timer when enabling capture mode Michael Walle
@ 2010-12-09 18:50 ` malc
2010-12-09 20:30 ` Michael Walle
0 siblings, 1 reply; 3+ messages in thread
From: malc @ 2010-12-09 18:50 UTC (permalink / raw)
To: Michael Walle; +Cc: qemu-devel
On Thu, 9 Dec 2010, Michael Walle wrote:
> The audio timer also has to be reset when a capture device is enabled. This
> will ensure the timer to be started even if just capture devices are
> active.
It was done in 39deb1e496de81957167daebf5cf5d1fbd5e47c2
--
mailto:av1474@comtv.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] audio: reset timer when enabling capture mode
2010-12-09 18:50 ` malc
@ 2010-12-09 20:30 ` Michael Walle
0 siblings, 0 replies; 3+ messages in thread
From: Michael Walle @ 2010-12-09 20:30 UTC (permalink / raw)
To: malc; +Cc: qemu-devel
Am Donnerstag 09 Dezember 2010, 19:50:52 schrieben Sie:
> On Thu, 9 Dec 2010, Michael Walle wrote:
> > The audio timer also has to be reset when a capture device is enabled.
> > This will ensure the timer to be started even if just capture devices
> > are active.
>
> It was done in 39deb1e496de81957167daebf5cf5d1fbd5e47c2
whoops sorry
--
wkr michael
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-09 20:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-08 23:34 [Qemu-devel] [PATCH] audio: reset timer when enabling capture mode Michael Walle
2010-12-09 18:50 ` malc
2010-12-09 20:30 ` Michael Walle
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.