• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Android » Android forum » Audio codec problem in dm365evm for Android 2.3
Share
Android
  • Forum
Options
  • Subscribe via RSS

Forums

Audio codec problem in dm365evm for Android 2.3

This question is answered
Rohit Shanbhag
Posted by Rohit Shanbhag
on Feb 23 2012 01:35 AM
Intellectual940 points

Hi Android developers

                                          I ported android 2.3 on dm365evm, am equipped with all the services(internet,video,usb keyboard) except audio.

ISSUE1: I am unable to play any format audio files on dm365evm.

FYI : I had compiled the kernel 2.3.32 by enabling all sound driver and codec support related to dm365evm , and even i am getting this below messages while kernel loading

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

ALSA: Restoring mixer settings...

asoc: tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:
  #0: DaVinci EVM (tlv320aic3x)

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

Also , if i boot my uImage with the linux RFS , then i am able to get play the audio file by using aplay <file>.

But only when i boot same Uiamge with the android RFS(gingerbread), then m not able to hear any audio.

QUERY1: Is their anything which ineed to add support from the driver side?

can anyone help me on this ?

THANKS AND REGARDS

ROHIT Y SHANBHAG

BANGALORE

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Vishveshwar Bhat
    Posted by Vishveshwar Bhat
    on Mar 05 2012 23:56 PM
    Genius9540 points

    You may wish to keep the default volume in alsa HAL to maximum (or close to it).

    AFAIK, currently the android volume controls are not fully linked to alsa volume controls

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

    Please click the Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rohit Shanbhag
    Posted by Rohit Shanbhag
    on Mar 06 2012 02:26 AM
    Intellectual940 points

    HI arun ,

                        Waiting for the reply arun ! , on how to make sound loud in dm365 android !

    THANKS AND REGARDS

    ROHIT Y SHANBHAG

    BANGALORE

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Arun Joseph
    Posted by Arun Joseph
    on Mar 06 2012 02:39 AM
    Intellectual2250 points

    Hi Rohit,

    Are you getting the same volume when you are doing "alsa_aplay" ?

    There must be some volume controls present in amixer. You need to set your amixer volume controls to maximum to get the loudest volume in alsa_aplay.

    Once you identify the right controls you can set the same in alsa_module.cpp.

    Regards,

    Arun

    If this post answers your query, consider clicking the Verify Answer button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rohit Shanbhag
    Posted by Rohit Shanbhag
    on Mar 06 2012 05:32 AM
    Intellectual940 points

    Hi arun

                         THANKS FOR YOUR REPLY .

    the maximum playback limit is 0-127 on setting

    alsa_amixer set PCM 127

    and also it showing the maximum sound playback limit is 0-127.

    MY QUERY : so Is 127 is my maximum playback limit on dm365 ? or can i increase it somewhere in the code ? if so ,then where ?

    THANKS AND REGARDS

    ROHIT Y SHANBHAG

    BANGALORE 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Arun Joseph
    Posted by Arun Joseph
    on Mar 06 2012 05:38 AM
    Intellectual2250 points

    Hi Rohit,

    Are you able to hear the audio loud (alsa_aplay) when you set your volume to maximum?

    If so, you set the same control in alsa_module.cpp.

    If volume is not being changed when setting the amixer control, then it is not the right control for volume. Please check with the audio driver developer.

    Regards,

    Arun

    If this post answers your query, consider clicking the Verify Answer button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rohit Shanbhag
    Posted by Rohit Shanbhag
    on Mar 06 2012 06:35 AM
    Intellectual940 points

    Hi arun

                   Yes i can hear audio variance once i set the PCM value fro 0-127 using alsa_amixer.

    Well, for 127 , i am getting the maximum loudeness in audio.

    Yes i am modified the code alsa_module.cpp and building the source , will reply you about this in my immediate next post.

    THANKS AND REGARDS

    ROHIT Y SHANBHAG

    BANGALORE

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Rohit Shanbhag
    Posted by Rohit Shanbhag
    on Mar 06 2012 07:24 AM
    Intellectual940 points

    Hi Arun ,

                        Thanks for the reply on audio codec ISSUE !

    Well now audio is playing much louder than before . but 127 i sthe maximum for dm365 :)

    THANKS AND REGARDS

    ROHIT Y SHANBHAG

    BANGALORE

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use