And, some hardware do not support 44.1KHz sampling frequency, like the one in Galaxy nexus.
In that case, using tinyplay with a 48KHz stereo wav file will work
From: android-...@googlegroups.com [mailto:android-...@googlegroups.com]
On Behalf Of Glenn Kasten
Sent: Wednesday, October 10, 2012 8:26 PM
To: android-...@googlegroups.com
Subject: Re: Tinyalsa configuration
1. If mediaserver has already started up and you have played audio successfully via AudioFlinger, then the mixer controls are usually already set up correctly. So if you kill mediaserver after playing audio with AudioFlinger, and then run tinyplay, it will usually work. But if you run tinyplay before mediaserver has ever run, then the mixer controls might only have their default (often incorrect) values. For example, I've seen speaker work OK but not wired headphones.
2. You need all the relevant documentation that describes the mixer controls, or you may need to read the source code, usually in the kernel sound/soc/ -- look for the string constants in the driver(s) for your device. I've found mixer
controls to be a black art -- usually poorly documented and they require a lot of trial and error to get them right.
On Tuesday, October 9, 2012 8:37:50 AM UTC-7, Ed Embedd wrote:
Hi Prabagaran Thangavel,
2012/10/9 Prabagaran Thangavel <prabag...@gmail.com>
Some hint :
1. Check the Sampling Frequency. Tinyplay supports only 44.1 KHZ raw PCM file.
2. Make sure that tinymix settings are proper. In TI Omap and ABE is used the backend opening will be failed if the backend widgets are not enabled properly using tinymix.
1) I checked the frequency because I read about this limitation on TI forum
2)This, I think, is my key problem. I'm not sure at what kind of documentation I have to look to setup properly the device. Now I'm studying my processor datasheet ( Sitara am3358 ) to find some ABE diagram
I really appreciate your help
Thanks,
Ed.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/android-platform/-/vFOhW-iX5RMJ.
To post to this group, send email to
android-...@googlegroups.com.
To unsubscribe from this group, send email to
android-platfo...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/android-platform?hl=en.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/raLLde4vzR4J.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
1. Check the Sampling Frequency. Tinyplay supports only 44.1 KHZ raw PCM file.2. Make sure that tinymix settings are proper. In TI Omap and ABE is used the backend opening will be failed if the backend widgets are not enabled properly using tinymix.
