summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-08-12AC3 passthrough supportPierre-Louis Bossart8-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>
2010-08-10dbusiface-core: Track sinks and sources using synchronous hooks instead of ↵Tanu Kaskinen1-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.
2010-07-19udev: fix hex decodingLennart Poettering1-2/+2
2010-07-15alsa: add missing iec958 files from previous commitPierre-Louis Bossart2-0/+38
2010-07-13alsa: fix mixer profiles, add passthrough configPierre-Louis Bossart3-7/+15
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
2010-07-13alsa: disable rewinds when using ALSA pluginsPierre-Louis Bossart1-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>
2010-07-13alsa: Fix assertion on mmap_write (triggered via a52 plugin)Colin Guthrie1-0/+3
2010-06-05Merge remote branch 'tanuk2/fixes'Colin Guthrie7-82/+118
2010-05-15modules/coreaudio: replace deprecated functionsDaniel Mack2-57/+135
All API calls are now consolidated in AudioObject* calls, the old model has been deprecated in 10.6. Follow that change.
2010-05-10dbus: Stop polling every 10 seconds to check whether all clients are still ↵Tanu Kaskinen1-22/+28
alive. Instead, watch for org.freedesktop.DBus.Disconnected signals.
2010-05-10stream-restore: When changing restore entries with D-Bus, apply the changes ↵Tanu Kaskinen1-0/+3
immediately.
2010-05-10dbus: Fix slightly messed up assertions.Tanu Kaskinen1-2/+3
2010-05-10dbus: Use a struct as the hashmap items for listening_signals.Tanu Kaskinen1-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.
2010-05-10stream-restore: Fix segfaulting. The dbus entry callbacks expect a ↵Tanu Kaskinen1-1/+1
dbus_entry pointer instead of a userdata pointer.
2010-05-10dbus: Fix segfault when receiving a property access call that isn't permitted.Tanu Kaskinen1-2/+2
2010-05-10dbus: Initialize properly the type field of new server structs.Tanu Kaskinen1-0/+1
2010-05-10dbus: Make it possible to allow remote connections from outside localhost.Tanu Kaskinen1-2/+8
2010-05-10cli: Increase the command maximum length from 1024 to 2048.Tanu Kaskinen1-1/+1
2010-05-10alsa: Fix log output to inform about positive base volumes correctly.Tanu Kaskinen2-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.
2010-05-10alsa-mixer: Replace erroneous PA_ALSA_VOLUME_IGNORE with ↵Tanu Kaskinen1-1/+1
PA_ALSA_ENUMERATION_IGNORE. This fix doesn't have any concrete effect, because the two constants have the same value.
2010-05-10alsa-mixer: Use pa_xfree() instead of pa_xstrdup() for freeing a string.Tanu Kaskinen1-1/+1
2010-05-08rtp: Fix bracketing in pa_rtp_recv.Colin Guthrie1-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
2010-05-08socket-client: properly handle asyncns failuresJez Austin1-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
2010-05-08intended-roles: Do not pick monitor sources when doing automatic role-based ↵Colin Guthrie1-1/+12
device selection
2010-05-08alsa: Handle 'Digital Mic' as an 'Input Source'Daniel T Chen1-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.
2010-05-08core-util: ensure that we chmod only the dir we ourselves createdKees Cook1-5/+34
2010-05-08tests: fix once testLennart Poettering1-1/+1
2010-05-08add rewind-safeguard parameterPierre-Louis Bossart2-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.
2010-05-08jack: Prevent crash on jack server shutdownDavid Henningsson2-6/+7
2010-05-07thread: name all threads so that the names appear in /proc/$PID/task/$TID/commLennart Poettering23-28/+80
2010-02-25virtual: when fixed block sizes are used the memblockq must have a silence blockLennart Poettering1-2/+6
2010-02-25virtual: document how to implement fixed block size filtersLennart Poettering2-10/+27
2010-02-25memblockq: implement new call pa_memblockq_peek_fixed_size()Lennart Poettering4-17/+109
2010-02-25virtual: minor simplifications for the virtual sinkLennart Poettering2-22/+14
2010-02-25equalizer: various smaller cleanups for m-e-sLennart Poettering1-198/+204
2010-02-23core: rework how stream volumes affect sink volumesLennart Poettering1-1/+41
2010-02-23alsa: don't make use of tsched related variables when tsched is disabledLennart Poettering2-22/+40
2010-02-23esd,simple: use pa_memblockq_pop_missing()Lennart Poettering2-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
2010-02-23various modernizationsLennart Poettering3-33/+32
2010-02-23iochannel: remove fd from poll() when we don't care from eventsLennart Poettering2-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.
2010-02-22native: improve logging for buffer_attrsLennart Poettering1-0/+18
2010-02-22suspend-on-idle: resume audio device even for initially corked streamsLennart Poettering1-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
2010-02-22alsa: reset max_rewind/max_request while suspendingLennart Poettering1-1/+10
2010-02-21alsa-util: strip spaces from ALSA card/pcm namesLennart Poettering1-5/+7
http://pulseaudio.org/ticket/778
2010-02-21conf-parser: make use of pa_strip() wherever applicableLennart Poettering1-29/+2
2010-02-21core-util: introduce generic function pa_strip()Lennart Poettering2-4/+25
2010-02-21http: support HTTP HEADMatthijs Kooijman1-3/+44
http://pulseaudio.org/ticket/781
2010-02-21pacat: pass buffer_attr to recording streams tooLennart Poettering1-1/+1
Pointed out by Colin Guthrie. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006698.html
2010-02-21bluetooth: add HFP Gateway supportJoão Paulo Rechi Vita4-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).
2010-02-21bluetooth: improve dbus loggingJoão Paulo Rechi Vita1-2/+3