Other Parts Discussed in Thread: CC2564
Tool/software: Linux
Dear all,
I'm using LinuxAUDM, my mobile phone as source and CC2564MODA as sink. It connected well but when my mobile phone starts to play music, loading became very high (85-94%) and it frequently appeared "ALSA Underrun" and the music play was chopped. Has anyone experienced similar issue?
I played around SBC_BUFFER_SIZE, DECODE_THREAD_STACK_SIZE those numbers in AudioDecoderPM.c, however I've no luck in getting it right. I suspect the decode function SBC_Decode_Data() which linked from libBTPM_C.a was not fast enough to decode enough data and pass to ALSA buffer. My platform is running at 528MHz, I don't think SBC decode require such high processing power? Worse case I can accept lower quality playback, but chopping is really unacceptable. Any idea how to do that? Or is there a more updated libBTPM_C.a I can use? I've tried AM335xBluetopiaLinuxProduction-4.0.3.0.1.0 and AM335xBluetopiaLinuxProduction-4.2.1.0.1.0 but the results are the same.
thanks,
Gideon