How to use tinymix and tinyplay?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to use tinymix and tinyplay?

跳至解决方案
13,369 次查看
jacklu
Contributor II

Hi expert,

我们目前android版本是5.0.2(l5.0.0_1.0.0-ga : base on Android 5.0.2_r1), kernel版本: Linux version 3.10.53

碰到一些audio codec(WM8962)的问题,想尝试debug。

可以帮忙提供一些test&DEBUG方法么?

请问是否可以提供speaker(dual) 、 headset的操作方法(使用tinymix)。

Thanks!

BRs,

Jack

标签 (4)
0 项奖励
1 解答
4,873 次查看
BiyongSUN
NXP Employee
NXP Employee

Freescale is responsible for cpu dai.

Codec vendor is responsible for codec dai.

Customer is  responsible for machine driver, which should follow the alsa asoc framework.

No any direct call to the cpu dai to code dai. 

And it is alsa development, please be aware of those.

在原帖中查看解决方案

0 项奖励
5 回复数
4,873 次查看
jacklu
Contributor II

Hi Biyong,

OK, I got it.

Thanks!

BRs,

Jack

0 项奖励
4,873 次查看
jacklu
Contributor II

Hi,

请问是否可以提供如上所提的command用于codec测试?

Thanks!

0 项奖励
4,874 次查看
BiyongSUN
NXP Employee
NXP Employee

Freescale is responsible for cpu dai.

Codec vendor is responsible for codec dai.

Customer is  responsible for machine driver, which should follow the alsa asoc framework.

No any direct call to the cpu dai to code dai. 

And it is alsa development, please be aware of those.

0 项奖励
4,873 次查看
b36401
NXP Employee
NXP Employee

For specific wm8962 settings you can refer refer to Wolfson resources:

http://opensource.wolfsonmicro.com/content/linux-drivers-wolfson-devices

http://www.cirrus.com/en/products/wm8962-62b.html

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
4,873 次查看
jacklu
Contributor II

Hi Victor,

Could you help to give these command such as :

tinymix SLIM RX1 MUX:AIF1_PB

tinymix SLIM_0_RX Channels:One

tinymix RX4 MIX1 INP1:RX1

tinymix RX4 Digital Volume:50

tinymix SPK DAC Switch:1

tinymix SLIMBUS_0_RX Audio Mixer MultiMedia1:1

tinyplay xxxx.wav -D 0 -d 0

Thanks!

BRs,

Jack

0 项奖励