Skip to content

Commit

Permalink
Revert "os: reset Audio_out stream prior to calling start"
Browse files Browse the repository at this point in the history
This reverts commit d8b95c2.

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 genodelabs#1796.
  • Loading branch information
cnuke authored and chelmuth committed Nov 29, 2015
1 parent 6d1e417 commit 627ecc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repos/os/include/audio_out_session/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>(); }
Expand Down

0 comments on commit 627ecc4

Please sign in to comment.