--- android/hal-audio.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/android/hal-audio.c b/android/hal-audio.c index 58f48bb..a435aec 100644 --- a/android/hal-audio.c +++ b/android/hal-audio.c @@ -943,8 +943,16 @@ static void audio_close_output_stream(struct audio_hw_device *dev, static int audio_set_parameters(struct audio_hw_device *dev, const char *kvpairs) { + struct a2dp_audio_dev *a2dp_dev = (struct a2dp_audio_dev *) dev; + struct a2dp_stream_out *out = a2dp_dev->out; + DBG(""); - return -ENOSYS; + + if (!out) + return 0; + + return out->stream.common.set_parameters((struct audio_stream *) out, + kvpairs); } static char *audio_get_parameters(const struct audio_hw_device *dev, -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html