Mercurial > sdl-ios-xcode
annotate CREDITS @ 5082:de59e0218aa2
Fixed bug #1011
Daniel Ellis 2010-06-25 15:20:31 PDT
SDL based applications sometimes display the wrong application name in the
Sound Preferences dialog when using pulseaudio.
I can see from the code that the SDL pulse module is initiating a new pulse
audio context and passing an application name using the function
get_progname().
The get_progname() function returns the name of the current process. However,
the process name is often not a suitable name to use. For example, the OpenShot
video editor is a python application, and so "python" is displayed in the Sound
Preferences window (see Bug #596504), when it should be displaying "OpenShot".
PulseAudio allows applications to specify the application name, either at the
time the context is created (as SDL does currently), or by special environment
variables (see http://www.pulseaudio.org/wiki/ApplicationProperties). If no
name is specified, then pulseaudio will determine the name based on the
process.
If you specify the application name when initiating the pulseaudio context,
then that will override any application name specified using an environment
variable.
As libsdl is a library, I believe the solution is for libsdl to not specify any
application name when initiating a pulseaudio context, which will enable
applications to specify the application name using environment variables. In
the case that the applications do not specify anything, pulseaudio will fall
back to using the process name anyway.
The attached patch removes the get_progname() function and passes NULL as the
application name when creating the pulseaudio context, which fixes the issue.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 23 Jan 2011 21:55:04 -0800 |
parents | 1ed5d432e468 |
children |
rev | line source |
---|---|
0 | 1 |
2 Simple DirectMedia Layer CREDITS | |
3 Thanks to everyone who made this possible, including: | |
4 | |
5 * Cliff Matthews, for giving me a reason to start this project. :) | |
6 -- Executor rocks! *grin* | |
7 | |
828
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
8 * The Linux Fund, C Magazine, Educational Technology Resources Inc., |
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
9 Gareth Noyce, Jesse Pavel, Keith Kitchin, Jeremy Horvath, Thomas Nicholson, |
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
10 Hans-Peter Gygax, the Eternal Lands Development Team, Lars Brubaker, |
85ba077211bc
Lots of people have contributed cash. :)
Sam Lantinga <slouken@libsdl.org>
parents:
827
diff
changeset
|
11 and Phoenix Kokido for financial contributions |
470 | 12 |
2987
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
13 * Edgar "bobbens" Simo for his force feedback API development during the |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
14 Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
15 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
16 * Aaron Wishnick for his work on audio resampling and pitch shifting during |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
17 the Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
18 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
19 * Holmes Futrell for port of SDL to the iPhone and iPod Touch during the |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
20 Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
21 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
22 * Darren Alton for port of SDL to the Nintendo DS during the Google Summer |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
23 of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
24 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
25 * Szymon "Wilku" Wilczek for adding support for multiple mice and tablets |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
26 during the Google Summer of Code 2008 |
5b8865f87df1
Added the Google Summer of Code folks to the credits.
Sam Lantinga <slouken@libsdl.org>
parents:
2976
diff
changeset
|
27 |
3034
0e821769fc51
Fixed NULL pointer dereference
Sam Lantinga <slouken@libsdl.org>
parents:
3005
diff
changeset
|
28 * Marty Leisner, Andrew, Will, Edgar Simo, Donny Viszneki, Andrea Mazzoleni, |
3041
20d65430e63c
Fixed OpenGL state issue reported by Dmytro Bogovych
Sam Lantinga <slouken@libsdl.org>
parents:
3034
diff
changeset
|
29 Dmytro Bogovych, and Couriersud for helping find SDL 1.3 bugs in the great |
20d65430e63c
Fixed OpenGL state issue reported by Dmytro Bogovych
Sam Lantinga <slouken@libsdl.org>
parents:
3034
diff
changeset
|
30 SDL Bug Hunt of January 2009! |
3005
7b7a25d08829
Added Donny Viszneki to the credits for finding and fixing SDL 1.3 bugs
Sam Lantinga <slouken@libsdl.org>
parents:
2987
diff
changeset
|
31 |
7b7a25d08829
Added Donny Viszneki to the credits for finding and fixing SDL 1.3 bugs
Sam Lantinga <slouken@libsdl.org>
parents:
2987
diff
changeset
|
32 * Donny Viszneki for helping fix SDL 1.3 bugs in the great SDL Bug Hunt of |
7b7a25d08829
Added Donny Viszneki to the credits for finding and fixing SDL 1.3 bugs
Sam Lantinga <slouken@libsdl.org>
parents:
2987
diff
changeset
|
33 January 2009! |
2946
29e1f863a844
Kicking off the great SDL Bug Hunt for January 2009
Sam Lantinga <slouken@libsdl.org>
parents:
2225
diff
changeset
|
34 |
3101
7b1da3f37f97
Added credits for OpenGL 3.0 support
Sam Lantinga <slouken@libsdl.org>
parents:
3041
diff
changeset
|
35 * Luke Benstead for OpenGL 3.0 support |
7b1da3f37f97
Added credits for OpenGL 3.0 support
Sam Lantinga <slouken@libsdl.org>
parents:
3041
diff
changeset
|
36 |
470 | 37 * Gaëtan de Menten for writing the PHP and SQL behind the SDL website |
159
9841293e9e86
Time to recognize everyone again. :)
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
38 |
827
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
39 * Tim Jones for the new look of the SDL website |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
40 |
470 | 41 * Ryan Gordon for helping everybody out and keeping the dream alive. :) |
42 | |
43 * Mattias Engdegård, for help with the Solaris port and lots of other help | |
0 | 44 |
1621 | 45 * Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the Mac OS X port |
0 | 46 |
3161
494559cc723b
OpenPandora support added by David Carré
Sam Lantinga <slouken@libsdl.org>
parents:
3101
diff
changeset
|
47 * David Carré, for the Pandora port |
0 | 48 |
3161
494559cc723b
OpenPandora support added by David Carré
Sam Lantinga <slouken@libsdl.org>
parents:
3101
diff
changeset
|
49 * Couriersud for the DirectFB driver |
494559cc723b
OpenPandora support added by David Carré
Sam Lantinga <slouken@libsdl.org>
parents:
3101
diff
changeset
|
50 |
827
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
51 * Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation |
470 | 52 |
827
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
53 * Arne Claus, for the 2004 winning SDL logo, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
54 and Shandy Brown, Jac, Alex Lyman, Mikkel Gjoel, #Guy, Jonas Hartmann, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
55 Daniel Liljeberg, Ronald Sowa, DocD, Pekka Jaervinen, Patrick Avella, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
56 Erkki Kontilla, Levon Gavalian, Hal Emerich, David Wiktorsson, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
57 S. Schury and F. Hufsky, Ciska de Ruyver, Shredweat, Tyler Montbriand, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
58 Martin Andersson, Merlyn Wysard, Fernando Ibanez, David Miller, |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
59 Andre Bommele, lovesby.com, Francisco Camenforte Torres, and David Igreja |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
60 for other logo entries. |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
61 |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
62 * Bob Pendleton and David Olofson for being long time contributors to |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
63 the SDL mailing list. |
b10aeac509ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
470
diff
changeset
|
64 |
470 | 65 * Everybody at Loki Software, Inc. for their great contributions! |
0 | 66 |
67 And a big hand to everyone else who gave me appreciation, advice, | |
68 and suggestions, especially the good folks on the SDL mailing list. | |
69 | |
70 THANKS! :) | |
71 | |
72 -- Sam Lantinga <slouken@libsdl.org> | |
73 |