Commit graph

36 commits

Author SHA1 Message Date
Colin Guthrie
86dee05aec Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
Marc-André Lureau
7737b10ac6 hal-detect: make sure r is initialized, so we don't take random path 2009-02-19 04:46:42 +01:00
Lennart Poettering
c3b0d841d1 make module-hal-detect pick up all cards even when they have no device 0 2009-02-12 04:15:15 +01:00
Lennart Poettering
4a06af6081 make use of new functions pa_dbus_add_matches/pa_dbus_remove_matches 2009-01-29 03:31:42 +01:00
Lennart Poettering
a365c8212d include a few HAL properties in our card/sink/source properties for ALSA devices 2009-01-24 01:25:11 +01:00
Lennart Poettering
3be4c31ee0 rework module-hal-detect and make it use module-alsa-card instead of module-alsa-sink/-source 2009-01-22 00:26:34 +01:00
Lennart Poettering
29c7a28817 kill autoload stuff as planned 2009-01-15 20:07:13 +01:00
Lennart Poettering
b95539b18b actually unload the modules from a new stack frame 2008-12-17 21:20:51 +01:00
Lennart Poettering
b7026bf248 add a few more gcc warning flags and fix quite a few problems found by doing so 2008-08-19 22:39:54 +02:00
Lennart Poettering
432b4e5f7d don't use PA_GCC_UNUSED anymore 2008-08-09 16:20:29 +02:00
Lennart Poettering
34dd4a20f2 fix shutdown when --disallow-module-loading=1 is passed 2008-08-05 23:56:25 +02:00
Lennart Poettering
a5a7b79938 fix build without ALSA 2008-08-01 01:54:53 +03:00
Lennart Poettering
5150738333 a bit of pa_bool_t'ization 2008-07-31 21:25:58 +02:00
Lennart Poettering
4f3193dbef allow global tsched setting for all modules loaded by module-hal 2008-07-31 21:24:23 +02:00
Lennart Poettering
e3fb086681 make module-hal and module-ck live together in peace 2008-07-24 03:02:09 +02:00
Lennart Poettering
49f09d6d0e fix destruction of dbus modules: make sure we don't leave filter function registered after unreffing the dbus connection 2008-07-24 02:21:58 +02:00
Lennart Poettering
8ae83d618e get rid of svn $ keywords 2008-06-18 23:23:21 +03:00
Lennart Poettering
045c1d602d merge glitch-free branch back into trunk
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-05-15 23:34:41 +00:00
Lennart Poettering
d17bb53d3e Completely rework ALSA device selection code: choose the device to open depending on the requested number of channels and channel map. In most cases it will now suffice to set default-channels=6 to enable 5.1 sound for all devices that support it
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2050 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-13 17:37:44 +00:00
Lennart Poettering
e313fe1b3d tag modules that may only be loaded once at most especially, and enforce that in the module loader
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-11-09 18:25:40 +00:00
Lennart Poettering
a67c21f093 merge 'lennart' branch back into trunk.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-10-28 19:13:50 +00:00
Lennart Poettering
1e12e0ee8d Kill spaces on EOL
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1465 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-05-29 17:24:48 +00:00
Lennart Poettering
960b5cbd10 Fix build and only load OSS xor ALSA modules if both are available
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1440 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-05-22 23:38:22 +00:00
Pierre Ossman
0b14c02689 Don't fail if hal doesn't currently contain any devices. (closes #55)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1434 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-03-06 13:31:29 +00:00
Pierre Ossman
06211b7c8f Add copyright notices to all relevant files. (based on svn log)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-02-13 15:35:19 +00:00
Pierre Ossman
521daf6f0a Huge trailing whitespace cleanup. Let's keep the tree pure from here on,
mmmkay?


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
2007-01-04 13:43:45 +00:00
Lennart Poettering
e385d93e5a remove all occurences of
pa_logXXX(__FILE__":  
   
and replace them by 
  
   pa_logXXX("



git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1272 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-18 21:38:40 +00:00
Lennart Poettering
c86890d5e7 * only load an OSS driver for the first device of a sound card, similar to what is done for ALSA.
* fix a mem leak


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1217 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-12 13:18:34 +00:00
Shahms E. King
bb961569eb increase module argument buffer size to prevent truncating names
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1208 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-12 01:17:19 +00:00
Lennart Poettering
1d7b8e1ba7 use the HAL UDI for naming input/output devices
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1200 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-11 17:12:54 +00:00
Lennart Poettering
dcd3acc0b8 remove OSS specific code from module-hal-detect if HAVE_OSS is not set. Same for ALSA
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1195 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-11 16:29:46 +00:00
Lennart Poettering
59f1a67cb5 use the copied udi string as hash key for the device table, because the temporary one is freed when the function exits
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1192 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-11 15:05:02 +00:00
Shahms E. King
7ee7a23408 add HAL support for OSS devices and capability changes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1191 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-08 19:26:06 +00:00
Shahms E. King
b382df5868 clean up hal patch to use pa_xnew and timeval compatibility wrappers
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1190 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-07 20:29:31 +00:00
Lennart Poettering
d953870564 * add SVN $Id$ tags
* add a const


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1188 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-06 19:14:07 +00:00
Lennart Poettering
050b73912c merge HAL support from Shams E. King
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1187 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-08-06 16:16:50 +00:00