summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-08-29Remove libatomic_ops dependencyHEADsubmit/2.0-panda/20131011.020156submit/2.0-panda/20130829.234340accepted/2.0-panda/20131011.0152312.0-pandaGraydon, Tracy1-1/+0
2013-08-29Revert the config changessubmit/2.0-panda/20130829.234243Graydon, Tracy1-9/+38
2013-08-28TINF-226: resolve conflict between pulseausio alsa configs and ↵submit/2.0-panda/20130828.192557Graydon, Tracy2-38/+12
mmfw-sysconf-panda packages
2013-08-21Remove dependency on libatomic_opsGraydon, Tracy2-2/+10
2013-04-15release: updated changelog.Jaska Uimonen1-0/+10
2013-04-15release: added packaging for gerrit.Jaska Uimonen1-0/+427
2013-04-15scripts: added OBS exporter script.Jaska Uimonen1-0/+182
2013-04-15configuration: IVI additions to default config files.Jaska Uimonen2-11/+29
2013-04-15packaging: added spec.in and pulseaudio.service.Jaska Uimonen3-0/+444
2013-04-15module loading: initialize module index to invalid value.Ismo Puustinen1-0/+1
2013-03-12add internal corking state for sink-inputJaska Uimonen2-1/+33
2013-03-12fix draining not to lose samples in pre bufferJaska Uimonen3-1/+23
2013-02-15node-manager: adding node support for pactlJaska Uimonen1-3/+73
2013-02-15node manager: adding external node manager APIJaska Uimonen6-0/+460
2013-02-15add Samsung policy module - SamsungJaska Uimonen7-0/+946
2013-02-15add support for PMAPI - SamsungJaska Uimonen2-3/+85
2013-02-15add support for dlog - SamsungJaska Uimonen3-0/+112
2013-02-15changes to simple API - SamsungJaska Uimonen4-1/+318
2013-02-15make pa_thread_mq_done() safe for subsequent callsJanos Kovacs1-0/+8
2013-02-15jack detection fix for wired headsetJaska Uimonen1-4/+1
2013-02-15build-sys: install files for a module development.Jaska Uimonen3-1/+23
2013-02-15volume ramp: add volume ramping to sinkJaska Uimonen2-5/+94
2013-01-24volume ramp: adding volume ramping to sink-inputJaska Uimonen2-1/+70
2013-01-24volume ramp: additions to the low level infraJaska Uimonen6-2/+413
2013-01-24device-port: Create the profiles hashmap at initialization.Tanu Kaskinen2-2/+1
I doesn't make sense to require all callers of pa_device_port_new() to create the hashmap themselves. There are and there will be no cases where a port without any profiles would be desired.
2013-01-24loopback: Disable adjust timer when suspendedMikel Astiz1-7/+33
Stop the rate adjustment timer when no audio is flowing.
2013-01-24loopback: Cork source-output if sink is suspendedFrédéric Dalleau1-0/+16
During initialization, the approach avoids having a needless short period of corked state in case the sink is suspended, by always creating the source-output corked and uncorking it immediately afterwards when the sink is not suspended.
2013-01-24loopback: Cork sink-input if source is suspendedFrédéric Dalleau1-1/+16
During initialization, the approach avoids having a needless short period of corked state in case the source is suspended, by always creating the sink-input corked and uncorking it immediately afterwards when the source is not suspended.
2013-01-24loopback: Enable routing on loopback streamsFrédéric Dalleau1-26/+89
At module-loopback load, if no sink is given, the default sink is used. If the stream has a media.role property, the property cannot be used because a the source or sink is forced to default. Both module-intended-roles and module-device-manager are affected. The same apply to sources. With this patch, if sink or source is missing, routing modules can be used.
2013-01-24bluetooth: Set initial profile priority based on profile stateLuiz Augusto von Dentz1-3/+5
This means only profiles on PA_BT_AUDIO_STATE_PLAYING state will have bigger priority than 'Off'.
2013-01-24bluetooth: Do not switch to HFGW automaticallyMikel Astiz1-16/+0
Card profile hfgw should be no different from the rest, and thus no internal policy inside module-bluetooth-device should decide to switch to its profile automatically. This should be handled by policy modules.
2013-01-24bluetooth: Release transport when not availableMikel Astiz1-0/+19
Handle the Playing->Connected transition gracefully by releasing the transport and setting the sink and sources as suspended. This is necessary since the IO thread might not encounter a HUP always.
2013-01-24bluetooth: Acquire transport when becomes availableMikel Astiz1-0/+18
Try to acquire the transport as soon as the audio stream is started, along with the availability flag update.
2013-01-24bluetooth: Support port availability flagMikel Astiz1-5/+67
Use the port availability flag to expose whether a certain profile is connected and whether it's doing actual audio streaming. The proposed mapping is the following: - Profile disconnected: port is unavailable - Profile is connected (but not streaming/playing): availability unknown - Profile is streaming/playing: port is available The availability-unknown is specially interesting: it involves that if the sink/source exists (corresponding card profile set), it is currently in suspended state. For example, for SCO cases (HFGW or HSP), this means the SCO is down. A policy module would typically not change this, unless someone is really trying to use the sink/source. This situation would be nicely handled by module-suspend-on-idle, which would automatically connect SCO. On the other hand, if the user wants to control the status of the SCO, it will still be possible by resuming the sink or source (suspend=0). This works out-of-the-box since most UIs would show to the user ports whose availability is unknown.
2013-01-24bluetooth: Config MTU transport after acquireMikel Astiz1-19/+36
The configuration of the transport that depends on the MTU should be performed every time the transport has been acquired, since the parameters depend on what the Media API provides. This requires to update the parameters of the sinks and sources as well. This patch moves this code into a new function that will be called when the stream is starting (setup_stream), from the IO thread. This makes the code more robust, since the existing multiple calls to bt_transport_acquire() do not rely on setup_bt() being able to acquire the transport.
2013-01-24bluetooth: Provide dummy set_port callbacksMikel Astiz1-0/+10
There should be one port per sink/source so a dummy set_port callback will be enough. Adding this callback avoid the "operation not implemented" error message and additionally makes the module work nicely with module-switch-on-port-available.
2013-01-24sink, source: Support creating suspended sinks and sourcesMikel Astiz1-2/+6
The initial state of a sink or source might not necessarily be IDLE, because sometimes it might be suspended from the very beginning.
2013-01-24bluetooth: Fix check if transport exists before acquireMikel Astiz1-0/+5
The transport might have disapeared exactly before acquiring, so we should avoid an assertion failure, in this case inside the function pa_bluetooth_discovery_get_by_path().
2013-01-24bluetooth: Fix wrongly set "phone" role for HFGWMikel Astiz1-1/+1
The HFGW source should be consistent with the sink by not setting the "phone" intended role. Even though setting this role seems to make sense strictly speaking, the rest of the codebase doesn't handle this well. Therefore, the audio coming from a Bluetooth phone can be routed back to the same device.
2013-01-24bluetooth: Refactor code to helper functionMikel Astiz1-2/+12
Make code more readable by introducing the helper function bt_transport_is_acquired(). This also adds assertions to check whether the internal state is consistent.
2013-01-24bluetooth: Refactor parsing of signal PropertyChangedMikel Astiz1-33/+47
Wrap the code parsing the PropertyChanged signal into a helper function that will return the new state of the interface.
2013-01-24bluetooth: Remove return value of setup_stream()Mikel Astiz1-4/+4
The function setup_stream() never fails so the code can be simplified by just removing the return value.
2013-01-24bluetooth: Remove return value of bt_transport_config()Mikel Astiz1-9/+7
The function bt_transport_config() never fails so the code can be simplified by just removing the return value.
2013-01-24bluetooth: Remove commented out code.Tanu Kaskinen1-9/+0
2013-01-24bluetooth: Don't force any profile on discovery moduleLuiz Augusto von Dentz1-5/+0
Let device module figure out the priority based on the state of the profiles. Note that most likely all profiles will be in PA_BT_AUDIO_STATE_CONNECTED state so 'Off' will be the initial profile then it is up to the policy module to switch to the most suitable profile.
2013-01-24bluetooth: Fix bluetooth.protocol propertyMikel Astiz1-4/+19
Property bluetooth.protocol did make a distinction between A2DP sink and source roles but on the contrary did not separate HFP roles (headset vs gateway). For consistency, they should both behave similarly. This automatically fixes another incosistency: the HFGW (or HSP) sink was set to bluetooth.protocol="sco", while the source was set to "hsp". There is no use for this distinction, since the protocol (including the role) is the same.
2013-01-24bluetooth: Fix missing state checks for a2dp_sourceMikel Astiz1-1/+5
Profile a2dp_source, just like any other card profile, should have state guards when the profile is being changed. If the BlueZ interface is not connected, the profile should be set to "off".
2013-01-24bluetooth: Minor style fixMikel Astiz1-4/+2
Else clause should be in the same line as the closing brace.
2013-01-24bluetooth: Remove minor unnecessary checkMikel Astiz1-4/+2
The return value of dbus_message_iter_next() doesn't need to be checked since the while condition will be false anyway (arg type will be DBUS_TYPE_INVALID).
2013-01-24bluetooth: Replace deprecated ListDevices()Mikel Astiz1-50/+49
The method ListDevices() in org.bluez.Adapter was deprecated in BlueZ 4.61, and is going to be removed in future releases. Instead, a property was introduced for this purpose in BlueZ 4.7.