Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: WASAPI output plugin (Read 146997 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

WASAPI output plugin

Reply #75
v0.9.6.7 solves my playback problems. Thanks to the Foobar2000 developers!

WASAPI output plugin

Reply #76
Thanks for this new version.
I found out that playing with the buffer length make all the difference.

for example I could play a 5.1 48kHz 24bit track with a max. buffer length of 900 ms.
But to play a 5.1 96kHz 24 track I had to lower it to 450 ms.
So double the (output) bitrate, half the buffer time 
(Is there an about 380kB buffer limitation somewhere?)

So, that's acceptable. The only thing left (for me) now is the "missing buffer's length of audio" after using pause.
In theory, there is no difference between theory and practice. In practice there is.

WASAPI output plugin

Reply #77
read the thread and I cant seem to find a link to the wasapi developers page. Is there a page with descriptions of the versions and bugs, etc...?

WASAPI output plugin

Reply #78
Hello,

I am a noobie and trying to use WASAPI with my yellowtec external soundcard. I have got the relevant dll in the components folder but everytime I try to play I get the following error message:

Unrecoverable playback error: Unsupported stream format: 44100 Hz / 16-bit / 2 channels

I have tried different bit rates and played with buffer settings as some members mentioned but nothing seems to work. I also tried PPHS DSP but its also does not solve my issue. With DS it works fine.

My PC is Vista 32-bit with SP2 and foobar player version is latest 0.9.6.9.

I will appreciate any help as I am running out of ideas

Thanks

 

WASAPI output plugin

Reply #79
Quote
I have tried different bit rates and played with buffer settings

Also try different bit depths: 24-bit, 32-bit.

WASAPI output plugin

Reply #80
Quote
I have tried different bit rates and played with buffer settings

Also try different bit depths: 24-bit, 32-bit.


Sorry for my confused problem description. What I meant was I tried different output data formats (8, 16, 24 & 32), which I think is what you are referring to, and all of them give me the same error message.

WASAPI output plugin

Reply #81
Just tried using this plugin since recently moved to Vista 64bit. I get the following error on the console;

Playing
Opening track for playback: "S:\Music T to Z\The Gypsy Sons\The Gypsy Sons - 2009 - Walking On The Water\01 - Walking On the Water.mp3"
Unrecoverable playback error: Not enough storage is available to complete this operation.  (0x8007000E)

... and yes there is oceans of room on S:!

Any ideas?

WASAPI output plugin

Reply #82
Is there any chance this plugin could support WASAPI shared mode too? (I just noticed iTunes 9 does it )
"Lifting Shadows Off a Dream"

WASAPI output plugin

Reply #83
What would be the difference with DirectSound then?
Full-quoting makes you scroll past the same junk over and over.


WASAPI output plugin

Reply #85
The only thing left (for me) now is the "missing buffer's length of audio" after using pause.

Remove the Realtek driver and use the MS driver.

Thanks, that works . Now the fading (at stop. seek, pause) don't work anymore, but that is less important to me. Strange are the ways of Windows Audio.
In theory, there is no difference between theory and practice. In practice there is.

WASAPI output plugin

Reply #86
I've tried using the plugin but have run into issues with some 32 KHz samples. They give the unsupported format error when trying to output over S/PDIF (I forget the exact error message). Is there some sort of conditional resampler I could use to overcome this limitation?

WASAPI output plugin

Reply #87
The only thing left (for me) now is the "missing buffer's length of audio" after using pause.

Remove the Realtek driver and use the MS driver.

Thanks, that works .

I'm back to the Realtek driver  . I wanted to switch back to a multi channel setup (4.0 for the moment) but the MS driver would not let me configure anything else than 2.0. The Realtek driver let's me choose between 2.0 4.0 and 5.1.
In theory, there is no difference between theory and practice. In practice there is.

WASAPI output plugin

Reply #88
Just tried using this plugin since recently moved to Vista 64bit. I get the following error on the console;

Playing
Opening track for playback: "S:\Music T to Z\The Gypsy Sons\The Gypsy Sons - 2009 - Walking On The Water\01 - Walking On the Water.mp3"
Unrecoverable playback error: Not enough storage is available to complete this operation.  (0x8007000E)

... and yes there is oceans of room on S:!

Any ideas?


Had the exact same problem after switching to Windows 7 x64 (from Vista x64). In my case, though, it only applied to 96/24 stereo FLAC (5.1 48/24 seems to work fine) in WASAPI mode. I managed to get it to work by reducing the buffer length to 450ms, but now the audio is skipping like mad after a while.
I'll keep messing with the buffer settings, we'll see if I can fix it, but if anyone has any suggestions, it'd be greatly appreciated.

WASAPI output plugin

Reply #89
Vista 32bit SP2 (+all security updates)
Maudio Revolution 5.1 (driver 5.10.0.5064)
foobar2k 0.9.6.9
wasapi 2.1

44,1khz 16bit audio runs fine with wasapi.

96khz 24bit and 48khz 24bit don't.

Code: [Select]
"Unrecoverable playback error: Unsupported stream format: 48000 Hz / 24-bit / 2 channels"


i'm using asio instead, should do the same for me(no resampling, bitexact)

thx!

WASAPI output plugin

Reply #90
Sorry to those who are irked by thread resurrections, I decided to please the anti-frivolous-thread-creation personalities instead.
What would be the difference with DirectSound then?

There probably isn't a difference in use, but is there a technical difference? I'm just wondering, since Windows 7 is out, if the WASAPI plugin can be updated to support all the latest essential functionality that WASAPI on Windows 7 provides. However, if Vista is the lowest common denominator here causing problems here and there with implementation, then I guess the plugin is sufficient as it is.

Can WASAPI shared mode (or even exclusive mode) work with playback crossfading in FB2K?

WASAPI output plugin

Reply #91
I've got a weird problem with this output plugin on my Win7 x64 system using an ATI 5670 and the Realtek ATI HDMI driver. The sound playback is perfect, but when I hit pause, I get a period of silence equal to the (buffer length - ~100ms), followed by the last 100ms or so of audio that was played. This repeats over and over until I hit play again. Changing the buffer length only seems to alter the amount of "silence" before the sound plays again.

I have weird skipping/popping sounds when using DS output so I'd REALLY like to use the WASAPI plugin, but if I can't pause that's kind of a problem.

WASAPI output plugin

Reply #92
The silence on resume becomes imperceptible to me with a 50ms buffer.

Is there a possibility for an option to release the exclusive mode control on pause?

Thanks.

WASAPI output plugin

Reply #93
Dear All,

I have an ATI 5830 card with the latest driver installed
My problem with WASAPI is that whenever I open a webpage or image etc during playback, sound mutes for a while
I tried playing with the buffer settings but the problem still persists

Any suggestions please?
Many thanks

WASAPI output plugin

Reply #94
Try really huge buffer size first. Like 2-4 seconds.
maiko.elementfx.com

WASAPI output plugin

Reply #95
I've got a weird problem with this output plugin on my Win7 x64 system using an ATI 5670 and the Realtek ATI HDMI driver. The sound playback is perfect, but when I hit pause, I get a period of silence equal to the (buffer length - ~100ms), followed by the last 100ms or so of audio that was played. This repeats over and over until I hit play again. Changing the buffer length only seems to alter the amount of "silence" before the sound plays again.

I have weird skipping/popping sounds when using DS output so I'd REALLY like to use the WASAPI plugin, but if I can't pause that's kind of a problem.


Hi all.  This my first post here.
I am having the exact same problem as described by Mordred.  The WASAPI plugin works great in all respects except when I pause the audio I get the same repeating audio as he described.  I also have Windows 7 x64 using ATI4850 and the Realtek ATI HDMI driver.  Has anyone else had this problem or found a fix?
I love the WASAPI function and it is only a minor nuisance not to be able to use the PAUSE button, but it is a nuisance.

WASAPI output plugin

Reply #96
Those ATI HDMI outputs should work perfectly well without Realtek's drivers on your OS. Try uninstalling the driver and test WASAPI again. Also skipping with DS output suggests that there is something silly going on elsewhere in the machine. DPC Latency Checker will probably show spikes. Would be good idea to try and solve that.

WASAPI output plugin

Reply #97
Hi, Everyone

I've got Windows 7 Ultimate, an EMU 0404 soundcard (with the latest drivers), and foobar2000, v1.0.3.

I can't get the WASAPI plug-in to work at all.  I consistently get the following error:
"Unrecoverable playback error: Endpoint creation failed (0x8889000F)"

Is there any hope?

Thanks in advance,

~esa


WASAPI output plugin

Reply #98
Quote
Those ATI HDMI outputs should work perfectly well without Realtek's  drivers on your OS. Try uninstalling the driver and test WASAPI again.  Also skipping with DS output suggests that there is something silly  going on elsewhere in the machine. DPC  Latency Checker will probably show spikes. Would be good idea to  try and solve that.

This is in a HTPC and I need the Realtek HDMI drivers for surround sound. You were correct about the DS output though. I tried the DPC Latency Checker and turns out that my network card is at fault. My latency regularly reaches hits 40k microseconds. Turns out this is a pretty common problem with builtin Realtek NICs on Motherboards. I just ordered an Intel NIC which should fix the problem permanently and I can go back to using the DS driver.

Thanks for the troubleshooting tips.

WASAPI output plugin

Reply #99
Hi, Everyone

I've got Windows 7 Ultimate, an EMU 0404 soundcard (with the latest drivers), and foobar2000, v1.0.3.

I can't get the WASAPI plug-in to work at all.  I consistently get the following error:
"Unrecoverable playback error: Endpoint creation failed (0x8889000F)"

Is there any hope?

Thanks in advance,

~esa


When I see this message it is because Windows is not recognizing the output device or speakers.  I have to fiddle with things until I get Windows to see the device.  Look at control panel/sound.