Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CoreAudio: add audio device module | Daniel Mack | 2009-12-16 | 2 | -1/+828 |
| | | | | | | | | | | | | This patch adds support for CoreAudio driven devices under Mac OS X. It is typically instanciated by the CoreAudio device detection module and handles all available streams on a specific device. Sinks are created according to the reported stream configuration. Float32 is used as default audio sample format at it is the only format CoreAudio speaks natively. Hardware volume control is not implemented yet. | ||||
* | CoreAudio: add device detection module | Daniel Mack | 2009-12-16 | 2 | -0/+243 |
| | | | | | | | This adds a new module for CoreAudio device detection. It registers a callback to detect hotplugged devices and creates/destroys modules named 'module-coreaudio-device'. Devices are identified via a system-wide unique AudioDeviceID. | ||||
* | hack around another OS X bug: recv() with MSG_PEEK does not work | Daniel Mack | 2009-12-16 | 1 | -0/+22 |
| | | | | | | | At least for pipes, recv() with MSG_PEEK does actually eat up data from file descriptors. Hence, this can't be used for PULLHUP emulation. Use another ioctl hack for that. | ||||
* | poll() is totally broken on Mac OS X | Daniel Mack | 2009-12-16 | 12 | -40/+34 |
| | | | | | | Even on 10.5.8, poll() does not do the right thing. Haven't checked on newer versions. Hence, wrap all occurences of poll() to pa_poll and emulate that call with select() on OSX. This is totally embarassing. | ||||
* | src/Makefile.am: add specific OS_IS_DARWIN files | Kim Lester | 2009-12-09 | 1 | -2/+11 |
| | | | | | Signed-off-by: Kim Lester <kim@dfusion.com.au> Signed-off-by: Daniel Mack <daniel@caiaq.de> | ||||
* | core-rtclock.c: tweak OS_IS_DARWIN constraints | Daniel Mack | 2009-12-09 | 1 | -41/+28 |
| | | | | | Move the code for OS_IS_DARWIN to the top as on Darwin, HAVE_CLOCK_GETTIME is also defined. | ||||
* | Add a configure option to change 'udevrulesdir' | Arun Raghavan | 2009-12-06 | 1 | -1/+0 |
| | | | | | | | | | | | This patch serves two purposes: 1) Allows something other than the de-facto standard udev rules dir or /lib/udev/rules.d to be used (the udev build system allows you to customise this) 2) Allows a prefixed, non-root install (right now, the /lib/... path is hard-coded into the build system | ||||
* | Mark shared variables as volatile | Arun Raghavan | 2009-12-06 | 1 | -1/+4 |
| | | | | | | | | | 'n_waiting' and 'n_waiting_for_accept' may be accessed from mulitple threads, and thus need to be marked as volatile to suppres certain compiler optimisations. All uses are protected by a mutex, so we don't need to worry about cache issues (added documentation for this as well). This addresses bug #738. | ||||
* | stream-restore: At startup, create dbus entries only for valid database entries. | Tanu Kaskinen | 2009-12-03 | 1 | -2/+7 |
| | |||||
* | stream-restore: Add a missing pa_xnew0() call in handle_add_entry(). | Tanu Kaskinen | 2009-12-03 | 1 | -0/+1 |
| | |||||
* | stream-restore: Fix a few assertion misuses with the D-Bus code. | Tanu Kaskinen | 2009-12-03 | 1 | -5/+5 |
| | |||||
* | dbus: Add a missing break statement in handle_message_cb(). | Tanu Kaskinen | 2009-12-03 | 1 | -0/+1 |
| | |||||
* | dbus: Handle the cases when a non-existing interface is detected in an ↵ | Tanu Kaskinen | 2009-12-03 | 2 | -0/+9 |
| | | | | incoming message. | ||||
* | libpulse: Store pa_stream pointers to hashmaps instead of dynarrays. | Tanu Kaskinen | 2009-12-03 | 3 | -18/+17 |
| | | | | | | | | | Since the stream identifiers (channels) are monotonically growing integer, it isn't a good idea to use them as index to a dynamic array, because the array will grow all the time. This is not a problem with client connections that don't create many streams, but, for example, long-running clients that use libcanberra for playing event sounds, this means that the client connection effectively leaks memory. | ||||
* | Merge remote branch 'tanuk/master' | Colin Guthrie | 2009-11-30 | 1 | -0/+2 |
|\ | |||||
| * | Merge branch 'master' of git://0pointer.de/pulseaudio | Tanu Kaskinen | 2009-10-13 | 6 | -13/+19 |
| |\ | |||||
| * | | dbusiface-client: Fix the destructor (stop leaking stuff). | Tanu Kaskinen | 2009-10-09 | 1 | -0/+2 |
| | | | |||||
* | | | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-11-23 | 2 | -12/+27 |
|\ \ \ | |||||
| * \ \ | Merge remote branch 'phish3/master' | Lennart Poettering | 2009-11-23 | 2 | -12/+27 |
| |\ \ \ | |||||
| | * | | | src/utils/qpaeq: added more friendly error messages to common errors | Jason Newton | 2009-11-20 | 1 | -12/+26 |
| | | | | | |||||
| | * | | | Makefile.am: added qpaeq to installed scripts | Jason Newton | 2009-11-20 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | remove .py extension from qpaeq | Jason Newton | 2009-11-20 | 1 | -0/+0 |
| | | | | | |||||
* | | | | | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-11-22 | 24 | -385/+1182 |
|\| | | | | |||||
| * | | | | freebsd: implement pa_get_binary_name | Joe Marcus Clarke | 2009-11-21 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stolen from http://www.freebsd.org/cgi/cvsweb.cgi/ports/audio/pulseaudio/files/patch-src_pulse_util.c?rev=1.1 and fixed for indentation. | ||||
| * | | | | Simplify Makefile.am handling of ALSA-related files. | Diego Elio 'Flameeyes' Pettenò | 2009-11-21 | 1 | -31/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of declaring extra variables for the ALSA profiles and PATHS, and using EXTRA_DIST for the udev rule, use the dist_ prefix when declaring them for conditional installation. This relies on the fact that automake *is* smart enough to know that there exist *no* conditional dist, and will always distribute all of them. | ||||
| * | | | | Avoid using devname as a variable name. | Diego Elio 'Flameeyes' Pettenò | 2009-11-21 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | On FreeBSD, devname() is a system function, and was overshadowed. | ||||
| * | | | | Rename all the signal parameters and variables to something more explicit. | Diego Elio 'Flameeyes' Pettenò | 2009-11-21 | 10 | -309/+309 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Without this change, on FreeBSD you'll be bothered by tons of warnings about overshadowing signal(2). | ||||
| * | | | | Merge remote branch 'phish3/master' | Lennart Poettering | 2009-11-21 | 2 | -22/+611 |
| |\| | | | |||||
| | * | | | added qpaeq script for GUI equalizer control to src/util | Jason Newton | 2009-11-20 | 1 | -0/+546 |
| | | | | | |||||
| | * | | | module-equalizer-sink: add latency of output_q and input_q to get latency ↵ | Jason Newton | 2009-11-20 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | calculation | ||||
| | * | | | module-equalizer-sink: switch back to reference dsp implementation - cpu ↵ | Jason Newton | 2009-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage doesn't really change and there may be a bug in the vectorized version | ||||
| | * | | | module-equalizer-sink: (re)added output memblockq commented out timing debug ↵ | Jason Newton | 2009-11-20 | 1 | -19/+61 |
| | | | | | | | | | | | | | | | | | | | | statements | ||||
| * | | | | freebsd: fix atomic ops implementations | Joe Marcus Clarke | 2009-11-21 | 1 | -0/+104 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stole from http://www.freebsd.org/cgi/cvsweb.cgi/ports/audio/pulseaudio/files/patch-src_pulsecore_atomic.h?rev=1.6 | ||||
| * | | | | Include sys/filio.h if present; this makes use of FIONREAD on Solaris. | Diego Elio 'Flameeyes' Pettenò | 2009-11-20 | 2 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FIONREAD on OpenSolaris is declared in sys/filio.h. The RTP modules already rely on the presence of FIONREAD, and check for the header, so this brings the pipe source and sink modules on par with them. | ||||
| * | | | | Don't declare the variable l if FIONREAD is not defined. | Diego Elio 'Flameeyes' Pettenò | 2009-11-20 | 2 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | This avoids two warnings due to FIONREAD not being defined. | ||||
| * | | | | Fix build on Solaris: pass the third parameter to pa_cloexec_open. | Diego Elio 'Flameeyes' Pettenò | 2009-11-20 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | alsa: fix minor sampling rate deviations before adjusting the buffer size | Lennart Poettering | 2009-11-20 | 1 | -7/+9 |
| | | | | | |||||
| * | | | | alsa: fix log output when the audio device refuses to give us again the same ↵ | Lennart Poettering | 2009-11-20 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | period settings we had before | ||||
| * | | | | pulse: ask for timing updates both *before* and *after* triggering a stream ↵ | Lennart Poettering | 2009-11-20 | 1 | -2/+36 |
| | | | | | | | | | | | | | | | | | | | | state change so that in the STARTED/UNDERFLOW callbacks we accurate transport latency information | ||||
| * | | | | pulse: delay smoother update only when unpausing, not when pausing, since we ↵ | Lennart Poettering | 2009-11-20 | 1 | -17/+19 |
| | | | | | | | | | | | | | | | | | | | | don't want the timer to advance when we are supposedly already paused | ||||
| * | | | | pulse: try to fix inaccuracy with uncork timing for streams that are created ↵ | Lennart Poettering | 2009-11-20 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | in corked state | ||||
| * | | | | daemon: complain if user passes too many arguments | Lennart Poettering | 2009-11-20 | 1 | -0/+37 |
| |/ / / | |||||
* | | | | Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio | Lennart Poettering | 2009-11-20 | 6 | -70/+86 |
|\| | | | |||||
| * | | | rygel: fix itemCount property for sources | Lennart Poettering | 2009-11-18 | 1 | -11/+34 |
| | | | | | | | | | | | | | | | | Fixes http://pulseaudio.org/ticket/721 | ||||
| * | | | build-sys: Fix missing trailing slash in 14eaf2 | Colin Guthrie | 2009-11-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | build-sys: Make sure all alsa path config files are installed | Sjoerd Simons | 2009-11-15 | 1 | -39/+27 |
| | | | | | | | | | | | | | | | | | | | | While all alsa path configuration files were in EXTRA_DIST not all of them were in in alsapaths_DATA. Fixed by only defining the list in one place | ||||
| * | | | device-manager: Update docs version -> 0.9.20 | Colin Guthrie | 2009-11-11 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | Third time is a charm... maybe. | ||||
| * | | | core: make cpuid code compile cleanly with 32bit PIC | Lennart Poettering | 2009-11-11 | 1 | -2/+6 |
| | | | | |||||
| * | | | core: adjust volume only when there is actually a memory block | Lennart Poettering | 2009-11-11 | 1 | -5/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes an assert that is hit in somne niche cases: https://bugzilla.redhat.com/show_bug.cgi?id=533482 | ||||
| * | | | protocol: use the right sample rate for sources | Wim Taymans | 2009-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Use the correct sample rate for reporting about the timing. |