Skip to main content

Topic: WASAPI - no sound in another program after pause (Read 3182 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
WASAPI - no sound in another program after pause
Hi,

This behavior doesn´t work for me. I don´t hear any sound in any program when a music in foobar2000 is paused but if the music is stopped then the sound works.

I am using foobar2000 v1.2 and WASAPI output support 3.1.

  • Rollin
  • [*][*][*][*]
WASAPI - no sound in another program after pause
Reply #1
Quote
WASAPI output support
Adds Windows Audio Session API exclusive mode output support, allowing bit-exact output and muting all other sounds. Windows Vista SP1 or newer required.

WASAPI - no sound in another program after pause
Reply #2
Quote
WASAPI output support
Adds Windows Audio Session API exclusive mode output support, allowing bit-exact output and muting all other sounds. Windows Vista SP1 or newer required.



Yeah, I know but I am still not sure if muting all other sounds when playback is paused is intentional. If yes, it is definitely uncomfortable.

  • Kohlrabi
  • [*][*][*][*][*]
  • Global Moderator
WASAPI - no sound in another program after pause
Reply #3
Is there a reason you need to use WASAPI output, or, IOW,  is there a reason not to use DirectSound output, which can mix multiple audio sources?
It's only audiophile if it's inconvenient.

WASAPI - no sound in another program after pause
Reply #4
Is there a reason you need to use WASAPI output, or, IOW,  is there a reason not to use DirectSound output, which can mix multiple audio sources?


Sure there is! No more discussion on "Why I am not using DirectSound output" topic, please!

  • kode54
  • [*][*][*][*][*]
  • Administrator
WASAPI - no sound in another program after pause
Reply #5
Freeing the device while paused would require the external WASAPI process to shut down output completely, then reopen it and refill the output buffer whenever pausing and unpausing. That is sure to cause other unwanted glitches.

WASAPI - no sound in another program after pause
Reply #6
Freeing the device while paused would require the external WASAPI process to shut down output completely, then reopen it and refill the output buffer whenever pausing and unpausing. That is sure to cause other unwanted glitches.


OK, now I am sure it´s not a bug, it´s a feature. Thank you, kode54! Maybe this one behavior could be added as optional feature. That could also easier fix unwanted glitches than this:

Quote
Stuttering
Some devices (most commonly USB DAC's) will start stuttering during playback when using WASAPI. This is due to a bug in Microsoft's WASAPI system itself, or in the stock Microsoft driver, where the circling buffers get out of order. Stopping and restarting playback is required to reset the stuttering.