完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
|
相关推荐
1个回答
|
|
测试平台
Platform: RK3328 OS: Android 8 现象 flac文件无法获取专辑信息 解决方案 查看代码可知在setDataSource时,由于默认没有对flac进行判断,所以默认createRetriever导致flac的信息始终为空.添加flac支持返回StagefrightMetadataRetriever即可. diff --git a/frameworks/av/media/libmediaplayerservice/MetadataRetrieverClient.cpp b/frameworks/av/media/libmediaplayerservice/MetadataRetrieverClient.cpp index 276f77b..bb43cf2 100755 --- a/frameworks/av/media/libmediaplayerservice/MetadataRetrieverClient.cpp +++ b/frameworks/av/media/libmediaplayerservice/MetadataRetrieverClient.cpp @@ -14,7 +14,7 @@ ** See the License for the specific language governing permissions and ** limitations under the License. */ - +//#undef NDEBUG //#define LOG_NDEBUG 0 #define LOG_TAG "MetadataRetrieverClient" #include @@ -196,9 +196,12 @@ status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t offset, length); ALOGV("player typ |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
rk1126实现BT601输入,输入不带IIC接口的驱动程序
1489 浏览 0 评论
1370 浏览 1 评论
2478 浏览 3 评论
RK3568 Android11让系统ntp校准时间生效,需要设置些什么
3203 浏览 1 评论
5233 浏览 2 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-22 03:48 , Processed in 0.601253 second(s), Total 72, Slave 54 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191