mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-03 04:26:45 +00:00
dde_bsd: always advance play position
In addition to always sending the progress signal the driver will also advance the play position, even if there is no valid packet. Issue #1796.
This commit is contained in:
parent
72823eeddb
commit
e3f301a540
@ -141,11 +141,11 @@ class Audio_out::Out
|
|||||||
p_left->mark_as_played();
|
p_left->mark_as_played();
|
||||||
p_right->mark_as_played();
|
p_right->mark_as_played();
|
||||||
|
|
||||||
_advance_position(p_left, p_right);
|
|
||||||
} else {
|
} else {
|
||||||
_play_silence();
|
_play_silence();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_advance_position(p_left, p_right);
|
||||||
|
|
||||||
/* always report when a period has passed */
|
/* always report when a period has passed */
|
||||||
Session_component *channel_left = channel_acquired[LEFT];
|
Session_component *channel_left = channel_acquired[LEFT];
|
||||||
|
Loading…
Reference in New Issue
Block a user