Skip to content

Commit

Permalink
dde_bsd: always advance play position
Browse files Browse the repository at this point in the history
In addition to always sending the progress signal the driver
will also advance the play position, even if there is no valid
packet.

Issue genodelabs#1796.
  • Loading branch information
cnuke authored and chelmuth committed Nov 29, 2015
1 parent 72823ee commit e3f301a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/dde_bsd/src/drivers/audio/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ class Audio_out::Out
p_left->mark_as_played();
p_right->mark_as_played();

_advance_position(p_left, p_right);
} else {
_play_silence();
}

_advance_position(p_left, p_right);

/* always report when a period has passed */
Session_component *channel_left = channel_acquired[LEFT];
Expand Down

0 comments on commit e3f301a

Please sign in to comment.