Skip to main content

Topic: ASIO problem | repeatedly play/pause quickly = playback error: Timeout (Read 5565 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • hori
  • [*]
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
  • Last Edit: 21 May, 2012, 02:34:47 PM by db1989

  • hori
  • [*]
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?

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
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.

  • hori
  • [*]
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.

  • Dexter_prog
  • [*][*][*]
ASIO problem | repeatedly play/pause quickly = playback error: Timeout
Reply #6
Sorry to bump this but I'm facing the same problem occasionally.

  • stickfish
  • [*]
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.

  • Dexter_prog
  • [*][*][*]
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.

  • Masza
  • [*]
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.
  • Last Edit: 23 August, 2016, 12:31:09 PM by Masza

  • kode54
  • [*][*][*][*][*]
  • Administrator
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.

  • Masza
  • [*]
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.
  • Last Edit: 25 August, 2016, 01:13:04 PM by Masza