Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

DAC HifiBerry issue

$
0
0

@danblack wrote:

The of soundplayerExample is crashing when trying to play a sound on Pi Zero with a HifiBerry DAC. The DAC seems to be configured correctly, it is showing the device in aplay -l and in alsamixer. I’ve also installed mplayer and that plays mp3’s fine, but nothing in oF.

It’s a clean install of 0.10.0 on the latest stretch, all updated, codec and dependencies installed. Everything compiles OK, and the other non sound examples that I’ve compiled work fine. It’s just this audio issue.

I thought it was related to this error message :
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory)
But I did a clean install on a Pi3 without a DAC at the same time, and that also get’s this error, but the sound works.

I noticed when I was playing mplayer at the same time, that soundPlayerExample didn’t crash, but gave error messages that the device was in use. However if mplayer is not running is crashes.

Any help much appreciated.
Cheers,
Dan

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929