summaryrefslogtreecommitdiffstats
path: root/src/modules/module-default-device-restore.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-1/+1
|
* Get rid of some warnings: -Wunused-resultMaarten Bosmans2011-03-201-4/+4
| | | | | | | | | | | | | | | | modules/module-default-device-restore.c: In function ‘load’: modules/module-default-device-restore.c:67: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] modules/module-default-device-restore.c:88: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] pulsecore/authkey.c: In function ‘generate’: pulsecore/authkey.c:58: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] pulsecore/core-util.c: In function ‘pa_make_secure_dir’: pulsecore/core-util.c:261: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result [-Wunused-result]
* use pa_fopen_cloexec() where applicableLennart Poettering2009-10-301-4/+4
|
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-8/+5
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* explcitly ignore return values of some functions marked with gcc's ↵Lennart Poettering2009-04-141-2/+2
| | | | warn_unused_result attribute
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* store the default sink/source in proper pa_sink*/pa_source* pointers instead ↵Lennart Poettering2009-01-281-10/+12
| | | | of a string
* kill autoload stuff as plannedLennart Poettering2009-01-151-2/+2
|
* Modify pa_state_path() to take an additional argument for prepending the ↵Lennart Poettering2008-08-071-14/+2
| | | | machine id to the file name.
* include host name in default sink/default source fileLennart Poettering2008-08-061-4/+15
|
* make sure we don't leak userdata structLennart Poettering2008-08-031-1/+1
|
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* move default device from runtime to state dirLennart Poettering2008-05-211-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2478 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a misplaced assertLennart Poettering2008-05-181-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2463 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-26/+128
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* tag modules that may only be loaded once at most especially, and enforce ↵Lennart Poettering2007-11-091-6/+4
| | | | | | that in the module loader git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2043 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-0/+103
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f