diff options
| -rw-r--r-- | src/modules/bluetooth/module-bluetooth-device.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index d5c2a87c..3e09611e 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -1126,6 +1126,8 @@ static void thread_func(void *userdata) {                  }                  if (writable && do_write) { +                    if (u->write_index == 0) +                        u->started_at = pa_rtclock_usec();                      if (u->profile == PROFILE_A2DP) {                          if (a2dp_process_render(u) < 0)  | 
