This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm365 aac sound sample rate problem?

Hi,

When using the sound driver for the dm365 on the montevista kernel I find that it takes about 1% of the CPU bandwidth at 8KHz but rises to 99% of the CPU bandwidth when running at 11025 Hz.

I am using the  CQ93VC codec which only seems to work with ALSA.

I need to run at least at 11025 Hz as this is the minimum sample rate that works with the ittium aaclc encoder. I would prefer to work at a higher sample rate.

Are there any other sample rates that work well with the Montevista sound driver?

Will things be any better with the TI kernel sound driver?

regards,

Shlomo

 

 

 

 

  • Where did you get the software you are using? 

    Our official EVM does not contain a CQ93VC codec; therefore I suspect you either wrote your own driver or are got it from somewhere else.  Also, where did you get the aac codec from?  We recently (las couple of weeks) released the Ittiam aac codec via our software download site (software written for our EVM) we have had at least one customer suggesting he got aac codec working at 44.1 KHz, though I believe aac codec is capable or more.

    Learning where you got your software may help us point you in the right direction.

  • Hi Juan,

    The CQ93VCcodec is part of the montevista kernel provided by TI. I append my kernel  sound configuration.

    How can I use the dm365 sound module in linux to be able to digitize data at rates faster than 11025Hz without taking up all of the CPU bandwidth?

    Shlomo

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

    #
    # Advanced Linux Sound Architecture
    #
    CONFIG_SND=y
    CONFIG_SND_TIMER=y
    CONFIG_SND_PCM=y
    CONFIG_SND_SEQUENCER=y
    # CONFIG_SND_SEQ_DUMMY is not set
    CONFIG_SND_OSSEMUL=y
    CONFIG_SND_MIXER_OSS=y
    CONFIG_SND_PCM_OSS=y
    CONFIG_SND_PCM_OSS_PLUGINS=y
    CONFIG_SND_SEQUENCER_OSS=y
    # CONFIG_SND_DYNAMIC_MINORS is not set
    CONFIG_SND_SUPPORT_OLD_API=y
    CONFIG_SND_VERBOSE_PROCFS=y
    # CONFIG_SND_VERBOSE_PRINTK is not set
    # CONFIG_SND_DEBUG is not set

    #
    # Generic devices
    #
    # CONFIG_SND_DUMMY is not set
    # CONFIG_SND_VIRMIDI is not set
    # CONFIG_SND_MTPAV is not set
    # CONFIG_SND_SERIAL_U16550 is not set
    # CONFIG_SND_MPU401 is not set

    #
    # ALSA ARM devices
    #

    #
    # USB devices
    #
    # CONFIG_SND_USB_AUDIO is not set

    #
    # System on Chip audio support
    #
    CONFIG_SND_SOC=y

    #
    # ALSA SoC audio for DaVinci SOCs
    #
    CONFIG_SND_DAVINCI_SOC=y
    CONFIG_SND_DAVINCI_SOC_I2S=y
    CONFIG_SND_DAVINCI_SOC_I2S_VCIF=y
    CONFIG_SND_DM365_SOC_EVM=y
    CONFIG_SND_DM365_INTERNAL_CODEC=y
    # CONFIG_SND_DM365_EXTERNAL_CODEC is not set
    CONFIG_SND_SOC_CQ0093VC=y