找回密码
 立即注册

使用微信账号登录

只需一步,快速开始

查看: 5334|回复: 7

[CSR8系列] CSR8670

[复制链接]

暂无签到数据

发表于 2021-5-31 15:30:47 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册  

×
I am new to CSR8670 and i wanted to play a specific .wav file from memory in csr8670. Can anybody have any idea how this is done. Thanks in advance.
楼主热帖
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
连续签到天数:1天
签到总天数:168天
签到总奖励:2784金币
发表于 2021-6-1 22:13:27 | 显示全部楼层
只是播放一个特定提示音的文件而已,用语音提示就可以实现了。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册  

×
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

暂无签到数据

 楼主| 发表于 2021-6-2 12:53:06 | 显示全部楼层
骑着蟑螂去上学 发表于 2021-6-1 22:13
只是播放一个特定提示音的文件而已,用语音提示就可以实现了。

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) .
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:1天
签到总天数:2天
签到总奖励:10金币
发表于 2021-6-2 15:20:52 | 显示全部楼层
can you speak chinese
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

暂无签到数据

 楼主| 发表于 2021-6-3 12:25:19 | 显示全部楼层

I am sorry i dont know chinese. You can use browser to translate right? .
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

暂无签到数据

发表于 2021-6-4 09:32:55 | 显示全部楼层
I know what you want to do, but as we know, the source application can only encode the audio, and send it to the sink devices which can decoder it, so if you want to play the .wav file, i suggest you get this files from like SD card, and connect the source's aux L and aux R to the sd card output, so you can send the .wav file you want.
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

暂无签到数据

 楼主| 发表于 2021-6-5 21:43:11 | 显示全部楼层
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.
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:1天
签到总天数:64天
签到总奖励:2015金币
发表于 2023-11-27 13:42:18 | 显示全部楼层
学习
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册  

本版积分规则

小黑屋|手机版|我爱蓝牙网 - 52Bluetooth

GMT+8, 2024-5-3 12:30 , Processed in 0.450491 second(s), 23 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表