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.

Linux/TLV320AIC3254: Play multi sound on ALSA with TLV320AIC Audio Codec

Part Number: TLV320AIC3254

Tool/software: Linux

Hi all,

I face a problem with multi sound. If I use USB Audio Card, I will play many audio as same time.

When I use TLV320AIC audio codec as I2S mode. I only play one audio as same time.

I try to configure type of TLV320AIC at "dmix" as below:

pcm.speaker {
    type dmix
    ipc_key 1024
    ipc_key_add_uid 0
    slave.pcm "hw:0,0"
}

It can play multi sound. But I need to use type as "plughw", because bluealsa-aplay don't support dmix. The device always busy while bluealsa-aplay is running.

I'm setting bluez-alsa to play audio over bluetooth. 

Thanks and Regards,

Hiep Nguyen

  • Hi, Nguyen,

    This seems like a problem related to the driver operation, we can help with  the AIC3254 register configuration but unfortunately we cannot offer support on the driver itself.

    Maybe someone from the forum can share their experience and provide a solution.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego,

    Can you give me some advice to configure Driver Operation?

    Many Thanks,

    Hiep Nguyen