Juho Hämäläinen
9bc7a4a59e
[source] Allow usage of module argument input_devices.
2014-08-12 13:34:33 +03:00
Juho Hämäläinen
2441f3edfd
[util] Remove couple unused variables.
2014-08-12 13:33:31 +03:00
Juho Hämäläinen
a5db4713af
[util] Add hint when checking android version.
2014-08-12 10:45:37 +03:00
Juho Hämäläinen
4f28b9e025
[util] Define QCOM_HARDWARE for Sbj (Jolla).
2014-08-12 10:45:37 +03:00
Juho Hämäläinen
eabdd7f038
[util] Remove static from headers.
2014-08-12 10:45:37 +03:00
Juho Hämäläinen
99c0bb452d
[source] Use AUDIO_IN_VOICE_CALL_MONO only with QC hardware.
2014-08-12 10:45:37 +03:00
Juho Hämäläinen
34d44a3602
[util] Define QCOM_HARDWARE for Hammerhead (Nexus 5).
2014-08-12 10:45:36 +03:00
Juho Hämäläinen
d866051e8a
[util] Refactor HAL includes to per-droid-version headers.
2014-08-12 10:45:36 +03:00
Juho Hämäläinen
45d6db10ee
[build] Autogenerate DROID_DEVICE_FOO for droid device.
2014-08-12 10:45:36 +03:00
Juho Hämäläinen
c997fe9699
[card] Add support for virtual profile extensions and voicecall record.
...
When in voicecall profile, one can switch to voicecall-record profile,
which destroys active sources and creates source specifically for
voicecall recording.
2014-08-12 10:45:34 +03:00
Juho Hämäläinen
5daed92621
[module-droid-source] Use updated droid-source.
2014-08-08 18:20:05 +03:00
Juho Hämäläinen
b156131da3
[source] Add support for voicecall source.
...
When device is provided when calling pa_droid_source_new() and device is
AUDIO_DEVICE_IN_VOICE_CALL, force mono channels and hal channel mask for
recording from both uplink and downlink.
2014-08-08 18:20:05 +03:00
Juho Hämäläinen
3007d3eb60
[card] Add availability to virtual profile and deny activating unavailable profile.
2014-08-08 18:20:05 +03:00
Juho Hämäläinen
e2b8377352
[card] Refactor virtual profiles.
2014-08-08 18:20:05 +03:00
Juho Hämäläinen
10ba85789e
Merge pull request #13 from sledges/hybris-11.0
...
Support Hammerhead
2014-08-07 11:44:39 +03:00
Simonas Leleiva
2dcb75badd
[util] speaker_drc_enabled is only from HAL v2
...
Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
2014-08-06 17:22:07 +01:00
Siteshwar Vashisht
c56e64e6ce
[util] Do not fail while parsing speaker_drc_enabled entry in audio_policy.conf
...
Fixed parsing following section in /system/etc/audio_policy.conf
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX
speaker_drc_enabled TRUE
}
2014-08-06 17:22:07 +01:00
martin brook
8cb467cdfc
[util] Recognise AUDIO_CHANNEL_IN_FRONT_BACK
2014-08-06 17:22:07 +01:00
martin brook
40291972d5
[util] Recognise AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, AUDIO_OUTPUT_FLAG_NON_BLOCKING
2014-08-06 17:22:07 +01:00
Siteshwar Vashisht
f95537404a
[util] Add AUDIO_DEVICE_OUT_PROXY in output device conversion table
2014-08-06 17:22:07 +01:00
martin brook
4938232804
[util] Recognise AUDIO_DEVICE_OUT_PROXY
2014-08-06 17:22:07 +01:00
Siteshwar Vashisht
2f99af752b
[headers] Added droid-util headers for 4.4
...
Copied from droid-util-42.h
2014-08-06 17:22:07 +01:00
Juho Hämäläinen
2ef1e6cb5b
Merge pull request #11 from jusa/additional-route
...
Track stream extra devices more carefully.
2014-06-06 10:28:52 +03:00
Juho Hämäläinen
19ac1e8397
[sink] Track stream extra devices more carefully.
...
Count extra routes and do routing change only if there are no streams
with extra route. Prevents skipping audio if multiple streams with same
extra route property are played simultaneously.
2014-06-06 10:22:24 +03:00
Juho Hämäläinen
f0daa6f14e
[build] Bump version.
2014-05-26 13:27:58 +03:00
Juho Hämäläinen
2919c47b0b
Merge pull request #10 from jusa/dev
...
Change voice volume control implementation.
2014-05-05 14:01:30 +03:00
Juho Hämäläinen
b03908730d
[card] Add modargs for updated voice volume control in sink.
2014-05-05 13:45:04 +03:00
Juho Hämäläinen
0f64a37dcc
[sink] Change voice call volume control implementation.
...
Previously when voice volume control was enabled, droid sink switched to
HW volume control, and HW volume control changes affected voice call
volume. The problem with this is, regular audio mixed to the voice call
do not follow the voice call volume, thus non-call audio mixed to the
call had correct volume level only if sink's volume was 0dB.
Change the implementation so that when voice call volume control is
enabled, track for specific sink-input with key:value (defaults to
"media.role":"phone") and when sink-input with correct proplist
key-value pair connects to the sink, use the sink-input's absolute volume
for controlling the voice call volume.
2014-05-05 13:44:58 +03:00
Juho Hämäläinen
03d810e0ba
[util] Set device port priority.
2014-05-02 16:08:11 +03:00
Juho Hämäläinen
89c33f6e5b
[sink] Fix droid parameter to handle multiple property changes properly.
...
Previously only one changed droid paramter property was handled during
proplist changed hook. Change so that all changed proplist entries are
handled in one go.
2014-05-02 16:08:08 +03:00
Juho Hämäläinen
88ef486e73
Merge pull request #9 from jusa/dev
...
Keep shared object name in hw module struct.
2014-04-15 16:35:50 +03:00
Juho Hämäläinen
3f78190079
[droid-util] Keep shared object name in hw module struct.
2014-04-15 16:27:14 +03:00
Juho Hämäläinen
1aeadef3c3
Merge pull request #8 from jusa/pa5
...
Update for PulseAudio 5.0
2014-04-14 16:04:58 +03:00
Juho Hämäläinen
1385c71683
[rpm] Update for PulseAudio 5.0.
2014-04-11 16:49:49 +03:00
Juho Hämäläinen
133b458255
[build] Bump version.
2014-04-11 10:53:42 +03:00
Juho Hämäläinen
77a62e2fb0
[droid-util] Use new device port data.
2014-04-10 17:11:55 +03:00
Juho Hämäläinen
77d5f0544d
[modules] Update for new pa_hashmap_new_full etc.
2014-04-10 16:32:09 +03:00
Juho Hämäläinen
cfad3b08e2
[modules] Remove pa_bool_t and replace it with bool.
2014-04-10 16:16:58 +03:00
David Greaves
fb453507de
Merge pull request #7 from lbt/master
...
Rename to pulseaudio-modules-droid as per other HA-specific packages.
2014-04-04 13:44:17 +01:00
David Greaves
4b8f6a53ba
Rename to pulseaudio-modules-droid as per other HA-specific packages.
...
Obtain DEVICE info from droid-devel/hw-release.vars
Signed-off-by: David Greaves <david.greaves@jollamobile.com>
2014-04-04 13:42:24 +01:00
Simonas Leleiva
9b06fc7835
Merge pull request #5 from jusa/dev
...
Fix for Mako input device creation.
2014-03-07 11:32:49 +00:00
Juho Hämäläinen
94e7faeb94
[sink] Log device hex when calling set_parameters.
2014-03-07 12:40:42 +02:00
Juho Hämäläinen
3d287b494b
[source] Log device hex when calling set_parameters.
2014-03-07 12:37:47 +02:00
Juho Hämäläinen
342ac91e3c
[util] Don't add AUDIO_DEVICE_BIT_IN for mako.
2014-03-07 12:32:32 +02:00
Simonas Leleiva
7fbe5a0227
Merge pull request #4 from jusa/dev
...
HALv2 and i9305 related fixes.
2014-02-23 15:19:40 +00:00
Juho Hämäläinen
c0b3dd12d4
[build] Detect i9305 build.
2014-02-23 17:12:59 +02:00
Juho Hämäläinen
8b9eaffbe4
[source] On i9305 set input routing without AUDIO_DEVICE_BIT_IN.
...
Device with AUDIO_DEVICE_BIT_IN results in bad input routing, passing
input device without the AUDIO_DEVICE_BIT_IN works fine.
2014-02-23 17:11:41 +02:00
Juho Hämäläinen
aa412d3c78
[source] Use define when setting routing.
2014-02-23 16:25:57 +02:00
Juho Hämäläinen
90e97b644d
[sink] Use define when setting routing.
2014-02-23 16:25:47 +02:00
Juho Hämäläinen
b6f6c7f38d
[util] Fix HALv2 input port generation.
2014-02-23 16:23:15 +02:00