Closed Bug 1048238 Opened 10 years ago Closed 9 years ago

Make WASAPI always output to the system default output device

Categories

(Core :: Audio/Video, defect)

All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 698079

People

(Reporter: padenot, Assigned: padenot)

Details

Other audio APIs automatically re-route the audio stream to the new device when the system default changes, but it has to be handled manually in WASAPI.

We need to register a listener [0], and then implement the new cubeb API introduced in bug 1027713.

Then, we need to close and reopen the stream under the hood. This will make cubeb have the same behavior on all platforms: always use the system default output device regardless of what happens: plug/unplug usb headsets, change the system's default output device, etc.

[0]: http://msdn.microsoft.com/en-us/library/windows/desktop/dd371403%28v=vs.85%29.aspx
Assignee: nobody → paul
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.