小编tem*_*ple的帖子

如何在Android中将WAV/OGG文件转换为FLAC文件?

编辑:纳入改变的uv001的答案.

我只能发现ICS 4.0支持FLAC解码,但编码.我需要一些编码器将wav转换为flac,但是当前我找不到它.我发现有一个jFlac avaible,但我不知道如何使用这个库,只是简单地转换文件.

有人能帮我一把吗?

今天,我只是自己一些想法,使用JavaFlacEncoder.它适用于WAV的某些比特率.

我将值更改为现在正在运行的硬编码值.

/*
 * Copyright (C) 2010  Preston Lacey http://javaflacencoder.sourceforge.net/
 * All Rights Reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will …
Run Code Online (Sandbox Code Playgroud)

android wav ogg flac

13
推荐指数
1
解决办法
7348
查看次数

如何避免Eclipse/ADT中出现"用户操作等待"对话框

在此输入图像描述

如图所示,当我使用自动构建开发Android应用程序时,有时会显示此对话框.有没有办法避免这种情况,让它只是在后台完成这个过程?

它并不总是显示,但是当它发生时,我需要等待它5-10秒.这很烦人,特别是考虑到当项目变大时,它会慢得多.

更新: 我做了一些研究:

Android编译很慢(使用Eclipse)

Android:eclipse工作区需要很长时间才能构建?

http://groups.google.com/group/android-developers/browse_thread/thread/a16202975510de39

http://oae9.wordpress.com/2011/03/22/android-workaround-for-slow-building-workspace-problem-in-eclipse/

http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html

是否有更简单的解决方案不使用ANT?还是可以轻松应用的任何其他最好的ANT脚本?

eclipse android adt

5
推荐指数
1
解决办法
4207
查看次数

标签 统计

android ×2

adt ×1

eclipse ×1

flac ×1

ogg ×1

wav ×1