1 Star 0 Fork 0

androidos/audio-tool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
OMAP audio-tool
---------------

The audio-tool is a swiss-army knife for testing and using audio on
OMAP.  It includes the ability to play and record simple wave files,
play test tones and impulses, and manipulate the ALSA mixer.

There also includes a "legacy mode" for backwards-compatibility with
the tinyalsa utils.

MANIFEST
--------

As stated before, the goal is to have ONE binary, 'audio-tool'.  But
for now we have:

TARGET BINARIES:

    audio-tool - The main audio-tool tool.

HOST BINARIES:

    generate-wave-tables - Generates C-source output with look-up tables
        for various waveforms.

BUILDING
--------

The Makefile builds statically linked binaries for the target
platform.  The binaries for the host platform are usually dynamically
linked.

To build for the host PC, do this:

   $ make

To build for the target device, do this:

   $ export CROSS_COMPILE=/path/to/arm-none-linux-gnueabi-
   $ make ARCH=arm

...and push the binaries to the device.

LEGACY MODE
-----------

The audio-tool may be used as a drop-in replacement for the tinyalsa
utils by creating symlinks to audio-tool.  In this mode, it accepts
the exact same command-line syntax as those tools.  To use this mode,
then you need to do this on your target device.

    # which audio-tool
    /usr/bin/audio-tool
    # ln -s audio-tool /usr/bin/tinyplay
    # ln -s audio-tool /usr/bin/tinycap
    # ln -s audio-tool /usr/bin/tinymix

You can then use those tools as you always have (with some of the
enhanced parameters that the audio team has been using interally, such
as the '-t duration' parameter.

LICENSING
---------

BSD (3-clause)

IDEAS AND FUTURE DIRECTIONS
---------------------------

* On unit tests, android's test tool looks for the last output
  line instead of the OS return code for pass/fail.  Make sure
  that we're compatible with that.

* Add support for using the mmap() API in the tests and/or
  play/cap.

* Support UCM

* Test multi-port configurations (e.g. play a system tone during
  mm playback.  Capture/playback at the same time over misc. ports.

空文件

简介

暂无描述 展开 收起
C 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/android_life/audio-tool.git
git@gitee.com:android_life/audio-tool.git
android_life
audio-tool
audio-tool
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385