How to use tinymix and tinyplay?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use tinymix and tinyplay?

Jump to solution
11,176 Views
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

Labels (4)
0 Kudos
1 Solution
2,680 Views
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.

View solution in original post

0 Kudos
5 Replies
2,680 Views
jacklu
Contributor II

Hi Biyong,

OK, I got it.

Thanks!

BRs,

Jack

0 Kudos
2,680 Views
jacklu
Contributor II

Hi,

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

Thanks!

0 Kudos
2,681 Views
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 Kudos
2,680 Views
b36401
NXP TechSupport
NXP TechSupport

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 Kudos
2,680 Views
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 Kudos