callback watchdog -- warn when sound device stops working

Bug #1296914 reported by RJ Skerry-Ryan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Wishlist
Unassigned

Bug Description

Add a callback watchdog to SoundDevicePortAudio.

* Start a timer on a 2-5s interval.
* Callbacks record their time in member state or reset a PerformanceTimer.
* If a callback has not been received within those 2-5s, the watchdog should:

1) Notify the user via a pop-up that a sound device is not responding.
2) Pop sound hardware preference section.

This would help notify users when a device they chose doesn't work or stops working (gets unplugged).

Tags: polish
RJ Skerry-Ryan (rryan)
tags: added: polish
Changed in mixxx:
milestone: none → 1.12.0
importance: Undecided → Low
importance: Low → Wishlist
status: New → Confirmed
Revision history for this message
Owen Williams (ywwg) wrote :

We could also trap USB connect / disconnect events, that might be less overhead than a watchdog. (I guess someone might be using a firewire sound card though)

RJ Skerry-Ryan (rryan)
summary: - callback watchdog
+ callback watchdog -- warn when sound device stops working
Revision history for this message
Daniel Schürmann (daschuer) wrote :

We can just count the callback calls.
If the value constantly increases, everything is working.

Changed in mixxx:
milestone: 2.0.0 → none
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/7361

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.