Dear all.
I’m trying to get audio input working on a Raspberry Pi, but I have run into some problems.
I test using the audioInputExample and a C-Media USB Headphone [in:1 out:2].
If I set the right deviceId and number of inputs, I get the following error at run-time:
connect(2) call to /tmp/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
RtApiAlsa: dump hardware params just after device open:
ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: [44100 48000]
PERIOD_TIME: [1000 2972155)
PERIOD_SIZE: [45 131072]
PERIOD_BYTES: [180 524288]
PERIODS: [2 1024]
BUFFER_TIME: [1875 5944309)
BUFFER_SIZE: [90 262144]
BUFFER_BYTES: [360 1048576]
TICK_TIME: ALL
RtApiAlsa: dump hardware params after installation:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (5804 5805)
PERIOD_SIZE: 256
PERIOD_BYTES: 1024
PERIODS: 4
BUFFER_TIME: (23219 23220)
BUFFER_SIZE: 1024
BUFFER_BYTES: 4096
TICK_TIME: 0
RtApiAlsa: dump software params after installation:
tstamp_mode: NONE
period_step: 1
avail_min: 256
start_threshold: 256
stop_threshold: -1
silence_threshold: 0
silence_size: 1073741824
boundary: 1073741824
RtApiAlsa: dump hardware params just after device open:
ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: [44100 48000]
PERIOD_TIME: [1000 5944309)
PERIOD_SIZE: [45 262144]
PERIOD_BYTES: [90 524288]
PERIODS: [2 1024]
BUFFER_TIME: [1875 11888617)
BUFFER_SIZE: [90 524288]
BUFFER_BYTES: [180 1048576]
TICK_TIME: ALL
RtApiAlsa: dump hardware params after installation:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 44100
PERIOD_TIME: (5804 5805)
PERIOD_SIZE: 256
PERIOD_BYTES: 512
PERIODS: 4
BUFFER_TIME: (23219 23220)
BUFFER_SIZE: 1024
BUFFER_BYTES: 2048
TICK_TIME: 0
RtApiAlsa: dump software params after installation:
tstamp_mode: NONE
period_step: 1
avail_min: 256
start_threshold: 256
stop_threshold: -1
silence_threshold: 0
silence_size: 1073741824
boundary: 1073741824
[ error ] ofTessellator: performTessellation(): mesh polygon tessellation failed, winding mode 0
[ error ] ofTessellator: performTessellation(): mesh polygon tessellation failed, winding mode 0
Segmentation fault
/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:176: recipe for target 'RunRelease' failed
make: *** [RunRelease] Error 139
This has been bothering me for days and I can’t really seem to get around it. Does anyone have tips on how to fix this particular issue or get audio input running on a Raspberry pi? I’m using ofx 0.9.8. on a Rpi3 running Jessie.
Thanks!