diff options
-rw-r--r-- | audio/headset.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c index 3714989b..489cb09c 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -1067,6 +1067,9 @@ static DBusHandlerResult hs_disconnect(struct headset *hs, DBusMessage *msg) hs_signal(hs, "Disconnected"); + hs->data_start = 0; + hs->data_length = 0; + if (reply) send_message_and_unref(connection, reply); |