Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | poll() is totally broken on Mac OS X | Daniel Mack | 2009-12-16 | 1 | -7/+2 | |
| | | | | | | | | | | | | 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. | |||||
* | | headers: Some trivial fixes for some documentation typos | Mads Kiilerich | 2010-01-05 | 6 | -10/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note also the willneed/will_need inconsistency. I guess it could be nice to ASAP choose one of them and introduce a backward compatibility hack for the other. The issues was mostly found with: for a in $(grep -r '^[ /]\*.*()' $( find -name '*.[ch]') | sed 's,^.* \([^ ]*\)().*$,\1,g' | sort | uniq | grep ^pa_) do grep -rq "^.[^*].*\<$a(" $(find * -name '*.h') || echo $a done | |||||
* | | threaded-mainloop: Properly initialise m->n_waiting_for_accept to prevent ↵ | Daniel T Chen | 2010-01-05 | 1 | -0/+1 | |
|/ | | | | | | | | | | | | | deadlock Compiler optimisations have been seen to initialise m->n_waiting_for_accept to a positive non-zero value, so the while() in pa_threaded_mainloop_signal() never proceeds. Fix this by properly initializing m->n_waiting_for_accept in pa_threaded_mainloop_new(). Patch from Iain Bucław. https://bugs.launchpad.net/bugs/502992 | |||||
* | 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. | |||||
* | 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. | |||||
* | 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. | |||||
* | 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 | |||||
* | device-manager: Update docs version -> 0.9.20 | Colin Guthrie | 2009-11-11 | 1 | -12/+12 | |
| | | | | Third time is a charm... maybe. | |||||
* | device-manager: Update docs version -> 0.9.20 | Colin Guthrie | 2009-11-09 | 1 | -12/+12 | |
| | ||||||
* | volume: add pa_cvolume_inc_clamp function | Vladimir Kokarev | 2009-11-05 | 2 | -3/+11 | |
| | | | | | | added function to increase volume not exceeding specified limit simply changed PA_VOLUME_MAX to 'limit' in pa_cvolume_inc pa_cvolume_inc now calls pa_cvolume_inc_clamp with PA_VOLUME_MAX limit | |||||
* | use pa_fopen_cloexec() where applicable | Lennart Poettering | 2009-10-30 | 1 | -1/+1 | |
| | ||||||
* | use cloexec wrappers wherever applicable | Lennart Poettering | 2009-10-30 | 2 | -6/+2 | |
| | ||||||
* | libpulse: introduce PA_STREAM_RELATIVE_VOLUME | Lennart Poettering | 2009-10-29 | 2 | -2/+18 | |
| | ||||||
* | libpulse: explain semantics of pa_stream_connect_playback() in more detail | Lennart Poettering | 2009-10-28 | 1 | -1/+16 | |
| | ||||||
* | libpulse: introduce pa_context_get_tile_size() call | Lennart Poettering | 2009-10-28 | 2 | -3/+36 | |
| | ||||||
* | libpulse: add missing includes | Lennart Poettering | 2009-10-12 | 2 | -0/+4 | |
| | ||||||
* | device-manager: Rather than flagging the device as available, just include ↵ | Colin Guthrie | 2009-10-10 | 2 | -5/+2 | |
| | | | | the sink/source index with PA_INVALID_INDEX meaning unavailable | |||||
* | Merge remote branch 'coling/history' | Lennart Poettering | 2009-10-07 | 4 | -0/+579 | |
|\ | ||||||
| * | device-manager: Change the prefer/defer options to a single 'reorder' command. | Colin Guthrie | 2009-10-01 | 2 | -52/+13 | |
| | | | | | | | | | | | | We put in the devices from the wire into a hashmap and then add all like type device in the database and then order them based on priority (with the ones specified on the wire always being in that order at the top of the list. | |||||
| * | device-manager: Expose the priority lists in the protocol extension. | Colin Guthrie | 2009-10-01 | 2 | -1/+39 | |
| | | | | | | | | Also leave space for 'icon' and 'available' details too, althought currently this info is dummy. | |||||
| * | device-manager: Change the write function to a rename function. | Colin Guthrie | 2009-10-01 | 2 | -40/+16 | |
| | | | | | | | | | | | | | | The structure itself will contain various bits of info so exposing this fully to the client is a bad idea. By keeping to a rename operation we keep what we do store abstracted from the clients. Also fix some doxy comments. | |||||
| * | device-manager: Provide a method for prefering/defering a device. | Colin Guthrie | 2009-10-01 | 2 | -0/+90 | |
| | | | | | | | | | | | | | | | | | | | | This allows clients to edit the priroity order. What is not yet in place is the initialisation of that priority list when new devices are detected or the cleaning (remove holes) when devices are removed. In order to keep the storage transparent I will likely remove the write functionality and replace it with a simple rename method. I also still need to expose the priority itself when reading the data. | |||||
| * | device-manager: Provide a way for clients to enable/disable role-based ↵ | Colin Guthrie | 2009-10-01 | 2 | -0/+39 | |
| | | | | | | | | | | | | | | device-priority routing. The routing logic itself does not yet exist, but the command currently will unload/load module-stream-restore as approriate. (module-stream-restore would conflict with the role-based priority-routing). | |||||
| * | device-manager: Update docs version -> 0.9.19 (predicted) | Colin Guthrie | 2009-10-01 | 1 | -10/+10 | |
| | | ||||||
| * | device-manager: Fix copy+paste leftover | Colin Guthrie | 2009-10-01 | 1 | -1/+1 | |
| | | ||||||
| * | device-manager: Add an untested protocol extension. | Colin Guthrie | 2009-10-01 | 4 | -0/+475 | |
| | | | | | | | | This is effectively copied from the stream restore extension. | |||||
* | | Merge branch 'master' into dbus-work | Tanu Kaskinen | 2009-10-02 | 19 | -169/+277 | |
|\| | | | | | | | | | Conflicts: src/daemon/daemon-conf.c | |||||
| * | libpulse: Add *_NOFLAGS flags with value 0 for various enums | Colin Guthrie | 2009-09-22 | 1 | -0/+11 | |
| | | | | | | | | This avoids the need for ugly casting in client implementations. | |||||
| * | mainloop: fix detection of rt clocks | Lennart Poettering | 2009-09-18 | 1 | -8/+7 | |
| | | ||||||
| * | mainloop: pass monotonic times back to user if he passed monotonic times to us | Lennart Poettering | 2009-09-18 | 1 | -6/+16 | |
| | | ||||||
| * | timeval: make timeval conversion routines handle PA_USEC_INVALID special | Lennart Poettering | 2009-09-18 | 1 | -1/+10 | |
| | | ||||||
| * | timeval: add UNLIKELY annotation | Lennart Poettering | 2009-09-18 | 1 | -3/+3 | |
| | | ||||||
| * | timeval: make pa_timeval_sub saturating | Lennart Poettering | 2009-09-18 | 1 | -12/+38 | |
| | | ||||||
| * | timeval: introduce PA_USEC_MAX | Lennart Poettering | 2009-09-18 | 1 | -2/+5 | |
| | | ||||||
| * | mainloop: sum up dispatched events in an unsigned to clarify range | Lennart Poettering | 2009-09-18 | 1 | -8/+9 | |
| | | ||||||
| * | mainloop: use PA_LLIST_FOREACH macros where applicable | Lennart Poettering | 2009-09-18 | 1 | -26/+30 | |
| | | ||||||
| * | mainloop: don't initialize fields we don't have to | Lennart Poettering | 2009-09-18 | 1 | -30/+4 | |
| | | ||||||
| * | mainloop: calculate in pa_usec_t everywhere | Lennart Poettering | 2009-09-18 | 1 | -21/+46 | |
| | | ||||||
| * | mainloop: properly convert time to wallclock time when handing it to the user | Lennart Poettering | 2009-09-18 | 1 | -1/+1 | |
| | | ||||||
| * | proplist: introduce PA_PROP_WINDOW_DESKTOP property | Lennart Poettering | 2009-09-17 | 1 | -0/+3 | |
| | | ||||||
| * | libpulse: as a special exception, don't require a non-NULL context in ↵ | Lennart Poettering | 2009-09-17 | 1 | -1/+4 | |
| | | | | | | | | pa_context_errno | |||||
| * | CANCELLED vs. CANCELED | Lennart Poettering | 2009-09-17 | 1 | -2/+3 | |
| | | | | | | | | Define CANCELLED as alias for CANCELED | |||||
| * | gccmacro: enable weakrefs only on ELF | Lennart Poettering | 2009-09-15 | 1 | -1/+1 | |
| | | ||||||
| * | proplist: define properties for storing window position | Lennart Poettering | 2009-09-11 | 1 | -0/+18 | |
| | | ||||||
| * | doxygen: don't confuse doxygen with spurious .. | Lennart Poettering | 2009-09-11 | 1 | -1/+1 | |
| | | ||||||
| * | doxygen: add rtclock.h to documentation | Lennart Poettering | 2009-09-11 | 1 | -7/+9 | |
| | | ||||||
| * | doxygen: drop references to pacat.c and paplay.c as examples since tehy are ↵ | Lennart Poettering | 2009-09-11 | 1 | -6/+0 | |
| | | | | | | | | not useful as such and in the case of paplay not even existant anymore | |||||
| * | libpulse: add new error code PA_ERR_BUSY | Lennart Poettering | 2009-09-11 | 2 | -1/+4 | |
| | |