Juho Hämäläinen
f371b712fd
[card] Return status from set_parameters_cb. Fixes JB#26754
2015-02-24 16:32:10 +02:00
Juho Hämäläinen
02b8e7e770
[util] Have common_set_parameters_cb return int.
2015-02-24 16:17:50 +02:00
Juho Hämäläinen
51d74f5709
Merge pull request #27 from jusa/dev
...
Updates to routing and audio source handling.
2015-02-24 13:44:24 +02:00
Juho Hämäläinen
be06a5f953
[build] Bump version.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
5fe6843c93
[util-41qc] Update fancy input communication name.
...
Use the same name for AUDIO_DEVICE_IN_COMMUNICATION as other droid
versions.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
95f3906a78
[util-41qc] Add fancy audio source names.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
afacf2e8c4
[util-42] Add fancy audio source names.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
02260f6d2b
[util-44] Default audio routes for hammerhead input devices. Fixes JB#26733
...
Nexus 5 hammerhead HAL considers AUDIO_SOURCE_DEFAULT as "no source" and
recording is muted. Define default audio source for all input devices to
get audible recordings with hammerhead.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
b4aef7267b
[source] Set active audio source to source proplist.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
b1f4ece85f
[util-44] Add fancy audio source names.
2015-02-24 13:35:23 +02:00
Juho Hämäläinen
f81a4ea19e
[util] Add parser for fancy audio source names.
2015-02-24 12:38:50 +02:00
Juho Hämäläinen
3331fe0dd1
[sink] Check for errors when changing routing.
2015-02-24 12:38:50 +02:00
Juho Hämäläinen
1f1d971b34
[source] Check for errors when changing routing.
2015-02-24 12:38:47 +02:00
Juho Hämäläinen
b88bc11f8e
Merge pull request #26 from jusa/dev
...
Suspend streams before closing.
2015-02-19 18:14:03 +02:00
Juho Hämäläinen
8365a07637
[source] Suspend stream before closing.
2015-02-19 17:29:04 +02:00
Juho Hämäläinen
62c8fe534a
[sink] Suspend stream before closing.
2015-02-19 17:28:55 +02:00
Juho Hämäläinen
7bcedbdb0e
Merge pull request #25 from jusa/inputsource
...
Define audio source when setting input routing.
2015-01-29 12:54:18 +02:00
Juho Hämäläinen
0f51458231
[source] Apply input source during routing if source is defined. Contributes to JB#25679
...
When changing input device routing check for default input source for
given device. If default input source is found apply that as well in the
set_parameters() call. Some HAL implementations require
AUDIO_PARAMETER_STREAM_INPUT_SOURCE be set in order to get working input
route.
2015-01-29 09:03:02 +02:00
Juho Hämäläinen
b28d07f281
[util] Add default audio source table to util headers.
2015-01-29 08:34:41 +02:00
Juho Hämäläinen
dd6730b2d0
[util] Add function to get default audio source for input device.
2015-01-29 08:33:56 +02:00
Marko Saukko
893de4fe09
Workaround for not handling MER# and NEMO# yet.
...
[changelog] Workaround promotions. Contributes to JB#8168
Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
2015-01-28 20:42:42 +02:00
Juho Hämäläinen
5a141bdbc9
[source] Use correct argument name for devices.
2015-01-28 13:37:16 +02:00
Juho Hämäläinen
b6d396e615
[sink] Use correct argument name for devices.
2015-01-28 13:37:07 +02:00
Juho Hämäläinen
3da8c78f98
Merge pull request #24 from jusa/parser
...
Allow unknown entries in some cases in config parser.
2015-01-22 12:42:26 +02:00
Juho Hämäläinen
da40b5468b
[util] Allow unknown entries in some cases in config parser.
...
Always fail for unknown values in global_configuration sections
attached_output_devices, default_output_device, and
attached_input_devices. For modules section fail if channel masks,
formats, devices, or flags have no known entries found.
2015-01-22 12:15:25 +02:00
Juho Hämäläinen
df96e4644c
Merge pull request #23 from mlehtima/iyokan-fix
...
Add missing Qualcomm specific entries for support of msm7x30 based devices
2015-01-22 09:01:58 +02:00
mlehtima
8ed0abfc75
[util] Add missing Qualcomm specific entries for support of msm7x30 based devices
2015-01-20 22:43:28 +01:00
Juho Hämäläinen
8ee67ed51f
Merge pull request #22 from mlehtima/master
...
[card] Remove redundant includes to fix the order of #defines
2015-01-20 15:27:16 +02:00
mlehtima
b35535cb56
[card] Remove redundant includes to fix the order of #defines
2015-01-19 19:29:43 +01:00
Juho Hämäläinen
f62985b0d6
Merge pull request #21 from jusa/dev
...
More robust config parser and preliminary support for custom properties.
2014-12-17 18:21:49 +02:00
Simonas Leleiva
8a7d34a1e2
[util] use correct macro notation for ARM
2014-12-17 12:45:16 +00:00
Juho Hämäläinen
0eff0f8594
[sink] Use default output device defined in config as default.
2014-12-15 23:14:07 +02:00
Juho Hämäläinen
7bd2286986
[util] Refactor section parsing and recognize custom configs.
...
Refactor how audio configuration section parsing is handled.
Add preliminary support for custom global properties (only recognize the
properties and log them, do not store them yet anywhere).
2014-12-15 23:05:34 +02:00
Simonas Leleiva
d38ce30327
Merge pull request #20 from sledges/qcom
...
[util] AUDIO_DEVICE_OUT_PROXY is only in Qualcomm devices
2014-11-30 19:46:53 +00:00
Simonas Leleiva
ce7cf94572
[util] tmp hack: treat ARM devices as QCOM with exceptions
...
Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
2014-11-30 18:24:15 +00:00
Simonas Leleiva
c79f159f2f
[util] AUDIO_DEVICE_OUT_PROXY is only in Qualcomm devices
...
Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
2014-11-26 21:12:08 +00:00
Juho Hämäläinen
55f76712d9
Merge pull request #18 from jusa/dev
...
Set and keep IN_VOICE_CALL for voicecall source.
2014-11-18 15:19:27 +02:00
Juho Hämäläinen
89c4b53ad0
[source] Set and keep IN_VOICE_CALL for voicecall source.
...
After AUDIO_DEVICE_IN_VOICE_CALL has been enabled for source, do not
switch to any other routing. This would break the recording. Changing
output routing changes input routing correctly to match the output route
(for example with earpiece output use internal mic for input, for
headset output use headset mic for input) as long as input has
AUDIO_DEVICE_IN_VOICE_CALL route.
2014-11-18 15:09:41 +02:00
Juho Hämäläinen
b0dfba9e28
Merge pull request #17 from jusa/dev
...
Small convenience fixes and update README
2014-10-08 13:36:18 +03:00
Juho Hämäläinen
b24c1edf3a
[README] Add basic explanation of usage.
2014-10-07 16:53:41 +03:00
Juho Hämäläinen
00d248dcde
[sink] Fix route muting calculations.
2014-10-06 15:38:38 +03:00
Juho Hämäläinen
a938afb365
[sink] Do routing if sink is in SUSPENDED state.
2014-10-06 10:24:42 +03:00
Juho Hämäläinen
25978e616e
[util] Log HAL version used to build the modules.
2014-09-24 13:36:41 +03:00
Juho Hämäläinen
783b094585
[packaging] Fix SBJ spec.
2014-09-18 09:35:29 +03:00
Juho Hämäläinen
66156bb2bd
Merge pull request #16 from jusa/sbj-build
...
Add spec file for SBJ (Jolla).
2014-09-18 09:14:39 +03:00
Juho Hämäläinen
347f698981
[packaging] Add spec file for SBJ (Jolla).
2014-09-17 13:54:05 +03:00
Juho Hämäläinen
7d74f5129c
Merge pull request #15 from sledges/master
...
[util-44] process DRC tags only for Android >=4.4 versions
2014-08-15 13:59:16 +03:00
Simonas Leleiva
1b572c8d6b
[util-44] process DRC tags only for Android >=4.4 versions
...
Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
2014-08-15 11:45:34 +01:00
Juho Hämäläinen
8710d7a14d
[util-44] Fix header for Hammerhead.
2014-08-12 14:37:01 +03:00
Juho Hämäläinen
0130b2dd5b
Merge pull request #14 from jusa/voicecall-record
...
Implement voicecall record support.
2014-08-12 13:44:20 +03:00