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: ASIO problem | repeatedly play/pause quickly = playback error: Timeout (Read 14083 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

ASIO problem | repeatedly play/pause quickly = playback error: Timeout

I'm faced with a problem in ASIO playback on foobar2000.

When I repeat Play and Pause very quickly while using ASIO driver,
I encounter a playback error "Unrecoverable playback error: Timeout".

I investigated the internal processing and found the following fact:

ASIO driver invokes bufferSwitch callback, and when ASIOStop is
called from ASIO host at the same time, the bufferSwitch callback
does occasionally not return control to the ASIO driver.
Therefore the ASIO driver keeps waiting and is not able to complete
the ASIOStop processing.

It seems to me the point of this problem is that the bufferSwitch
callback does not return the control.

Any advice will be greatly appreciated. Thank you.


ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #1
Not sure if this is the right place or if i should start a new thread:

I get the same error but I'm not repeatedly using play/pause, just playing tracks and then after a random amount of time the playback "sticks" and I receive that same error message.

if it helps:
I'm using an original mbox and the digidesign asio drivers that go with it.
winXP SP3 fully up to date
and here is the installed components list:
Code: [Select]
Core (2011-12-02 15:07:36 UTC)
foobar2000 core 1.1.10
foo_albumlist.dll (2011-12-02 15:06:12 UTC)
Album List 4.5
foo_audioscrobbler.dll (2012-02-21 12:41:33 UTC)
Audioscrobbler 1.4.7
foo_cdda.dll (2011-12-02 15:06:00 UTC)
CD Audio Decoder 3.0
foo_converter.dll (2011-12-02 15:05:44 UTC)
Converter 1.5
foo_dsp_std.dll (2011-12-02 15:06:12 UTC)
Standard DSP Array 1.0
foo_fileops.dll (2011-12-02 15:05:08 UTC)
File Operations 2.1.3
foo_freedb2.dll (2011-12-02 15:05:08 UTC)
freedb Tagger 0.6.4
foo_input_std.dll (2011-12-02 15:05:54 UTC)
Standard Input Array 1.0
foo_masstag.dll (2011-12-30 10:55:34 UTC)
Masstagger 1.8.4
foo_out_asio.dll (2012-05-11 11:17:32 UTC)
ASIO support 2.1.1
foo_rgscan.dll (2011-12-02 15:05:48 UTC)
ReplayGain Scanner 2.1.2
foo_ui_std.dll (2011-12-02 15:06:24 UTC)
Default User Interface 0.9.5
foo_unpack.dll (2011-12-02 15:05:24 UTC)
ZIP/GZIP/RAR Reader 1.6

ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #2
When performing playback of some tracks with different formats, ASIO plug-in repeats play and pause.
If the condition is as described above, I think the cause is the same.

You are using version 2.1.1 of foo_out_asio.dll also in my environment.
However, the problem does not seem to occur in version 1.2.7.

Not sure if this is the right place or if i should start a new thread:

I get the same error but I'm not repeatedly using play/pause, just playing tracks and then after a random amount of time the playback "sticks" and I receive that same error message.


ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #3
When performing playback of some tracks with different formats, ASIO plug-in repeats play and pause.
If the condition is as described above, I think the cause is the same.

You are using version 2.1.1 of foo_out_asio.dll also in my environment.
However, the problem does not seem to occur in version 1.2.7.

All the files are mp3 V0 encoded in Foobar from the original CDs.
Does ASIO not like VBR maybe?
Then again, I also get this when tuned into internet radio station, 128k mp3 stream (nominal)
Would that other earlier version work for you and if so where could I get a copy to see if it fixes my problem?

ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #4
Does ASIO not like VBR maybe?
No, there is no reason that there would be any interaction between these two technologies. VBR audio, like anything else, is decoded to a stream that is then sent to your hardware.

ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #5
All the files are mp3 V0 encoded in Foobar from the original CDs.
Does ASIO not like VBR maybe?
Then again, I also get this when tuned into internet radio station, 128k mp3 stream (nominal)


There are some PCM tracks with different sampling rates in my playlist.
It is not MP3.

However, if you want to play MP3 tracks with different sampling rate
(not bit rate), a switching between tracks would cause stop and then
restart.

Would that other earlier version work for you and if so where could I get a copy to see if it fixes my problem?


I'm sorry, I don't know.

ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #6
Sorry to bump this but I'm facing the same problem occasionally.

ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #7
Also ran into timeout problems. The only thing I've changed since 1.1.11 was playing with the buffer, from 168+ samples to 64 samples.

 

ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #8
They happen quite often, really. I can't explain why, and simply restarting the song solves it.

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #9
This problem is nasty. When you playback loud, change track or use seekbar the playback may jam and start to play x number of samples over and over again for couple of seconds.

The ASIO plugin available through foobar2000 site pauses ASIO driver on seek & change track and it seems the problem lies there as the op explained. This problem has been around so long I can't do but wonder why there hasn't been any updates.

But I found another ASIO plugin for foobar: https://sourceforge.net/projects/foobar2000-wasap2-output/
This one doesn't shift ASIO driver to pause mode when changing track or using seekbar. Works nice with ASIO4ALL at least. Damn, it even sounds better IMO. When I shift between these two I think the ASIO2 removes gloominess from the sound. Official ASIO and WASAPI plugins sound very similar to each other.

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #10
It cannot "sound better" as the original was also bit perfect. Either it is coloring the audio, making it louder, doing something else wrong, or it is actually doing nothing at all and you are mistaken.

It may behave better for you than the official components, but it lists unsubstantiated claims of better quality. Well, unless by better quality, the author means better quality of user experience.

Otherwise, if you think it literally sounds better, you need to substantiate those claims with DBT, or retract them. It may also be possible that your drivers are seriously broken, and that something really does sound better.

One interesting thing: Does that developer's WASAPI plug-in support shared mode? That's kind of useless since the only other benefit would be the low latency, but kind of neat if they managed to pull it off without any obvious errors.

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #11
It cannot "sound better" as the original was also bit perfect. Either it is coloring the audio, making it louder, doing something else wrong, or it is actually doing nothing at all and you are mistaken.

It may behave better for you than the official components, but it lists unsubstantiated claims of better quality. Well, unless by better quality, the author means better quality of user experience.

Otherwise, if you think it literally sounds better, you need to substantiate those claims with DBT, or retract them. It may also be possible that your drivers are seriously broken, and that something really does sound better.

I find out that it uses 32 bit ASIO driver and at least 32 bit ASIO4ALL using my GPU via HDMI as output can't use event (pull) mode. The official plugin has an option to use 64 bit driver and 64 bit ASIO4ALL is able to use event mode in my case.

ASIO2 and the official plugin sound the same when the later is in 32 bit mode. But using 64 bit and event mode with the later gives a different sound. I think that's because of push vs. event/pull.

I haven't done DBT and won't because I don't see any sense in doing that. I use my ears and select what sounds the best to me. These thoughts are just my comments and shouldn't be taken as the truth.

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #12
Hello, I have a NuPrime uDsD device. It is connected to a computer with Win10 OS. I have installed foobar as well as the SACD plugin and the foo_out_asio plugin. Still when I go to Foobar/Prefreences/Components/Playback/Output (as instructed by the guide book), the "foo_dsd_asio" option does not show up under the device menu. Does anybody have an idea of what can I do? Thanks a lot.

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #13
Hello, I have a NuPrime uDsD device. It is connected to a computer with Win10 OS. I have installed foobar as well as the SACD plugin and the foo_out_asio plugin. Still when I go to Foobar/Prefreences/Components/Playback/Output (as instructed by the guide book), the "foo_dsd_asio" option does not show up under the device menu. Does anybody have an idea of what can I do? Thanks a lot.
If you are using the foo_input_sacd-0.9.x series you don't need foo_dsd_asio (the ASIO proxy.)  For that matter you don't need ASIO with the 9.x versions.
In any case, did you run the installer for foo_dsd_asio (ASIOProxyInstall-0.8.2.exe)?  If so it should show up under foobar2000's output devices as "ASIO : foo_dsd_asio".  No problems here with Windows 10 (64 bit).

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #14
7 years passed and the bug still persists.
The plugin wasn't updated since 2012.
foo_out_asio.dll 1.2.7 doesn't detect ASIO devices properly due to probably W10.
ASIO2 doesn't work for me probably due to complicated F2K config.

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #15
Any problem described here is a bug in sound drivers. And Windows 10 doesn't prevent ASIO from being detected.

As may be apparent there isn't much interest to invent workarounds for driver bugs. The output exists as an option for devices that may work best with it. If yours doesn't there's little point in using it.

Re: ASIO problem | repeatedly play/pause quickly = playback error: Timeout

Reply #16
This problem is nasty. When you playback loud, change track or use seekbar the playback may jam and start to play x number of samples over and over again for couple of seconds.

The ASIO plugin available through foobar2000 site pauses ASIO driver on seek & change track and it seems the problem lies there as the op explained. This problem has been around so long I can't do but wonder why there hasn't been any updates.

But I found another ASIO plugin for foobar: https://sourceforge.net/projects/foobar2000-wasap2-output/
This one doesn't shift ASIO driver to pause mode when changing track or using seekbar.
Installed ASIO2 yesterday.  It did in fact solve the error as described in OP; however, it messed up my gapless playback - it's no longer gapless.  Is there some setting maybe that would fix it?