We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3032

Summary: SDL_AUDIODRIVER = disk raises assertion error
Product: SDL Reporter: Marcus von Appen <mva>
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 Keywords: target-2.0.4
Version: HG 2.1   
Hardware: x86_64   
OS: FreeBSD   

Description Marcus von Appen 2015-06-24 06:45:48 UTC
Using the "disk" driver as SDL_AUDIODRIVER in SDL 2.0.4 RC* causes an assertion trap:

WARN: 

Assertion failure at SDL_AudioDetectDevices_Default (/home/marcus/devel/projects/extern/SDL/src/audio/SDL_audio.c:167), triggered 1 time:
  'current_audio.impl.OnlyHasDefaultOutputDevice'
Comment 1 Sam Lantinga 2015-06-27 02:13:29 UTC
I just tried this with the loopwave test program and didn't get the assert. Can you provide a test program or instructions on how to reproduce this?
Comment 2 Ryan C. Gordon 2015-06-27 05:32:32 UTC
(In reply to Sam Lantinga from comment #1)
> I just tried this with the loopwave test program and didn't get the assert.
> Can you provide a test program or instructions on how to reproduce this?

I can trigger it, will fix.

--ryan.
Comment 3 Ryan C. Gordon 2015-06-30 17:51:12 UTC
This is fixed in https://hg.libsdl.org/SDL/rev/d857f324bede, thanks!

--ryan.