Skip to main content

Topic: Unrecoverable playback error: Audio data format not supported by this  (Read 5335 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Magus
  • [*]
Unrecoverable playback error: Audio data format not supported by this
UPDATE: sorry, I did notice there was a tech support forum, but ended up forgetting to post this topic in there. Will a moderator please move it?

Hello. I was a bit skeptical about posting about this issue here, as it also involves a useful 3rd-party software named Virtual Audio Cable (version 4.10) that creates virtual audio devices (virtual cables that let you mix different audio streams so they can, for instance, be captured in a recording), but since Foobar is the only program that actually presented problems with it, I decided to do it. I use Windows 7 64-bit.

If Windows considers the virtual audio device to be 2-channel, 48000 Hz, 24 bit, Foobar works fine. In the Virtual Audio Cable Control Panel, all virtual cable devices are set in a way they support 5.1 channels (in fact, even more, since I'm having this issue and, thus, messed around with VAC), so this isn't the cause of the issue - I can even test the speakers in the 5.1 setup individually by testing the virtual device. However, even though the music I listen to though Foobar is stereo, I don't like being restricted to stereo rather than 5.1 (say, for games), so I go to Control Panel -> Sound, and under Playback, find the audio device and open its properties. Then I go to Advanced, Default Format and set it to 6-channel, 48000 Hz, 24 bit (my sound card - a Sound Blaster X-Fi Platinum - supports this - the corresponding audio device in Windows is configured for this too).

  • Last Edit: 19 October, 2011, 10:56:04 PM by Magus

  • shakey_snake
  • [*][*][*][*][*]
  • Moderator
Unrecoverable playback error: Audio data format not supported by this
Reply #1
Are you using DirectSound for output or a separate output component?

Manually specifying the output format the way it used to be in Foobar might be helpful for investigating this, but I'm not aware of how to do it now that Foobar automatically detects the supposedly appropriate output format.


You can use a x channel to x channel DSP in your fb2k DSP chain and the resampler DSP to force output format.
  • Last Edit: 20 October, 2011, 01:24:05 AM by shakey_snake
elevatorladylevitateme

  • Magus
  • [*]
Unrecoverable playback error: Audio data format not supported by this
Reply #2
Hmmm. By using the "Convert stereo to 4 channels" DSP, it works if the audio device is set to be 4-channel (and this doesn't work without the DSP ), but not 6-channel. Is there a "convert stereo to 5.1" DSP? Now we know the automatic format detection isn't perfect, at least with Virtual Audio Cable. It isn't right for there to be a need for this format forcing, is it?



I'm not using a separate output component, so I believe it's DirectSound.

  • kode54
  • [*][*][*][*][*]
  • Administrator
Unrecoverable playback error: Audio data format not supported by this
Reply #3
In Windows Vista and newer, the DirectSound output driver forces 32-bit floating point format. You can force enable the integer formats by forcing XP compatibility mode, but then you lose random neat things like the Vista file browser dialogs which actually have no theoretical file count limit and such.

  • Magus
  • [*]
Unrecoverable playback error: Audio data format not supported by this
Reply #4
I tried allowing up to 32 bits on the device (VAC Line 1), but it didn't make a difference.



Windows XP compatibility mode did not make it work either. I tried manually specifying 16-bit and 24-bit in the Foobar output preferences while in this mode.

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Unrecoverable playback error: Audio data format not supported by this
Reply #5
Quote
Is there a "convert stereo to 5.1" DSP?

foo_channel_mixer, foo_dsp_fsurround_beta, foo_dsp_mm, foo_dsp_upmix, and maybe more.

  • kode54
  • [*][*][*][*][*]
  • Administrator
Unrecoverable playback error: Audio data format not supported by this
Reply #6
Maybe it doesn't like WAVEFORMATEXTENSIBLE.

  • bsw11
  • [*][*][*]
Unrecoverable playback error: Audio data format not supported by this
Reply #7
Something you might try is using the WASAPI driver interface and lowering your buffer size or just lowering the buffer size on the current interface for that matter.  See my other post - that is what fixed my problem.  No clue why :-).

  • Magus
  • [*]
Unrecoverable playback error: Audio data format not supported by this
Reply #8
Hi. Sorry for the delay. If I force a 6-channel output via DSP - I'm using Channel Mixer (foo_channel_mixer) - it works. If I tell it to output less channels (even 5), it doesn't.

I read bsw11's suggestion and at first tried only changing the buffer length. Even a 50-ms buffer didn't make a difference when I picked Virtual Audio Cable 1 without a channel-changing DSP, but kept using the default output component... Then I switched to the WASAPI one and it worked. However, does anyone know why WASAPI is modifying the number of channels to 6 even without a DSP? I hear sound from the central speaker while listening to stereo music with no DSP!  In fact, if I force 2 channels via Channel Mixer, I still do!

Also, any cons about using WASAPI? I imagine there is a reason why it is not the preferrable audio output method...

Thanks!
  • Last Edit: 08 November, 2011, 07:06:10 AM by Magus

  • Magus
  • [*]
Unrecoverable playback error: Audio data format not supported by this
Reply #9
UPDATE: WASAPI causes either overflows or underflows after some time, depending on the buffer size set in Foobar, resulting in either audio corruption or silence. I imagine it's related to the "exclusive" nature of the device allocation. DirectSound has not caused this so far.