From 627ecc44d2383867cc6ff1105b62b25489644b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Wed, 25 Nov 2015 18:56:12 +0100 Subject: [PATCH] Revert "os: reset Audio_out stream prior to calling start" This reverts commit d8b95c263b4c38f0d1b2698174c346ef64514273. Some clients might want to fiddle with the clients play position (e.g. the mixer) within 'Audio_out::start()' and we might reset it to an old value if we do it afterwards. Fixes #1796. --- repos/os/include/audio_out_session/client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/os/include/audio_out_session/client.h b/repos/os/include/audio_out_session/client.h index a8d9caef1c..90bcea069f 100644 --- a/repos/os/include/audio_out_session/client.h +++ b/repos/os/include/audio_out_session/client.h @@ -91,10 +91,10 @@ class Audio_out::Session_client : public Genode::Rpc_client void start() { + call(); + /* reset tail pointer */ stream()->reset(); - - call(); } void stop() { call(); }