Thanks for the response. Actually voice prompt is available in sink application only right. The ultimate requirement i need was to play a specific file through a2dp. I am using source application to send audio through a2dp and there is no audio prompt in source application.
From connectStream documentation i found we can read from file using streamfilesource. But how the file is to be processed? How it needs to be connected to a sink ( for eg : Stereo out) .
terrysmt1984 发表于 2021-6-4 09:32
I know what you want to do, but as we know, the source application can only encode the audio, and se ...
My requirement was to render a file similar to audio prompt working in sink app. So i converted .wav to .prm and .idx file and stored it to internal flash by copying it in image folder of application just like sink audio prompt works. I was able to read the file in VM using streamfilesource() but when i connect it to sink(stereo), no audio comes also no error or panic.