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 - SDL_GetAudioDeviceName(1,0) on OSS target reports NULL.
Summary: SDL_GetAudioDeviceName(1,0) on OSS target reports NULL.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: HG 2.0
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-09 23:42 UTC by Ryan C. Gordon
Modified: 2010-01-13 20:40 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 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.