arkq / openaptx

Reverse-engineered apt-X audio codec
MIT License
135 stars 18 forks source link

Decode very slow on Raspberry Pi Zero #7

Closed MrBuddyCasino closed 3 years ago

MrBuddyCasino commented 3 years ago

I compiled from source using the WITH_FFMPEG backend. Playback is not possible, decode speed is lower than realtime. Using AAC I get 13% CPU usage.

Is this a problem in ffmpeg? Not sure where to raise this issue.

arkq commented 3 years ago

I assume that you are using openaptx with bluez-alsa. If that's true, please switch to libopenaptx (unless you are using proprietary Qualcomm libraries), that should give you better overall performance.

MrBuddyCasino commented 3 years ago

That fixed it, thanks. Maybe the readme could be updated to recommend libopenaptx?

arkq commented 3 years ago

Maybe the readme could be updated to recommend libopenaptx?

Yes, you are right. I'll do that :)