diff --git a/repo.mak b/repo.mak index 211ebd9bf..391221283 100755 --- a/repo.mak +++ b/repo.mak @@ -5,7 +5,7 @@ OPENSBI_VERSION = "9aa2f6d34e685bbbb0afaab4e308b93a9cd06ec7" BUILDROOT-EXT_VERSION = "8eafd41f1dde4ff48b914d5978cecf7af627fba6" LINUX_VERSION = "04b6371ff02d49cba18adc81dfcdbbec0cbfed56" UBOOT_VERSION = "317894980fd498b863820b1343096fe188faae53" -CDK_VERSION = "fea98217f3a781508de19bb2ecfea390526414ba" +CDK_VERSION = "dbfb3da07812b2f73257ebc1fb0d54dded1f7740" RT-SMART_SRC_PATH = src/big/rt-smart MPP_SRC_PATH = src/big/mpp diff --git a/src/big/mpp/kernel/lib/libaudio.a b/src/big/mpp/kernel/lib/libaudio.a index 05e192936..3772329b7 100644 Binary files a/src/big/mpp/kernel/lib/libaudio.a and b/src/big/mpp/kernel/lib/libaudio.a differ diff --git a/src/big/mpp/kernel/lib/libcmpi.a b/src/big/mpp/kernel/lib/libcmpi.a index c27efc202..73f5af875 100644 Binary files a/src/big/mpp/kernel/lib/libcmpi.a and b/src/big/mpp/kernel/lib/libcmpi.a differ diff --git a/src/big/mpp/kernel/lib/libdma.a b/src/big/mpp/kernel/lib/libdma.a index a5b042833..4c93f75b2 100644 Binary files a/src/big/mpp/kernel/lib/libdma.a and b/src/big/mpp/kernel/lib/libdma.a differ diff --git a/src/big/mpp/kernel/lib/libdpu.a b/src/big/mpp/kernel/lib/libdpu.a index cdd9d9193..17f89b4c9 100644 Binary files a/src/big/mpp/kernel/lib/libdpu.a and b/src/big/mpp/kernel/lib/libdpu.a differ diff --git a/src/big/mpp/kernel/lib/liblog.a b/src/big/mpp/kernel/lib/liblog.a index dbc53f8c4..a0adaacab 100644 Binary files a/src/big/mpp/kernel/lib/liblog.a and b/src/big/mpp/kernel/lib/liblog.a differ diff --git a/src/big/mpp/kernel/lib/libmediafreq.a b/src/big/mpp/kernel/lib/libmediafreq.a index a7a89ede2..5b12e7c6d 100644 Binary files a/src/big/mpp/kernel/lib/libmediafreq.a and b/src/big/mpp/kernel/lib/libmediafreq.a differ diff --git a/src/big/mpp/kernel/lib/libmmz.a b/src/big/mpp/kernel/lib/libmmz.a index 7c0d7b1ef..6252de80e 100644 Binary files a/src/big/mpp/kernel/lib/libmmz.a and b/src/big/mpp/kernel/lib/libmmz.a differ diff --git a/src/big/mpp/kernel/lib/libpm.a b/src/big/mpp/kernel/lib/libpm.a index ad91b12a9..ffeac027b 100644 Binary files a/src/big/mpp/kernel/lib/libpm.a and b/src/big/mpp/kernel/lib/libpm.a differ diff --git a/src/big/mpp/kernel/lib/libsys.a b/src/big/mpp/kernel/lib/libsys.a index 32525c46a..a8f969f3e 100644 Binary files a/src/big/mpp/kernel/lib/libsys.a and b/src/big/mpp/kernel/lib/libsys.a differ diff --git a/src/big/mpp/kernel/lib/libvb.a b/src/big/mpp/kernel/lib/libvb.a index d460b7e42..0e970f57a 100644 Binary files a/src/big/mpp/kernel/lib/libvb.a and b/src/big/mpp/kernel/lib/libvb.a differ diff --git a/src/big/mpp/kernel/lib/libvdss.a b/src/big/mpp/kernel/lib/libvdss.a index fde0e1214..92edd83f6 100644 Binary files a/src/big/mpp/kernel/lib/libvdss.a and b/src/big/mpp/kernel/lib/libvdss.a differ diff --git a/src/big/mpp/kernel/lib/libvicap.a b/src/big/mpp/kernel/lib/libvicap.a index 2bfbd5b2a..09fc03d13 100644 Binary files a/src/big/mpp/kernel/lib/libvicap.a and b/src/big/mpp/kernel/lib/libvicap.a differ diff --git a/src/big/mpp/kernel/lib/libvo.a b/src/big/mpp/kernel/lib/libvo.a index 1d932ae36..5f060dde4 100644 Binary files a/src/big/mpp/kernel/lib/libvo.a and b/src/big/mpp/kernel/lib/libvo.a differ diff --git a/src/big/mpp/kernel/lib/libvpu.a b/src/big/mpp/kernel/lib/libvpu.a index 1aeea5d46..7405b677e 100644 Binary files a/src/big/mpp/kernel/lib/libvpu.a and b/src/big/mpp/kernel/lib/libvpu.a differ diff --git a/src/big/mpp/kernel/lib/libvvi.a b/src/big/mpp/kernel/lib/libvvi.a index 33c5cb4b8..0cf3b53dd 100644 Binary files a/src/big/mpp/kernel/lib/libvvi.a and b/src/big/mpp/kernel/lib/libvvi.a differ diff --git a/src/big/mpp/kernel/lib/libvvo.a b/src/big/mpp/kernel/lib/libvvo.a index 73242d745..9c2c27c6b 100644 Binary files a/src/big/mpp/kernel/lib/libvvo.a and b/src/big/mpp/kernel/lib/libvvo.a differ diff --git a/src/big/mpp/userapps/lib/lib3a.a b/src/big/mpp/userapps/lib/lib3a.a index 348109576..582dd3e50 100644 Binary files a/src/big/mpp/userapps/lib/lib3a.a and b/src/big/mpp/userapps/lib/lib3a.a differ diff --git a/src/big/mpp/userapps/lib/libadec.a b/src/big/mpp/userapps/lib/libadec.a index 948bae453..a3e277c78 100644 Binary files a/src/big/mpp/userapps/lib/libadec.a and b/src/big/mpp/userapps/lib/libadec.a differ diff --git a/src/big/mpp/userapps/lib/libaenc.a b/src/big/mpp/userapps/lib/libaenc.a index 227c56427..183ca0234 100644 Binary files a/src/big/mpp/userapps/lib/libaenc.a and b/src/big/mpp/userapps/lib/libaenc.a differ diff --git a/src/big/mpp/userapps/lib/libai.a b/src/big/mpp/userapps/lib/libai.a index a6091fc4d..29c25a4c2 100644 Binary files a/src/big/mpp/userapps/lib/libai.a and b/src/big/mpp/userapps/lib/libai.a differ diff --git a/src/big/mpp/userapps/lib/libao.a b/src/big/mpp/userapps/lib/libao.a index 9295c349d..986b3a635 100644 Binary files a/src/big/mpp/userapps/lib/libao.a and b/src/big/mpp/userapps/lib/libao.a differ diff --git a/src/big/mpp/userapps/lib/libauto_ctrol.a b/src/big/mpp/userapps/lib/libauto_ctrol.a index 34d98c99b..ab8338e81 100644 Binary files a/src/big/mpp/userapps/lib/libauto_ctrol.a and b/src/big/mpp/userapps/lib/libauto_ctrol.a differ diff --git a/src/big/mpp/userapps/lib/libbinder.a b/src/big/mpp/userapps/lib/libbinder.a index f7ca35667..0859af5c0 100644 Binary files a/src/big/mpp/userapps/lib/libbinder.a and b/src/big/mpp/userapps/lib/libbinder.a differ diff --git a/src/big/mpp/userapps/lib/libbuffer_management.a b/src/big/mpp/userapps/lib/libbuffer_management.a index b6d2ffcd9..aa81895aa 100644 Binary files a/src/big/mpp/userapps/lib/libbuffer_management.a and b/src/big/mpp/userapps/lib/libbuffer_management.a differ diff --git a/src/big/mpp/userapps/lib/libcam_caldb.a b/src/big/mpp/userapps/lib/libcam_caldb.a index 40ea88cd3..8463a112b 100644 Binary files a/src/big/mpp/userapps/lib/libcam_caldb.a and b/src/big/mpp/userapps/lib/libcam_caldb.a differ diff --git a/src/big/mpp/userapps/lib/libcam_device.a b/src/big/mpp/userapps/lib/libcam_device.a index 602083731..b79aa53c0 100644 Binary files a/src/big/mpp/userapps/lib/libcam_device.a and b/src/big/mpp/userapps/lib/libcam_device.a differ diff --git a/src/big/mpp/userapps/lib/libcam_engine.a b/src/big/mpp/userapps/lib/libcam_engine.a index d83c1dee3..da34c2944 100644 Binary files a/src/big/mpp/userapps/lib/libcam_engine.a and b/src/big/mpp/userapps/lib/libcam_engine.a differ diff --git a/src/big/mpp/userapps/lib/libcameric_drv.a b/src/big/mpp/userapps/lib/libcameric_drv.a index a7e475f7c..0968165a8 100644 Binary files a/src/big/mpp/userapps/lib/libcameric_drv.a and b/src/big/mpp/userapps/lib/libcameric_drv.a differ diff --git a/src/big/mpp/userapps/lib/libcameric_reg_drv.a b/src/big/mpp/userapps/lib/libcameric_reg_drv.a index b36e3855b..b40b0b3b7 100644 Binary files a/src/big/mpp/userapps/lib/libcameric_reg_drv.a and b/src/big/mpp/userapps/lib/libcameric_reg_drv.a differ diff --git a/src/big/mpp/userapps/lib/libcmd_buffer.a b/src/big/mpp/userapps/lib/libcmd_buffer.a index 8be75e888..b21938890 100644 Binary files a/src/big/mpp/userapps/lib/libcmd_buffer.a and b/src/big/mpp/userapps/lib/libcmd_buffer.a differ diff --git a/src/big/mpp/userapps/lib/libcommon.a b/src/big/mpp/userapps/lib/libcommon.a index 98c7100b6..25ffaf8d5 100644 Binary files a/src/big/mpp/userapps/lib/libcommon.a and b/src/big/mpp/userapps/lib/libcommon.a differ diff --git a/src/big/mpp/userapps/lib/libdma.a b/src/big/mpp/userapps/lib/libdma.a index 22c9df3aa..47c08197e 100644 Binary files a/src/big/mpp/userapps/lib/libdma.a and b/src/big/mpp/userapps/lib/libdma.a differ diff --git a/src/big/mpp/userapps/lib/libdpu.a b/src/big/mpp/userapps/lib/libdpu.a index cf323b96c..d37861846 100644 Binary files a/src/big/mpp/userapps/lib/libdpu.a and b/src/big/mpp/userapps/lib/libdpu.a differ diff --git a/src/big/mpp/userapps/lib/libebase.a b/src/big/mpp/userapps/lib/libebase.a index 5781bf26b..1ef59213b 100644 Binary files a/src/big/mpp/userapps/lib/libebase.a and b/src/big/mpp/userapps/lib/libebase.a differ diff --git a/src/big/mpp/userapps/lib/libfpga.a b/src/big/mpp/userapps/lib/libfpga.a index b9eecab57..897c35736 100644 Binary files a/src/big/mpp/userapps/lib/libfpga.a and b/src/big/mpp/userapps/lib/libfpga.a differ diff --git a/src/big/mpp/userapps/lib/libhal.a b/src/big/mpp/userapps/lib/libhal.a index fa40415d7..965d665eb 100644 Binary files a/src/big/mpp/userapps/lib/libhal.a and b/src/big/mpp/userapps/lib/libhal.a differ diff --git a/src/big/mpp/userapps/lib/libisi.a b/src/big/mpp/userapps/lib/libisi.a index 39db5cbd5..62208442e 100644 Binary files a/src/big/mpp/userapps/lib/libisi.a and b/src/big/mpp/userapps/lib/libisi.a differ diff --git a/src/big/mpp/userapps/lib/libisp_drv.a b/src/big/mpp/userapps/lib/libisp_drv.a index 8f6635a3c..13e5aa961 100644 Binary files a/src/big/mpp/userapps/lib/libisp_drv.a and b/src/big/mpp/userapps/lib/libisp_drv.a differ diff --git a/src/big/mpp/userapps/lib/liboslayer.a b/src/big/mpp/userapps/lib/liboslayer.a index a75bcc07b..8e9e88836 100644 Binary files a/src/big/mpp/userapps/lib/liboslayer.a and b/src/big/mpp/userapps/lib/liboslayer.a differ diff --git a/src/big/mpp/userapps/lib/libpm.a b/src/big/mpp/userapps/lib/libpm.a index 8ef46ca2e..2df93f2b7 100644 Binary files a/src/big/mpp/userapps/lib/libpm.a and b/src/big/mpp/userapps/lib/libpm.a differ diff --git a/src/big/mpp/userapps/lib/libsom_ctrl.a b/src/big/mpp/userapps/lib/libsom_ctrl.a index 7608c37df..ba321fa46 100644 Binary files a/src/big/mpp/userapps/lib/libsom_ctrl.a and b/src/big/mpp/userapps/lib/libsom_ctrl.a differ diff --git a/src/big/mpp/userapps/lib/libstart_engine.a b/src/big/mpp/userapps/lib/libstart_engine.a index ce104a87f..a5e35d19d 100644 Binary files a/src/big/mpp/userapps/lib/libstart_engine.a and b/src/big/mpp/userapps/lib/libstart_engine.a differ diff --git a/src/big/mpp/userapps/lib/libswitch.a b/src/big/mpp/userapps/lib/libswitch.a index d36cf6203..c5eeb386a 100644 Binary files a/src/big/mpp/userapps/lib/libswitch.a and b/src/big/mpp/userapps/lib/libswitch.a differ diff --git a/src/big/mpp/userapps/lib/libsys.a b/src/big/mpp/userapps/lib/libsys.a index 2cc755186..f6fb7b68a 100644 Binary files a/src/big/mpp/userapps/lib/libsys.a and b/src/big/mpp/userapps/lib/libsys.a differ diff --git a/src/big/mpp/userapps/lib/libt_common_c.a b/src/big/mpp/userapps/lib/libt_common_c.a index d60786542..2007357ff 100644 Binary files a/src/big/mpp/userapps/lib/libt_common_c.a and b/src/big/mpp/userapps/lib/libt_common_c.a differ diff --git a/src/big/mpp/userapps/lib/libt_database_c.a b/src/big/mpp/userapps/lib/libt_database_c.a index 4f6db51c2..3809480be 100644 Binary files a/src/big/mpp/userapps/lib/libt_database_c.a and b/src/big/mpp/userapps/lib/libt_database_c.a differ diff --git a/src/big/mpp/userapps/lib/libt_json_c.a b/src/big/mpp/userapps/lib/libt_json_c.a index 4cb97c785..b7e3c6204 100644 Binary files a/src/big/mpp/userapps/lib/libt_json_c.a and b/src/big/mpp/userapps/lib/libt_json_c.a differ diff --git a/src/big/mpp/userapps/lib/libt_mxml_c.a b/src/big/mpp/userapps/lib/libt_mxml_c.a index a86b9e4af..34486737f 100644 Binary files a/src/big/mpp/userapps/lib/libt_mxml_c.a and b/src/big/mpp/userapps/lib/libt_mxml_c.a differ diff --git a/src/big/mpp/userapps/lib/libvb.a b/src/big/mpp/userapps/lib/libvb.a index 3453e5b77..1d757003f 100644 Binary files a/src/big/mpp/userapps/lib/libvb.a and b/src/big/mpp/userapps/lib/libvb.a differ diff --git a/src/big/mpp/userapps/lib/libvdec.a b/src/big/mpp/userapps/lib/libvdec.a index 10c868f13..7da13d70a 100644 Binary files a/src/big/mpp/userapps/lib/libvdec.a and b/src/big/mpp/userapps/lib/libvdec.a differ diff --git a/src/big/mpp/userapps/lib/libvdss.a b/src/big/mpp/userapps/lib/libvdss.a index 1f6f688ea..c62854b71 100644 Binary files a/src/big/mpp/userapps/lib/libvdss.a and b/src/big/mpp/userapps/lib/libvdss.a differ diff --git a/src/big/mpp/userapps/lib/libvenc.a b/src/big/mpp/userapps/lib/libvenc.a index 7b03473bb..c842ee3e0 100644 Binary files a/src/big/mpp/userapps/lib/libvenc.a and b/src/big/mpp/userapps/lib/libvenc.a differ diff --git a/src/big/mpp/userapps/lib/libvicap.a b/src/big/mpp/userapps/lib/libvicap.a index 390fb9462..7e9c60a7b 100644 Binary files a/src/big/mpp/userapps/lib/libvicap.a and b/src/big/mpp/userapps/lib/libvicap.a differ diff --git a/src/big/mpp/userapps/lib/libvideo_in.a b/src/big/mpp/userapps/lib/libvideo_in.a index 635e30145..3b4a9fb15 100644 Binary files a/src/big/mpp/userapps/lib/libvideo_in.a and b/src/big/mpp/userapps/lib/libvideo_in.a differ diff --git a/src/big/mpp/userapps/lib/libvirtual_hal.a b/src/big/mpp/userapps/lib/libvirtual_hal.a index e0bb678ba..5b3e03aa6 100644 Binary files a/src/big/mpp/userapps/lib/libvirtual_hal.a and b/src/big/mpp/userapps/lib/libvirtual_hal.a differ diff --git a/src/big/mpp/userapps/lib/libvo.a b/src/big/mpp/userapps/lib/libvo.a index 353be6be7..62b3c02b2 100644 Binary files a/src/big/mpp/userapps/lib/libvo.a and b/src/big/mpp/userapps/lib/libvo.a differ diff --git a/src/big/mpp/userapps/lib/libvvi.a b/src/big/mpp/userapps/lib/libvvi.a index d3433cccb..be7a492ea 100644 Binary files a/src/big/mpp/userapps/lib/libvvi.a and b/src/big/mpp/userapps/lib/libvvi.a differ diff --git a/src/common/cdk/user/component/datafifo/host/lib/libdatafifo.a b/src/common/cdk/user/component/datafifo/host/lib/libdatafifo.a index 89b60299b..72d511a08 100644 Binary files a/src/common/cdk/user/component/datafifo/host/lib/libdatafifo.a and b/src/common/cdk/user/component/datafifo/host/lib/libdatafifo.a differ diff --git a/src/common/cdk/user/component/datafifo/slave/lib/libdatafifo.a b/src/common/cdk/user/component/datafifo/slave/lib/libdatafifo.a index 21ec993e5..a2d4c9d6d 100644 Binary files a/src/common/cdk/user/component/datafifo/slave/lib/libdatafifo.a and b/src/common/cdk/user/component/datafifo/slave/lib/libdatafifo.a differ diff --git a/src/common/cdk/user/component/ipcmsg/host/lib/libipcmsg.a b/src/common/cdk/user/component/ipcmsg/host/lib/libipcmsg.a index 0785df172..ce39a1154 100644 Binary files a/src/common/cdk/user/component/ipcmsg/host/lib/libipcmsg.a and b/src/common/cdk/user/component/ipcmsg/host/lib/libipcmsg.a differ diff --git a/src/common/cdk/user/component/ipcmsg/slave/lib/libipcmsg.a b/src/common/cdk/user/component/ipcmsg/slave/lib/libipcmsg.a index 6d98a413d..d00d2448e 100644 Binary files a/src/common/cdk/user/component/ipcmsg/slave/lib/libipcmsg.a and b/src/common/cdk/user/component/ipcmsg/slave/lib/libipcmsg.a differ diff --git a/src/common/cdk/user/samples/rtsp_demo/include/streaming_player.h b/src/common/cdk/user/samples/rtsp_demo/include/streaming_player.h index ac12ecd46..3a0f94251 100644 --- a/src/common/cdk/user/samples/rtsp_demo/include/streaming_player.h +++ b/src/common/cdk/user/samples/rtsp_demo/include/streaming_player.h @@ -45,6 +45,7 @@ struct SessionAttr { uint32_t video_width; uint32_t video_height; k_vicap_sensor_type sensor_type; + k_i2s_in_mono_channel auido_mono_channel_type; }; #define MAX_SESSION_NUM 3 @@ -90,7 +91,7 @@ class StreamingPlayer { void Stop(); private: - int CreateAudioEncode(); + int CreateAudioEncode(const SessionAttr &session_attr); int CreateVideoEncode(const SessionAttr &session_attr); int StreamingPlayerInit(); int StreamingPlayerDeinit(); diff --git a/src/common/cdk/user/samples/rtsp_demo/main.cpp b/src/common/cdk/user/samples/rtsp_demo/main.cpp index 3f01f0652..1ddc13087 100644 --- a/src/common/cdk/user/samples/rtsp_demo/main.cpp +++ b/src/common/cdk/user/samples/rtsp_demo/main.cpp @@ -12,13 +12,15 @@ static void sigHandler(int sig_no) { } static void help() { - std::cout << "Usage: ./rtsp_demo -s 7 -n 2 -t h265 -w 1280 -h 720." << std::endl; + std::cout << "Usage: ./rtsp_demo -s 7 -n 2 -t h265 -w 1280 -h 720 -a 0." << std::endl; std::cout << "-s: the sensor type: default 7" << std::endl; std::cout << " see camera sensor doc." << std::endl; std::cout << "-n: the session number, range: [1, 3]." << std::endl; std::cout << "-t: the video encoder type: h264/h265/mjpeg." << std::endl; std::cout << "-w: the video encoder width." << std::endl; std::cout << "-h: the video encoder height." << std::endl; + std::cout << "-a: audio input type(0:mic input 1:headphone input):default 0." << std::endl; + } int main(int argc, char *argv[]) { @@ -33,6 +35,7 @@ int main(int argc, char *argv[]) { int session_num = 1; int video_width = 1280; int video_height = 720; + k_i2s_in_mono_channel audio_input_type = KD_I2S_IN_MONO_RIGHT_CHANNEL;//mic input if (argc > 1) { for (int i = 1; i < argc; i += 2) { @@ -60,6 +63,8 @@ int main(int argc, char *argv[]) { video_height = atoi(argv[i+1]); } else if (strcmp(argv[i], "-s") == 0) { sensor_type = (k_vicap_sensor_type)atoi(argv[i+1]); + } else if (strcmp(argv[i], "-a") == 0) { + audio_input_type = (k_i2s_in_mono_channel)atoi(argv[i+1]); } else if (strcmp(argv[i], "--help") == 0) { help(); @@ -67,7 +72,7 @@ int main(int argc, char *argv[]) { } } } - + StreamingPlayer *sample_player = new StreamingPlayer(sensor_type, video_width, video_height, session_num); if (!sample_player) { std::cout << "StreamingPlayer Init failed." << std::endl; @@ -83,6 +88,7 @@ int main(int argc, char *argv[]) { session_attr.video_width = video_width; session_attr.video_height = video_height; session_attr.session_name = session_name.append(std::to_string(i)); + session_attr.auido_mono_channel_type = audio_input_type; ret = sample_player->CreateSession(session_attr); if (ret < 0) { @@ -90,7 +96,7 @@ int main(int argc, char *argv[]) { goto end; } } - + sample_player->Start(); while (!g_exit_flag) { diff --git a/src/common/cdk/user/samples/rtsp_demo/src/streaming_player.cpp b/src/common/cdk/user/samples/rtsp_demo/src/streaming_player.cpp index cbe45e1aa..71a3927a1 100644 --- a/src/common/cdk/user/samples/rtsp_demo/src/streaming_player.cpp +++ b/src/common/cdk/user/samples/rtsp_demo/src/streaming_player.cpp @@ -180,7 +180,7 @@ int StreamingPlayer::CreateSession(const SessionAttr &session_attr) { ServerMediaSession *sms = ServerMediaSession::createNew(*env_, streamName.c_str(), streamName.c_str(), descriptionString); if (!audio_created_) { - int ret = CreateAudioEncode(); + int ret = CreateAudioEncode(session_attr); if (ret < 0) { std::cout << "create audio encode failed." << std::endl; return -1; @@ -296,7 +296,7 @@ int StreamingPlayer::CreateVideoEncode(const SessionAttr &session_attr) { return 0; } -int StreamingPlayer::CreateAudioEncode() { +int StreamingPlayer::CreateAudioEncode(const SessionAttr &session_attr) { k_aio_dev_attr aio_dev_attr; memset(&aio_dev_attr, 0, sizeof(aio_dev_attr)); aio_dev_attr.audio_type = KD_AUDIO_INPUT_TYPE_I2S; @@ -305,6 +305,7 @@ int StreamingPlayer::CreateAudioEncode() { aio_dev_attr.kd_audio_attr.i2s_attr.chn_cnt = 2; aio_dev_attr.kd_audio_attr.i2s_attr.i2s_mode = K_STANDARD_MODE; aio_dev_attr.kd_audio_attr.i2s_attr.snd_mode = KD_AUDIO_SOUND_MODE_MONO; + aio_dev_attr.kd_audio_attr.i2s_attr.mono_channel = session_attr.auido_mono_channel_type; aio_dev_attr.kd_audio_attr.i2s_attr.frame_num = AUDIO_PERSEC_DIV_NUM; aio_dev_attr.kd_audio_attr.i2s_attr.point_num_per_frame = audio_sample_rate_ / aio_dev_attr.kd_audio_attr.i2s_attr.frame_num; aio_dev_attr.kd_audio_attr.i2s_attr.i2s_type = K_AIO_I2STYPE_INNERCODEC; diff --git a/src/reference/ai_poc/version b/src/reference/ai_poc/version index 570c79651..3a6a8d03e 100644 --- a/src/reference/ai_poc/version +++ b/src/reference/ai_poc/version @@ -1 +1 @@ -v1.0.2 +v1.1 diff --git a/src/reference/fancy_poc/version b/src/reference/fancy_poc/version index 570c79651..3a6a8d03e 100644 --- a/src/reference/fancy_poc/version +++ b/src/reference/fancy_poc/version @@ -1 +1 @@ -v1.0.2 +v1.1