当前位置:网站首页>Transplant tinyplay for imx6q development board QT system
Transplant tinyplay for imx6q development board QT system
2022-07-04 14:28:00 【mucheni】
Supporting information in the network disk information “iTOP-i.MX6 Development board data summary ( No CD data )\08_iTOP-i.MX6 Development board Linux System development information \13-Linux System migration tinyplay\iTOP-iMX6-Linux System - Sound card transplantation tinyplay.zip”
tinyalsa yes Google stay Android 4.0 The later push is based on alsa User layer audio interface of kernel .tinyalsa The provided header file is "asoundlib.h", Provide the most basic pcm and mixer operation .
tinyalsa The implementation file of is pcm.c( Realization pcm api) and mixer.c( Realization mixer api). There are four gadgets in them
Namely :
tinypcminfo:tinypcminfo.c, see pcm Equipment capacity ;
tinyplay:tinyplay.c, Use pcm Device playback wav Audio files in format ;
tinycap:tinycap.c, Use pcm Device acquisition pcm Format bitstream , And save for wav File format ;
tinymix:tinymix.c, Yes pcm Control of equipment , Including volume adjustment 、 Device switching .
These four tools can be used first tinypcminfo see pcm The ability of the device , In case we use unreasonable configuration when using the other three commands parameter invalid Error of .
This document applies to the minimum Linux System and Qt System .
78.1 Source code compilation
Check the content of the compressed package provided this time , They are guidance documents , Test music and source folder , As shown in the figure below .

The folder in the package that will be provided tinyalsa copy to Ubunut Working directory of , Pictured .

This compilation environment is “arm-2009q3”, As shown in the figure below .

Enter into ubuntu Upper tinyalsa Folder , Enter a command in the current directory “make”, Automatic generation 4 individual Executable file “tinycap、tinymix、tinypcminfo、tinyplay”.

Compile the complete .
More content can be paid to official account. : Beijing Xunwei knows more
边栏推荐
猜你喜欢
随机推荐
【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程
AI and Life Sciences
Digi restarts XBee Pro S2C production. Some differences need to be noted
Popular framework: the use of glide
利用Shap值进行异常值检测
Leetcode 61: 旋转链表
Stm32f1 and stm32subeide programming example -max7219 drives 8-bit 7-segment nixie tube (based on GPIO)
Opencv3.2 and opencv2.4 installation
leetcode:6110. 网格图中递增路径的数目【dfs + cache】
Excel快速合并多行数据
Visual Studio调试方式详解
GCC【6】- 编译的4个阶段
R language uses bwplot function in lattice package to visualize box plot and par Settings parameter custom theme mode
redis 日常笔记
What is the difference between Bi financial analysis in a narrow sense and financial analysis in a broad sense?
Redis daily notes
去除重复字母[贪心+单调栈(用数组+len来维持单调序列)]
Why should Base64 encoding be used for image transmission
sql优化之查询优化器
统计php程序运行时间及设置PHP最长运行时间









