[-]
[+]
|
Changed |
_service:tar_git:pulseaudio-modules-droid.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:pulseaudio-modules-droid.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -6,7 +6,7 @@
<service name="tar_git">
<param name="url">https://github.com/mer-hybris/pulseaudio-modules-droid.git</param>
<param name="branch">master</param>
- <param name="revision">90ca699176f9cb5e118f635ad4bedb9da7db7a5d</param>
+ <param name="revision">72d4e0aaca9a8cdd2d2fc9915abd8fec5ac93e15</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Changed |
_service:tar_git:pulseaudio-modules-droid-12.2.84.tar.bz2/src/common/droid-util.c
^
|
@@ -89,9 +89,6 @@
#define DEFAULT_AUDIO_FORMAT (AUDIO_FORMAT_PCM_16_BIT)
-static const char * const droid_combined_auto_outputs[3] = { "primary", "low_latency", NULL };
-static const char * const droid_combined_auto_inputs[2] = { "primary", NULL };
-
static void droid_port_free(pa_droid_port *p);
static int input_stream_set_route(pa_droid_hw_module *hw_module, pa_droid_stream *s);
@@ -2064,6 +2061,16 @@
ret = false;
pa_log_warn("Failed to set mode.");
} else {
+ if (hw_module->state.mode != mode && mode == AUDIO_MODE_IN_CALL) {
+ pa_droid_stream *primary_output;
+
+ /* Always start call mode with earpiece. This helps some devices which cannot
+ * start call directly with headset and doesn't cause any harm with devices
+ * which can either. */
+ if ((primary_output = pa_droid_hw_primary_output_stream(hw_module)))
+ pa_droid_stream_set_route(primary_output, AUDIO_DEVICE_OUT_EARPIECE);
+ }
+
hw_module->state.mode = mode;
}
pa_droid_hw_module_unlock(hw_module);
|
[-]
[+]
|
Changed |
_service:tar_git:pulseaudio-modules-droid-12.2.84.tar.bz2/src/droid/module-droid-card.c
^
|
@@ -543,7 +543,7 @@
pa_log_debug("Leave virtual profile %s", current->droid_profile->name);
if (next->mode != current->mode) {
- park_profile(current->droid_profile);
+ park_profile(card_get_droid_profile(u->real_profile));
pa_droid_hw_set_mode(u->hw_module, next->mode);
}
@@ -596,7 +596,7 @@
}
if (next->mode != current->mode) {
- park_profile(current->droid_profile);
+ park_profile(card_get_droid_profile(u->real_profile));
pa_droid_hw_set_mode(u->hw_module, next->mode);
}
|