In ql_audio_demo example of EC200U QuecOpen SDK, i do not understand about file name (full path required) argument of ql_aud_play_file_start function. Pls explain me about full path of file name argument as image
I think you can refer to the demo in the SDK. This interface is called for audio playback in many formats in the demo. The file path is defined in the header file of the demo. The path of the demo is as follows: components\ql-application\audio \audio_demo.c, the path of the header file is as follows: components\ql-application\audio\inc\audio_demo.h
ok thank you, i understand. I only wish to know where i can find test_mp3.mp3/test_wav.wav…? Is it already on EC200 module or i must be make it ?
i want to know where is “UFS:test_mp3.mp3” ? thanks you
@thanhtinbk I think what you are talking about is how to import audio files into the module. There is no audio file in the module file system. You need to generate the file into the firmware when compiling and then flash it to the module.
thanks a lot vic.xie, you are exellent. I can add .mp3 file and can burn it to my FW. But, the result is play failed as image
I have tried both “file”: “/user/firm” and "file": “UFS:test_mp3.mp3” but the same result. Pls tell me what is the correct path of mp3 file ? Thanks
You can modify the “/user/firm” as “user/test_mp3.mp3”, file name should be your customized name, thank you.
Hi Duncan.Xu, if i use “user/test_mp3.mp3” as my file path, how about “UFS:test_mp3.mp3” in my code ? Do i have to change it ?
How can i view EC200U file system ?
The picture in the picture is just a reference example, you can choose to fill in the file name in the corresponding directory, if you don’t have other types of files, you can comment out or delete the useless code
The file system API header file is ql_fs.h, located in the components\ql-kernel\inc directory of the SDK package.