summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* alsa-sink: Get rid of a compiler warning regarding rewind_safeguard type.Tanu Kaskinen2010-08-241-2/+2
| | | | | GCC gave a warning, because the pointer given to pa_modargs_get_value_u32() had type size_t instead of uint32_t.
* module-udev-detect: When loading module-alsa-card, use namereg_fail=false.Tanu Kaskinen2010-08-241-0/+1
|
* 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-232-0/+1617
| | | | | | 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.
* core: New function: pa_module_update_proplist().Tanu Kaskinen2010-08-192-0/+11
|
* loopback: Make stream names and roles configurable.Tanu Kaskinen2010-08-191-7/+34
|
* AC3 passthrough supportPierre-Louis Bossart2010-08-128-5/+117
| | | | | | | | | | | | 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-133-7/+15
| | | | 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-057-82/+118
|\
| * 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.
| * dbus: Fix slightly messed up assertions.Tanu Kaskinen2010-05-101-2/+3
| |
| * dbus: Use a struct as the hashmap items for listening_signals.Tanu Kaskinen2010-05-101-44/+69
| | | | | | | | | | | | Previously we used libdbus's memory as keys in listening_signals, which caused that the memory of the hashmap keys got overwritten, which led to that signals weren't sent properly.
| * 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: Fix segfault when receiving a property access call that isn't permitted.Tanu Kaskinen2010-05-101-2/+2
| |
| * 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
| |
| * cli: Increase the command maximum length from 1024 to 2048.Tanu Kaskinen2010-05-101-1/+1
| |
| * 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
* socket-client: properly handle asyncns failuresJez Austin2010-05-081-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-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.
* core-util: ensure that we chmod only the dir we ourselves createdKees Cook2010-05-081-5/+34
|
* tests: fix once testLennart Poettering2010-05-081-1/+1
|
* 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-0723-28/+80
|
* 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-252-10/+27
|
* memblockq: implement new call pa_memblockq_peek_fixed_size()Lennart Poettering2010-02-254-17/+109
|
* 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
|
* core: rework how stream volumes affect sink volumesLennart Poettering2010-02-231-1/+41
|
* alsa: don't make use of tsched related variables when tsched is disabledLennart Poettering2010-02-232-22/+40
|
* 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
* various modernizationsLennart Poettering2010-02-233-33/+32
|
* iochannel: remove fd from poll() when we don't care from eventsLennart Poettering2010-02-232-57/+75
| | | | | | | This should make it unlikely that we loop on SIGHUP indefinitely. Also, this makes it possible for callbacks not to process all events and still not busy loop.
* 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