解决can't play not PCM-coded WAVE-files的问题

原创 2011年01月07日 17:36:00

用aplay播放一个wav文件,出现can't play not PCM-coded WAVE-files的错误信息,为什么呢?

如果wav文件的编码方式为 Microsoft ADPCM,就会出现这种错误,因为aplay现在不支持这种编码方式。要知道wav文件的编码方式、采样率这些信息,可以用#file xxx.wav,就会得出类似“audiotest11.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz”这样的信息。aplay支持Microsoft  pcm无压缩格式,如果你的wav文件是adpcm的那就找个音频编辑软件把它转成pcm的,推荐cool editor软件。

相关文章推荐

PCM Audio and Wave Files

PCM Audio and Wave Files       this article is intended to give an overview of how PCM audio is sto...

PCM Audio and Wave Files 2

When a device needs to reproduce the stored stereo audio (or any multi-channel audio), it will proce...

【android学习】【问题解决】AsyncTask 中 can't create handler inside that has not called 问题解决

【问题重现】    在AsyncTask的使用过程中,抛出异常:Can't create handler inside thread that has not called Looper.prepa...

[gdb 6.3.0] GDB can't read core files on this machine 解决方案

[gdb 6.3.0] GDB can't read core files on this machine 解决方案
  • lile777
  • lile777
  • 2015年08月31日 14:04
  • 566

JAVA刚碰见的问题( java.lang.SecurityException: The jurisdiction policy files are not signed by a trusted s

1.  failed to load the jni shared library jre bin server jvm.dll           解决:这个主要是eclipse的版本和安...

错误解决 Can't create handler inside thread that has not called Looper.prepare()

错误Can't create handler inside thread that has not called Looper.prepare()的解决方法 Android不能在线程里面更新UI...

解决异常Can't create handler inside thread that has not called Looper.prepare()方法

最近做项目时出现个问题。 在一个基类中,创建一个Handler对象用于主线程向子线程发送数据,代码如下...

Can't create handler inside thread that has not called Looper.prepare()解决办法

private Handler mHandler = new Handler(){ public void handleMessage(Messa...
  • a7a9a68
  • a7a9a68
  • 2012年08月08日 09:31
  • 48608

解决bug:运行项目时报异常 “Can't create handler inside thread that has not called Looper.prepare()”

bug: “Can't create handler inside thread that has not called Looper.prepare()” 问题描述:在Android Studio...

图片下载时遇到Can't create handler inside thread that has not called Looper.prepare()解决办法

private Handler mHandler = new Handler(){                          public void handleMessage(Messa...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:解决can't play not PCM-coded WAVE-files的问题
举报原因:
原因补充:

(最多只允许输入30个字)