当前位置:网站首页>迅为IMX6Q开发板QT系统移植tinyplay
迅为IMX6Q开发板QT系统移植tinyplay
2022-07-04 12:51:00 【mucheni】
配套资料在网盘资料的“iTOP-i.MX6 开发板资料汇总(不含光盘资料)\08_iTOP-i.MX6 开发板 Linux 系统开发资料\13-Linux 系统移植 tinyplay\iTOP-iMX6-Linux 系统-声卡移植 tinyplay.zip”
tinyalsa 是 Google 在 Android 4.0 之后推的基于 alsa 内核的用户层音频接口。tinyalsa 提供的头文件是"asoundlib.h",提供最基础的 pcm 和 mixer 操作。
tinyalsa 的实现文件为 pcm.c(实现 pcm api)和 mixer.c(实现 mixer api)。在其中有四个小工具它们
分别是:
tinypcminfo:tinypcminfo.c,查看 pcm 设备能力;
tinyplay:tinyplay.c,使用 pcm 设备播放 wav 格式的音频文件;
tinycap:tinycap.c,使用 pcm 设备采集 pcm 格式的码流,并保存为 wav 格式的文件;
tinymix:tinymix.c,对 pcm 设备的控制,包括音量调节、设备切换。
这四个工具使用时可以先使用 tinypcminfo 查看 pcm 设备的能力,以防我们使用其他三个命令时使用了不合理的配置会出现 parameter invalid 的错误。
本文档适用于最小 Linux 系统以及 Qt 系统。
78.1 源码编译
查看本次提供的压缩包内容,分别为指导文档,测试音乐以及源码文件夹,如下图所示。

将提供的压缩包中的文件夹 tinyalsa 拷贝到 Ubunut 的工作目录,如图。

本次编译环境为“arm-2009q3”,如下图所示。

进入到 ubuntu 上的 tinyalsa 文件夹,在当前目录下输入命令“make”,自动生成 4 个 可执行文件“tinycap、tinymix、tinypcminfo、tinyplay”。

编译完成。
更多内容可以关注公众号:北京迅为了解更多喔
边栏推荐
- Mask wearing detection based on yolov1
- Understand chisel language thoroughly 06. Chisel Foundation (III) -- registers and counters
- Apple 5g chip research and development failure: continue to rely on Qualcomm, but also worry about being prosecuted?
- LifeCycle
- Mongodb commonly used 28 query statements (forward)
- MongoDB常用28条查询语句(转)
- CVPR 2022 | greatly reduce the manual annotation required for zero sample learning, and propose category semantic embedding rich in visual information (source code download)
- [matlab] summary of conv, filter, conv2, Filter2 and imfilter convolution functions
- R语言使用epiDisplay包的followup.plot函数可视化多个ID(病例)监测指标的纵向随访图、使用stress.col参数指定强调线的id子集的颜色(色彩)
- GCC【6】- 编译的4个阶段
猜你喜欢

国内酒店交易DDD应用与实践——代码篇

Test process arrangement (3)

markdown 语法之字体标红

Understand chisel language thoroughly 06. Chisel Foundation (III) -- registers and counters

Qt如何实现打包,实现EXE分享

The font of markdown grammar is marked in red

docker-compose公网部署redis哨兵模式

Use of tiledlayout function in MATLAB

测试流程整理(3)
![Supprimer les lettres dupliquées [avidité + pile monotone (maintenir la séquence monotone avec un tableau + Len)]](/img/af/a1dcba6f45eb4ccc668cd04a662e9c.png)
Supprimer les lettres dupliquées [avidité + pile monotone (maintenir la séquence monotone avec un tableau + Len)]
随机推荐
gin集成支付宝支付
JVM memory layout detailed, illustrated, well written!
go vendor 项目迁移到 mod 项目
Xcode 异常图片导致ipa包增大问题
常见 content-type对应表
Learning projects are self-made, and growth opportunities are self created
Supprimer les lettres dupliquées [avidité + pile monotone (maintenir la séquence monotone avec un tableau + Len)]
R language uses the mutation function of dplyr package to standardize the specified data column (using mean function and SD function), and calculates the grouping mean of the standardized target varia
Golang uses JSON unmarshal number to interface{} number to become float64 type (turn)
吃透Chisel语言.05.Chisel基础(二)——组合电路与运算符
游戏出海,全球化运营
自主工业软件的创新与发展
Understand chisel language thoroughly 09. Chisel project construction, operation and testing (I) -- build and run chisel project with SBT
Innovation and development of independent industrial software
如何游戏出海代运营、游戏出海代投
Fs4059c is a 5V input boost charging 12.6v1.2a. Inputting a small current to three lithium battery charging chips will not pull it dead. The temperature is 60 ° and 1000-1100ma is recommended
Deming Lee listed on Shenzhen Stock Exchange: the market value is 3.1 billion, which is the husband and wife of Li Hu and Tian Hua
Apple 5g chip research and development failure: continue to rely on Qualcomm, but also worry about being prosecuted?
2022游戏出海实用发行策略
[C question set] of VII