mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
Revert "os: reset Audio_out stream prior to calling start"
This reverts commit d8b95c263b.
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.
This commit is contained in:
committed by
Christian Helmuth
parent
6d1e417250
commit
627ecc44d2
@@ -91,10 +91,10 @@ class Audio_out::Session_client : public Genode::Rpc_client<Session>
|
||||
|
||||
void start()
|
||||
{
|
||||
call<Rpc_start>();
|
||||
|
||||
/* reset tail pointer */
|
||||
stream()->reset();
|
||||
|
||||
call<Rpc_start>();
|
||||
}
|
||||
|
||||
void stop() { call<Rpc_stop>(); }
|
||||
|
||||
Reference in New Issue
Block a user