Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

No sound when running test.rs example #17

@niclashoyer

Description

@niclashoyer

I just tried the example test.rs, but it seems that immediately after printing note_on it exits. Some debug logging reveals that audio_requested is called exactly two times and after that the process exits with a buffer underrun. The synth is active and the output buffer in audio_requested is filled with values (different from zero). Any suggestions for debugging?

Example output:

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
It begins!
note_on
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
Breaking from loop as sound_stream failed to write to the PortAudio stream: OutputUnderflowed.
Great success!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions