summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | device-manager: Change the prefer/defer options to a single 'reorder' command.Colin Guthrie2009-11-111-82/+140
| | | | | | | | | | | | 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: Don't notify clients on every subscription (it happens all ↵Colin Guthrie2009-11-111-6/+18
| | | | | | | | | | | | the time). Also compare the entries fully before saving.
* | device-manager: Save icon and report current availability over protocol.Colin Guthrie2009-11-111-17/+53
| | | | | | | | | | This also ensures we let clients know whenver a sink changes in some capacity. Also correct some debug code.
* | device-manager: Expose the priority lists in the protocol extension.Colin Guthrie2009-11-111-37/+47
| | | | | | | | Also leave space for 'icon' and 'available' details too, althought currently this info is dummy.
* | device-manager: Add a function to dump the database which we do whenever we ↵Colin Guthrie2009-11-111-15/+107
| | | | | | | | save it (and on startup)
* | device-manager: Reroute streams when they change allowing the media.role to ↵Colin Guthrie2009-11-111-212/+243
| | | | | | | | | | | | | | be updated mid-stream. We do not handle the _EVENT_NEW subscription here as the PA_CORE_HOOK_SINK_INPUT_NEW/PA_CORE_HOOK_SOURCE_OUTPUT_NEW hook should handle the initial routing.
* | device-manager: Refactor the routing method to allow the routing of a single ↵Colin Guthrie2009-11-111-65/+80
| | | | | | | | stream
* | device-manager: More sensible names for internal functionsColin Guthrie2009-11-111-10/+8
| |
* | device-manager: Reroute the streams on startup and update our cache on enable.Colin Guthrie2009-11-111-10/+8
| |