diff options
Diffstat (limited to 'audio_hw.c')
-rw-r--r-- | audio_hw.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -295,7 +295,7 @@ int audio_hw_open(const hw_module_t *module, const char *name, goto error_device; } - rc = yamaha_mc1n2_audio_routine_init(tinyalsa_audio_device->mc1n2_pdata); + rc = yamaha_mc1n2_audio_init(tinyalsa_audio_device->mc1n2_pdata); if(rc < 0) { LOGE("Failed to init Yamaha-MC1N2-Audio"); } @@ -312,13 +312,6 @@ int audio_hw_open(const hw_module_t *module, const char *name, LOGE("Failed to set default mixer route"); } -#ifdef YAMAHA_MC1N2_AUDIO - rc = yamaha_mc1n2_audio_routine_route_init(tinyalsa_audio_device->mc1n2_pdata); - if(rc < 0) { - LOGE("Failed to init Yamaha-MC1N2-Audio route"); - } -#endif - tinyalsa_audio_device->mixer = tinyalsa_mixer; *device = &(dev->common); |