summaryrefslogtreecommitdiffstats
path: root/src/utils/padsp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix up some double spacesMaarten Bosmans2011-03-181-3/+3
|
* padsp: wrap __open_2 and __open64_2Michal Schmidt2011-01-101-9/+52
| | | | | | These functions are used in OSS programs where the "flags" parameter for open() is not a build-time constant and the build has _FORTIFY_SOURCE enabled.
* padsp: emulate /dev/audio, tooLennart Poettering2010-02-211-35/+20
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=561262
* core-util: unify how we determine the temporary directoryLennart Poettering2009-09-171-10/+1
|
* Improve TMPDIR handlingLennart Poettering2009-09-171-1/+14
| | | | | | Patch from 'jnelson', http://pulseaudio.org/ticket/653
* padsp: properly return return values (llvm-clang-analyzer)Lennart Poettering2009-09-081-3/+3
|
* core-util: replace remaining fixed size destination string functions by ↵Lennart Poettering2009-08-011-3/+5
| | | | | | | | | | _malloc() versions This helps portability to GNU/Hurd. Patch originally from Samuel Thibault but modified. Closes ticket #546
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* padsp: don't use si if it's NULLMarc-André Lureau2009-02-191-2/+2
|
* Allow access("/dev/dsp", W_OK) succeedLennart Poettering2008-12-181-5/+5
| | | | | | | Some stupid apps (such as X-lite Softphone) check for W_OK on /dev/dsp. This is of course crazy but easy for us to support. Closes rhbz #474313
* inform dsp_empty_socket() *after* we emptied the dsp socket, that it is now ↵Lennart Poettering2008-10-021-4/+9
| | | | empty
* use PA_STREAM_EARLY_REQUESTS for OSS streamsLennart Poettering2008-09-031-1/+1
|
* fix a few compiler warnings on older gccLennart Poettering2008-08-291-1/+1
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-16/+16
|
* fix error path (spotted by Coling Guthrie)Lennart Poettering2008-08-051-1/+3
|
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-5/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge r2183 from prepare-0.9.10Lennart Poettering2008-03-311-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2199 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Improve compatibility with applications which like to pass invalid strings ↵Lennart Poettering2008-02-151-72/+60
| | | | | | to the libc functions we overwrite, by handing directly to the original function. Patch by Colin Guthrie and Gustavo De Nardin, Closes #227 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2106 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-29/+42
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make sure mixer ioctls work on /dev/dsp aswell.Pierre Ossman2007-06-131-3/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1473 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Support stat() and friends as some programs (audacity) likes to check ifPierre Ossman2007-06-111-0/+196
| | | | | | | the device node is there first. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1467 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add support for the poorly documented SNDCTL_DSP_GETTRIGGER.Pierre Ossman2007-06-041-0/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1466 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Kill spaces on EOLLennart Poettering2007-05-291-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1465 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a few obvious copynpaste errors when handling volumesLennart Poettering2007-05-231-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1444 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add support for SNDCTL_DSP_SETTRIGGER. (closes #56)Pierre Ossman2007-03-071-9/+87
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1437 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add copyright notices to all relevant files. (based on svn log)Pierre Ossman2007-02-131-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make sure we report success for SNDCTL_DSP_SETDUPLEX.Pierre Ossman2007-01-191-0/+5
| | | | | | | (Patch by ZlatkO) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1422 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Report IO error on ioctl() when we're in a fatal error state.Pierre Ossman2007-01-041-0/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1421 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Free stream objects when they've been invalidated.Pierre Ossman2007-01-041-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1420 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix error messages for failure connecting streams.Pierre Ossman2007-01-041-2/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1419 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Huge trailing whitespace cleanup. Let's keep the tree pure from here on,Pierre Ossman2007-01-041-139/+139
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some missing line breaks.Pierre Ossman2006-11-061-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1410 fefdeb5f-60dc-0310-8127-8f9354f1896f
* The OSS spec is unclear what should happen when a reset is requested. Let'sPierre Ossman2006-11-061-1/+9
| | | | | | | have a nicer attitude and keep as much settings as possible. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1406 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Stop using x86-isms and use ISO C (oversized shifts are undefined).Pierre Ossman2006-09-141-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1397 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix debug output for SNDCTL_DSP_SETFRAGMENT.Pierre Ossman2006-09-141-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1396 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a bogus debug lineLennart Poettering2006-09-061-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1374 fefdeb5f-60dc-0310-8127-8f9354f1896f
* implement a few more ioctl()s, including a subset of SNDCTL_DSP_GETOPTR. ↵Lennart Poettering2006-09-061-5/+72
| | | | | | Just enough to make JavaSound work. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1373 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Merge FreeBSD compatibility patch (from Flameeyes)Lennart Poettering2006-09-021-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1359 fefdeb5f-60dc-0310-8127-8f9354f1896f
* work around bug in firefox which apparently misuses access() as NULL pointer ↵Lennart Poettering2006-08-311-0/+7
| | | | | | test. Original patch by "alon". (Closes #27) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1352 fefdeb5f-60dc-0310-8127-8f9354f1896f
* We need to have a callback when changing volume or we might deadlock.Pierre Ossman2006-08-301-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1345 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make pulseaudio compile again on FreeBSD (patch from Diego "Flameeyes" Petteno)Lennart Poettering2006-07-161-6/+52
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1096 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Don't call pa_path_get_filename() anymore since it is implicitly called by ↵Lennart Poettering2006-07-141-1/+1
| | | | | | pa_get_binary_name() anyway git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1078 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix handling of the io flags in duplex mode.Pierre Ossman2006-06-201-17/+21
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1048 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Warn when applications use SNDCTL_DSP_GET[IO]PTR even when they shouldn't.Pierre Ossman2006-06-201-1/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1047 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make fix_metrics() exit early so that it doesn't spam the output needlessly.Pierre Ossman2006-06-201-0/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1046 fefdeb5f-60dc-0310-8127-8f9354f1896f
* s/POLYP/PULSE/gLennart Poettering2006-06-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1041 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"Lennart Poettering2006-06-191-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1036 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big s/polyp/pulse/gLennart Poettering2006-06-191-7/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle clients that just want to set fragment size (and not count).Pierre Ossman2006-06-191-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1030 fefdeb5f-60dc-0310-8127-8f9354f1896f