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 835

Summary: SDL_GetAudioDeviceName(1,0) on OSS target reports NULL.
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Linux   

Description Ryan C. Gordon 2009-10-09 23:42:14 UTC
This might not be a bug, I have to look at what the docs say and what we're doing.

loopwave will report...

  Using audio driver: dsp
  Using audio device: (null)

...when using the OSS target. In theory, this should have a real name, even though we're using SDL_OpenAudio() instead of SDL_OpenAudioDevice().

--ryan.
Comment 1 Ryan C. Gordon 2009-10-09 23:42:37 UTC
Assigning to myself, but won't look at until after 1.2.14 ships.

--ryan.
Comment 2 Ryan C. Gordon 2010-01-13 20:40:20 UTC
This was a brainfart on my part. SDL_GetAudioDeviceName(1,x) doesn't mean "the default device from legacy SDL_OpenAudio() call."

I removed the wrong code from loopwave.c in svn revision #5476.

--ryan.