| Summary: | Wrong application name appears in Sound Preferences when using pulseaudio | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Daniel Ellis <mail> |
| Component: | audio | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P1 | CC: | jspradlin, mail, moimael, slouken |
| Version: | HG 2.0 | Keywords: | target-2.0.0 |
| Hardware: | Other | ||
| OS: | Linux | ||
| Attachments: | Patch to not specify an application name when creating a pulse audio context. | ||
|
Description
Daniel Ellis
2010-06-25 15:20:31 UTC
Any progress on this bug ? It would be nice if we could fix this bug in openshot ! Thanks, your change is in the repository! This is fixed in SDL 1.3. The code for SDL 1.2 looks very different and might need additional review. This appears to have caused bug 1119. Can someone take a look and see what's going on here? Thanks! I suspect allowing NULL as a parameter to pa_context_new was introduced in a newer version at some point. So what we need to find out in order to handle old and new versions of PulseAudio is:- 1. Can we determine the version of PulseAudio at runtime? 2. Which version of PulseAudio introduced the ability to pass NULL as the application name? From the looks of SDL_pulseaudio.c it is already checking the PulseAudio version using: #if (PA_API_VERSION < 12) The doxygen for PulseAudio does not help much:- http://0pointer.de/lennart/projects/pulseaudio/doxygen/context_8h.html#a2784c754947a97f02c78b73d7b1c2d5f Does anyone know? Or do we have to go through the PulseAudio source history? Assigning to Ryan for his audio cleanup. Ryan, can you take a look and see if this is still active for the 2.0 release? (Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.) Tagging a bunch of bugs as target-2.0.0, Priority 1. This means we're in the final stretch for an official SDL 2.0.0 release! These are the bugs we really want to fix before shipping if humanly possible. That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.0 release, and generally be organized about what we're aiming to ship. Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment. Thanks! --ryan. |