mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
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.
This commit is contained in:
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>(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user