From e406ad3ccadaa45aa3f7621b67f701a16df98585 Mon Sep 17 00:00:00 2001 From: Jookia <166291@gmail.com> Date: Wed, 9 Nov 2016 07:20:24 +1100 Subject: Set the device API version to AUDIO_DEVICE_API_VERSION_2_0 instead of current. This fixes a boot crash. --- audio_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio_hw.c b/audio_hw.c index 0a7afa0..ce1509f 100644 --- a/audio_hw.c +++ b/audio_hw.c @@ -411,7 +411,7 @@ int audio_hw_open(const hw_module_t *module, const char *name, dev = &(tinyalsa_audio_device->device); dev->common.tag = HARDWARE_DEVICE_TAG; - dev->common.version = AUDIO_DEVICE_API_VERSION_CURRENT; + dev->common.version = AUDIO_DEVICE_API_VERSION_2_0; dev->common.module = (struct hw_module_t *) module; dev->common.close = audio_hw_close; -- cgit v1.1