summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* module-alsa-card: New argument: namereg_fail.Tanu Kaskinen2010-08-241-0/+15
| | | | | | This is added so that module-udev-detect can load multiple module-alsa-card instances with the same card name - forcing namereg_fail to false allows the name registry to mangle the card names to be unique.
* echo-cancel: take into account snapshot delayWim Taymans2010-08-231-5/+13
| | | | | Take into account the delay between taking the snapshot from the source and the sink. Improves the quality of the timings.
* make echo-cancel module that exposes a new sink and sourceWim Taymans2010-08-231-0/+1609
| | | | | | Make a new echo-cancel module that exposes a new sink and source. All data sent to the sink is matched against the data captured from the source and echo-canceled using the speex echo canceler.
* alsa: resume smoother after unsuspendWim Taymans2010-08-231-1/+1
| | | | | | The smoother is paused when the device is suspended but never resumed on unsuspend. Pass the paused = FALSE flag to the pa_smoother_reset() call to make it unpause when unsuspending. This patch improves source timings quite a bit.
* loopback: Make stream names and roles configurable.Tanu Kaskinen2010-08-191-7/+34
|
* AC3 passthrough supportPierre-Louis Bossart2010-08-121-0/+7
| | | | | | | | | | | | Second version after Tanu's feedback TODO: - notify client that volume control is disabled - change sink rate in passthrough mode if needed - automatic detection of passthrough mode instead of hard coded profile names Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* dbusiface-core: Track sinks and sources using synchronous hooks instead of ↵Tanu Kaskinen2010-08-101-120/+130
| | | | | | | | | | | | | | | | asynchronous subscription events. Using the subscription events caused an assertion crash sometimes when a sink was removed and a new sink was created (i.e. card profile change) and a stream was moved from the removed sink to the new sink. The stream dbus object's subscription callback got a change event before the core dbus object's subscription callback got the sink remove/creation events. The stream's subscription callback then queried the core for the object path of the new sink, and since the core was not yet aware of the new sink, an assertion was hit in pa_dbusiface_device_get_path(). Now that the core uses synchronous hooks to keep the sink and source lists up to date, this particular problem can't occur anymore.
* udev: fix hex decodingLennart Poettering2010-07-191-2/+2
|
* alsa: add missing iec958 files from previous commitPierre-Louis Bossart2010-07-152-0/+38
|
* alsa: fix mixer profiles, add passthrough configPierre-Louis Bossart2010-07-132-6/+12
| | | | Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* alsa: disable rewinds when using ALSA pluginsPierre-Louis Bossart2010-07-131-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-131-0/+3
|
* Merge remote branch 'tanuk2/fixes'Colin Guthrie2010-06-055-35/+45
|\
| * dbus: Stop polling every 10 seconds to check whether all clients are still ↵Tanu Kaskinen2010-05-101-22/+28
| | | | | | | | | | | | alive. Instead, watch for org.freedesktop.DBus.Disconnected signals.
| * stream-restore: When changing restore entries with D-Bus, apply the changes ↵Tanu Kaskinen2010-05-101-0/+3
| | | | | | | | immediately.
| * stream-restore: Fix segfaulting. The dbus entry callbacks expect a ↵Tanu Kaskinen2010-05-101-1/+1
| | | | | | | | dbus_entry pointer instead of a userdata pointer.
| * dbus: Initialize properly the type field of new server structs.Tanu Kaskinen2010-05-101-0/+1
| |
| * dbus: Make it possible to allow remote connections from outside localhost.Tanu Kaskinen2010-05-101-2/+8
| |
| * alsa: Fix log output to inform about positive base volumes correctly.Tanu Kaskinen2010-05-102-8/+2
| | | | | | | | | | | | | | Positive base volume can happen, if the alsa volume range has been limited. For example, in an embedded environment it may be known that the sound device is capable of louder output than what the speakers can handle, so setting the max volume below 0 dB makes sense.
| * alsa-mixer: Replace erroneous PA_ALSA_VOLUME_IGNORE with ↵Tanu Kaskinen2010-05-101-1/+1
| | | | | | | | | | | | | | PA_ALSA_ENUMERATION_IGNORE. This fix doesn't have any concrete effect, because the two constants have the same value.
| * alsa-mixer: Use pa_xfree() instead of pa_xstrdup() for freeing a string.Tanu Kaskinen2010-05-101-1/+1
| |
* | modules/coreaudio: replace deprecated functionsDaniel Mack2010-05-152-57/+135
|/ | | | | All API calls are now consolidated in AudioObject* calls, the old model has been deprecated in 10.6. Follow that change.
* 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
* intended-roles: Do not pick monitor sources when doing automatic role-based ↵Colin Guthrie2010-05-081-1/+12
| | | | device selection
* alsa: Handle 'Digital Mic' as an 'Input Source'Daniel T Chen2010-05-081-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.
* add rewind-safeguard parameterPierre-Louis Bossart2010-05-082-5/+17
| | | | | | | | | | Rewinding the ring buffer completely causes audible issues with DMAs. Previous solution didn't work with tsched=0, and used tsched_watermark for guardband, which isn't linked to hardware and could become really high if underflows occurred. Added separate parameter that can be tuned to hardware limitations and size of DMA bursts.
* 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-0714-14/+19
|
* virtual: when fixed block sizes are used the memblockq must have a silence blockLennart Poettering2010-02-251-2/+6
|
* virtual: document how to implement fixed block size filtersLennart Poettering2010-02-251-6/+27
|
* memblockq: implement new call pa_memblockq_peek_fixed_size()Lennart Poettering2010-02-251-4/+2
|
* virtual: minor simplifications for the virtual sinkLennart Poettering2010-02-252-22/+14
|
* equalizer: various smaller cleanups for m-e-sLennart Poettering2010-02-251-198/+204
|
* alsa: don't make use of tsched related variables when tsched is disabledLennart Poettering2010-02-232-22/+40
|
* 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
* alsa: reset max_rewind/max_request while suspendingLennart Poettering2010-02-221-1/+10
|
* alsa-util: strip spaces from ALSA card/pcm namesLennart Poettering2010-02-211-5/+7
| | | | http://pulseaudio.org/ticket/778
* bluetooth: add HFP Gateway supportJoão Paulo Rechi Vita2010-02-214-20/+72
| | | | | | | | Create the 'Handsfree Gateway' profile for bluetooth cards and add filters for 'org.bluez.HandsfreeGateway' to the discover module so module-bluetooth-device is loaded with the correct profile when a Handsfree Gateway connects to bluetoothd (in this case bluetoothd is acting as the headset).
* bluetooth: improve dbus loggingJoão Paulo Rechi Vita2010-02-211-2/+3
|
* 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-215-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-219-0/+98
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=562216
* alsa: cover 'Shared Mic/Line in', 'Analog Source'Lennart Poettering2010-02-211-0/+25
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=558638
* alsa: cover "Desktop Speaker" mixer elementsLennart Poettering2010-02-219-8/+131
| | | | As exposed by really old Microsoft USB sound systems
* virtual-source: boilerplate virtual source for PCM processing on inputsPierre-Louis Bossart2010-02-171-0/+771
|
* virutal-sink: boilerplate virtual sink to add PCM processingPierre-Louis Bossart2010-02-171-0/+635
|
* native: rework handling of seeks that depend on variables the client does ↵Lennart Poettering2010-02-092-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 ID_MODEL_ENC instead of ID_MODEL if it is setLennart Poettering2010-02-091-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-02-092-0/+13
| | | | http://pulseaudio.org/ticket/740
* udev: rework modem detection a bitLennart Poettering2010-02-091-55/+62
| | | | Check every single pcm device of a card whether it is a modem.