summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Fix crash on jack server shutdown"Lennart Poettering2010-03-221-3/+3
| | | | | | This reverts commit e756467434f787d392c45aac1327768bcf0b610c. The patch is incomplete and not entirely correct.
* socket-client: properly handle asyncns failuresJez Austin2010-03-221-1/+2
| | | | | | | | | We fail to detect when people disable IPv6 in there kernels. This patch makes sure we don't ignore this error condition. http://pulseaudio.org/ticket/752 https://bugzilla.mozilla.org/show_bug.cgi?id=533470 http://bugs.freedesktop.org/show_bug.cgi?id=25742
* intended-roles: Do not pick monitor sources when doing automatic role-based ↵Colin Guthrie2010-03-171-1/+12
| | | | device selection
* Fix crash on jack server shutdownDavid Henningsson2010-03-151-3/+3
| | | | | | | On sink unlinking, existing sink inputs are moved, which in turn calls a get latency callback, which references the jack client. Therefore, make sure the sink is unlinked before the client is closed. Failure to do so might lead to SIGSEGV.
* Handle 'Digital Mic' as an 'Input Source'Daniel T Chen2010-03-121-0/+4
| | | | | | | BugLink: https://launchpad.net/bugs/533877 Some laptops have 'Digital Mic' exposed as an 'Input Source', e.g., Dell XPS 1330, so handle these, too.
* core-util: ensure that we chmod only the dir we ourselves createdKees Cook2010-03-042-6/+35
|
* core: rework how stream volumes affect sink volumesLennart Poettering2010-02-231-1/+41
|
* esd,simple: use pa_memblockq_pop_missing()Lennart Poettering2010-02-232-2/+2
| | | | | | | | | | We need to use pa_memblockq_pop_missing() for all request handling, including the initial request, because otherwise the counters will be stay off during the entire runtime. This should fix: https://bugzilla.redhat.com/show_bug.cgi?id=559467
* core-util: introduce generic function pa_strip()Lennart Poettering2010-02-222-4/+25
|
* alsa: reset max_rewind/max_request while suspendingLennart Poettering2010-02-221-1/+10
|
* alsa-util: strip spaces from ALSA card/pcm namesLennart Poettering2010-02-221-5/+7
| | | | http://pulseaudio.org/ticket/778
* native: improve logging for buffer_attrsLennart Poettering2010-02-221-0/+18
|
* suspend-on-idle: resume audio device even for initially corked streamsLennart Poettering2010-02-221-5/+3
| | | | | | | | | | | | We need to resume audio devices even for streams that are created in corked stat, so that the latency ranges of the audio device are known during the initial latency negotiation. If we don't the latency negotiation will be based on placeholder data and changed later on which clients do not expect. This should fix issues with Skype. https://bugzilla.redhat.com/show_bug.cgi?id=554929
* pacat: pass buffer_attr to recording streams tooLennart Poettering2010-02-211-1/+1
| | | | | | Pointed out by Colin Guthrie. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006698.html
* scache: when playing a sample from the cache make sure not queue them up ↵Lennart Poettering2010-02-215-19/+31
| | | | | | | when the sink is suspended libcanberra already sets the appropriate flags for uncached sample streams, we now need to make sure to set them for cached samples too.
* sample-cache: use the sample name as unmodified fallback in the properties ↵Lennart Poettering2010-02-211-1/+2
| | | | when playing a sample from the cache
* stream-restore: be a little bit more verbose why we don't reastore a sinkLennart Poettering2010-02-211-1/+1
|
* proplist: explicitly mention a role 'test'Lennart Poettering2010-02-211-1/+1
|
* vala: fix wrapping of port setting callsLennart Poettering2010-02-211-2/+2
|
* channelmap: Use "Subwoofer" as pretty name for LFELennart Poettering2010-02-211-1/+1
| | | | | | The pretty name is suspposed to be understandable by non-technical folks, and they are generally more used to the term "Subwoofer" than "Low Frequency Emitter", so let's change the name here.
* Add missing profile and alsa-mixer/paths to src/Makefile.amDaniel T Chen2010-02-191-0/+3
| | | | | | | | | | | | Commits e8cb96c and 0c836aa created mixer paths but did not update src/Makefile.am. Building a snapshot containing these two commits therefore results in the user being unable to adjust the volume or (un)mute through PA. Fix this by adding the two new mixer paths files to src/Makefile.am. Likewise, commit 66e1a2d created a profile for the M-Audio FastTrack Pro USB but did not update src/Makefile.am. Fix this by adding the profile to src/Makefile.am.
* vala: fix definition of the GLib mainloop adapterLennart Poettering2010-02-191-2/+2
|
* vala: fix definition of INVALID_INDEXLennart Poettering2010-02-191-1/+1
|
* shm: don't complain about missing SHM segmentsLennart Poettering2010-02-191-1/+1
| | | | | | | If two clients try to cleanup the SHM directory at the same time, they might want to open and then delete the same segment at the same time, in which case one client might win, the other one lose. In this case, don't warn about ENOENT.
* pacmd: don't enter busy loop when reading from stdin very earlyLennart Poettering2010-02-181-86/+100
| | | | | | pointed out in: https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-January/006365.html
* pacmd: store away fd typeLennart Poettering2010-02-181-4/+5
|
* pacat: always fully fulfill write requestsLennart Poettering2010-02-181-17/+30
| | | | | | | Make sure we always fulfill write requests from the server. If we don't the server won't ask us again and playback will stay stuck. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006611.html
* fdsem: be more verbose when reading from eventfd fails.Lennart Poettering2010-02-161-6/+35
| | | | | | | | | Apperently reading from an eventfd can fail, which results in an assert to be hit. I am not sure about the reason for the failure, but in attempt to track down the issue the next time is hit this prints a more useful log message. https://bugzilla.redhat.com/attachment.cgi?id=386380
* dbus: first restart timer, then dispatch itLennart Poettering2010-02-161-13/+16
| | | | | | | This makes sure that we don't access the timer after it might have been destroyed already from the dbus timeout callback. https://bugzilla.redhat.com/attachment.cgi?id=389952
* padsp: emulate /dev/audio, tooLennart Poettering2010-02-161-35/+20
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=561262
* build-sys: add gobject to build dependenciesLennart Poettering2010-02-161-1/+1
| | | | | Since we call g_object_unref() we need to link against gobject in compliance of the new Fedora implicit DSO linking policy.
* alsa: use default output port namesLennart Poettering2010-02-165-3/+5
| | | | | instead of coming up with pointless aliases, reuse the already established names, for second headphones, and second speakers.
* alsa: cover "Internal Mic" elementsLennart Poettering2010-02-169-0/+98
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=562216
* alsa: cover 'Shared Mic/Line in', 'Analog Source'Lennart Poettering2010-02-151-0/+25
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=558638
* alsa: cover "Desktop Speaker" mixer elementsLennart Poettering2010-02-159-8/+131
| | | | As exposed by really old Microsoft USB sound systems
* core: Fix macro typo - PA_SINK_IS_LINKED -> PA_SINK_INPUT_IS_LINKEDColin Guthrie2010-02-091-1/+1
|
* native: rework handling of seeks that depend on variables the client does ↵Lennart Poettering2010-01-187-9/+20
| | | | | | | | | | | | not know anything about All seeks/flushes that depend on the playback buffer read pointer cannot be accounted for properly in the client since it does not know the actual read pointer. Due to that the clients do not account for it at all. We need do the same on the server side. And we did, but a little bit too extreme. While we properly have not applied the changes to the "request" counter we still do have to apply it to the "missing" counter. This patch fixes that.
* libpulse: Store pa_stream pointers to hashmaps instead of dynarrays.Tanu Kaskinen2010-01-153-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.
* Fix the following warnings (which now cause buildd failures in Ubuntu 10.04):Daniel T Chen2010-01-151-0/+1
| | | | | | | | | | | | pulsecore/cpu-arm.c: In function 'get_cpuinfo': pulsecore/cpu-arm.c:70: warning: implicit declaration of function 'pa_read' [-Wimplicit-function-declaration] pulsecore/cpu-arm.c:72: warning: implicit declaration of function 'pa_close' [-Wimplicit-function-declaration] pulsecore/cpu-arm.c: In function 'pa_cpu_init_arm': pulsecore/cpu-arm.c:110: warning: implicit declaration of function 'pa_split_spaces' [-Wimplicit-function-declaration] pulsecore/cpu-arm.c:110: warning: assignment makes pointer from integer without a cast Function `pa_split_spaces' implicitly converted to pointer at pulsecore/cpu-arm.c:110 Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
* More src/pulsecore/cpu-arm.c FTBFS fixesDaniel T Chen2010-01-151-2/+3
| | | | | | | Fix missing argument to pa_read(), and be consistent with declaration of state variable in pa_cpu_init_arm(). Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
* udev: Use SOUND_CLASS instead of SOUND_FORM_FACTOR when checking for modemDaniel T Chen2010-01-151-1/+1
| | | | | | | The fact whether an ALSA card is a modem is stored in the SOUND_CLASS, not the SOUND_FORM_FACTOR property. So read it from there. Patch from Whoopie.
* threaded-mainloop: Properly initialise m->n_waiting_for_accept to prevent ↵Daniel T Chen2010-01-151-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
* alsa: add profile set for M-Audio FastTrack Pro USBDavid Kågedal2010-01-152-0/+86
|
* client: include dolby channel names in commentsLennart Poettering2010-01-151-10/+10
|
* client: implement $PULSE_LATENCY_MSECLennart Poettering2010-01-151-6/+31
| | | | | | | This allows easy overriding of a clients latency setting for debugging purposes. http://pulseaudio.org/ticket/753
* pacat: allow configuration of latency in msecLennart Poettering2010-01-152-24/+118
|
* udev: use ID_MODEL_ENC instead of ID_MODEL if it is setLennart Poettering2010-01-141-0/+110
| | | | | | | | | That way we should be able to make use of the nicer USB strings the USB hw provides. Fixes the issues pointed out in: https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-January/006248.html
* Mark shared variables as volatileArun Raghavan2010-01-141-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.
* alsa: cover bass boost mixer elementLennart Poettering2010-01-142-0/+13
| | | | http://pulseaudio.org/ticket/740
* daemon: first take name on the bus, then return in starter processLennart Poettering2010-01-141-4/+4
| | | | http://pulseaudio.org/ticket/748