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 - SDL_AUDIODRIVER = disk raises assertion error
Summary: SDL_AUDIODRIVER = disk raises assertion error
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: HG 2.1
Hardware: x86_64 FreeBSD
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.4
Depends on:
Blocks:
 
Reported: 2015-06-24 06:45 UTC by Marcus von Appen
Modified: 2015-06-30 17:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.