I am wondering if there is a way to run the dac+adc as a slave to the rpi so I can directly read and write the data from and to the hifiberry pins. I read about Alsa but I need to reduce the overhead as much as possible and I don't want to learn a new api. Is this even possible? Is there a clock pin I can trigger on the hifiberry?
Date
Votes
1 comment
-
HiFiBerry team ALSA is not "overhead" but handles all the parts the need to be done. An audio DAC does not just deliver a sample on request, but provides a continuous stream of data. That's exactly what the ALSA drivers will do you for. Trying to re-implement this by yourself would not just require a lot of understanding of internals of the CPU, but also thousands of lines of program code.
Best regards,
Daniel
Please sign in to leave a comment.