summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* x11: Partially convert to XCB.Colin Guthrie2010-08-151-18/+17
| | | | | | This commit mostly converts the X11 handling to XCB. There are still some uses of XLib to deal with the X11 session handling modules, however all client-side code should now be free of XLib and thus this should fix Bug #799
* udev: fix hex decodingLennart Poettering2010-08-151-2/+2
|
* alsa: disable rewinds when using ALSA pluginsPierre-Louis Bossart2010-07-151-2/+12
| | | | | | | | | | This is required to when playing on a52: device, rewind is broken in those plugins. Credits to Michael Rans <mcarans@yahoo.co.uk> for finding this workaround, and Tanu Kaskinen <tanuk@iki.fi> for providing valuable feedback. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* alsa: Fix assertion on mmap_write (triggered via a52 plugin)Colin Guthrie2010-07-151-0/+3
|
* rtp: Fix bracketing in pa_rtp_recv.Colin Guthrie2010-05-081-2/+2
| | | | | | | | | | The syntactically correct error meant that the timestamp was always marked as found and only the first header was checked. In the case where the timestamp was the first header, things would have worked as expected. Thanks to pino for reporting via bug refs #818
* jack: Prevent crash on jack server shutdownDavid Henningsson2010-05-082-6/+7
|
* thread: name all threads so that the names appear in /proc/$PID/task/$TID/commLennart Poettering2010-05-0314-14/+19
|
* 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.
* 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.
* 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
* 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
* stream-restore: be a little bit more verbose why we don't reastore a sinkLennart Poettering2010-02-211-1/+1
|
* 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
* native: rework handling of seeks that depend on variables the client does ↵Lennart Poettering2010-01-182-4/+4
| | | | | | | | | | | | 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.
* 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.
* alsa: add profile set for M-Audio FastTrack Pro USBDavid Kågedal2010-01-152-0/+86
|
* 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
* alsa: cover bass boost mixer elementLennart Poettering2010-01-142-0/+13
| | | | http://pulseaudio.org/ticket/740
* udev: rework modem detection a bitLennart Poettering2010-01-141-55/+62
| | | | Check every single pcm device of a card whether it is a modem.
* udev: handle sound cards with both modem and audio properlyDaniel T. Chen2010-01-141-3/+56
| | | | | http://pulseaudio.org/ticket/681 https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/394500
* alsa: Cover the 'Int Mic Boost' element.Colin Guthrie2010-01-131-0/+9
| | | | | | | | | | This is not 100% ideal as we have not way to tie specific boosts to specific inputs and this particular chipset (as noted in #772) appears to support just that. For the time being incorporate it into the normal boost logic. See http://pulseaudio.org/ticket/772
* alsa: cover Input Source:Int MicColin Guthrie2010-01-131-0/+4
| | | | | As seen on some HDA chips (e.g. Fujitsu Siemens S6410) Refs http://pulseaudio.org/ticket/772
* alsa: ignore volume changes from the hw if we are not on the active consoleLennart Poettering2010-01-132-0/+6
|
* udev: make sure we get events only for sound devicesLennart Poettering2010-01-131-0/+5
|
* bluetooth: fix invalid memory accessLennart Poettering2010-01-131-1/+7
| | | | | | | | When an GetProperties() reply arrives after we already deleted the device structure for it make sure we don't accidentaly touch the invalidated object. https://bugzilla.redhat.com/show_bug.cgi?id=543205
* udev: don't forget to unref devices we are not interested inLennart Poettering2010-01-121-1/+3
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=552932
* bluetooth: don't hit an assert if latency is queried for a stooped recording ↵Lennart Poettering2010-01-081-3/+7
| | | | | | stream https://bugzilla.redhat.com/show_bug.cgi?id=537422
* bluetooth: destruct stream only if it is not already destructedLennart Poettering2010-01-081-13/+15
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=551842
* core: make sure we always return a valid memblock in sink_input_pop() callbacksLennart Poettering2010-01-082-2/+6
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=553607
* dbus: remove filter functions only if they were actually set beforeLennart Poettering2010-01-085-15/+27
| | | | | | | This fixes an assert when destructing modules that have not been fully initialized. https://bugzilla.redhat.com/show_bug.cgi?id=548525
* alsa: fix minor sampling rate deviations before adjusting the buffer sizeLennart Poettering2009-11-231-7/+9
|
* alsa: fix log output when the audio device refuses to give us again the same ↵Lennart Poettering2009-11-232-2/+2
| | | | period settings we had before
* Merge branch '0.9.20-stable' into stable-queueColin Guthrie2009-11-201-11/+34
|\ | | | | | | | | Conflicts: src/Makefile.am
| * rygel: fix itemCount property for sources0.9.20-stableLennart Poettering2009-11-181-11/+34
| | | | | | | | Fixes http://pulseaudio.org/ticket/721
* | device-manager: Fix compiler warning.Colin Guthrie2009-11-111-4/+4
| | | | | | | | Do not use a variable called 'index' as it clashes with string.h
* | device-manager: Rather than flagging the device as available, just include ↵Colin Guthrie2009-11-111-4/+4
| | | | | | | | the sink/source index with PA_INVALID_INDEX meaning unavailable
* | device-manager: Play nice with module-stream-restore.Colin Guthrie2009-11-111-37/+47
| | | | | | | | | | | | If m-s-r sets the device we let it do so. Otherwise we handle the routing. We run before module-intended-roles as the priority list will likely be configured appropriately to do the same job, albeit with manual setup.
* | device-manager: Make use of PA_IDXSET_FOREACH when applying entries.Colin Guthrie2009-11-111-12/+12
| |
* | device-manager: Keep track as to whether or not the user specifically ↵Colin Guthrie2009-11-111-9/+40
| | | | | | | | | | | | | | | | | | | | | | renamed the device. If the user has not (via our protocol extension) renamed a device, but it happens to now have a different name (e.g. module-combine automatically updating the description for us or udev-db getting better etc.) then make sure we update our cache with this updated version. If the user has set a name, enforce it's use, even if the description is updated by some other means (e.g. the user manually editing the proplist or another module doing it for them).
* | device-manager: No need to check the version after calling read_entry()Colin Guthrie2009-11-111-4/+4
| |
* | device-manager: Misc fixes to co-exist with other stream management/routing ↵Colin Guthrie2009-11-111-40/+30
| | | | | | | | | | | | | | modules. * Do not read or set the save_sink/save_source flags. This seems to be for module-stream-restore only... * Even if a sink is already set by an earlier module, still move it to the sink we dictate.
* | device-manager: Misc fixes.Colin Guthrie2009-11-111-37/+47
| | | | | | | | | | | | | | | | | | | | * Fix a s/sink/source/ copy paste issue when dumping the database. * Only show priority list when routing is enabled (as the list is not updated if not) * Fix a memory access issue when finding the highest priority sinks/sources * key name->device name efficiency fix. * Silence noisy debug on reorder - it seems to work :) * Reroute after reordering. * Initialise preferred lists to PA_INVALID_INDEX
* | device-manager: Fix the writing of the database when priority doesn't change.Colin Guthrie2009-11-111-1/+3
| |
* | device-manager: Add extra debug messagesColin Guthrie2009-11-111-1/+19
| |