1
0
Fork 0

MLK-16545-1: uapi: mxc_hifi4: add reset command for hifi4

add reset command declaration into mxc_hifi4.h file,
this command is used to reset hifi4 codec when seeking

Signed-off-by: Weiguang Kong <weiguang.kong@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
pull/10/head
Weiguang Kong 2017-09-28 12:44:17 +08:00 committed by Jason Liu
parent baca07d1bb
commit 6ec23d0c62
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@
#define HIFI4_UNLOAD_CODEC _IOW(HIFI4_IOC_MAGIC, 5, unsigned int)
#define HIFI4_GET_PCM_PROP _IOW(HIFI4_IOC_MAGIC, 6, unsigned int)
#define HIFI4_SET_CONFIG _IOW(HIFI4_IOC_MAGIC, 7, unsigned int)
#define HIFI4_RESET_CODEC _IOW(HIFI4_IOC_MAGIC, 8, unsigned int)
#define CODEC_MP3_DEC 1
#define CODEC_AAC_DEC 2