Added support for separate device registeration for play and capture.
authorShivam Garg <garg.shivam@samsung.com>
Thu, 7 Sep 2017 09:04:38 +0000 (18:04 +0900)
committerShivam Garg <garg.shivam@samsung.com>
Mon, 18 Sep 2017 14:03:32 +0000 (23:03 +0900)
commitd37cb83820e639c32ab90fe7defb521122678ea1
treebb44cd94d51ee0aec08619f653e83d7bc19af33b
parent19cdaa59d6a45e3cda744583e97a54f4b053dcac
 Added support for separate device registeration for play and capture.

alc5658 audio device can be registered as two seperate devices.
The device naming format is "/dev/audio/pcmC%dD%d%c",card,device,(playback or capture flag).

Changed the device opening format in tinyalsa to open the device registered as a single device for both playback and capture.
framework/src/tinyalsa/tinyalsa.c
os/arch/arm/src/artik053/src/artik053_alc5658.c
os/audio/Kconfig