Skip to content

After speaker.end(), coreaudio.c continuously reports buffer underflow #183

@cjheath

Description

@cjheath

(Sorry for no isolated test; this program requires a HackRF. I didn't write it and don't know Node well enough to trust myself to write an isolated example)

In the FM receiver here, when the receiver is interrupted with SIGINT, it calls speaker.close.

The coreaudio module then continuously reports the following error, instead of just stopping output:
[../deps/mpg123/src/output/coreaudio.c:81] warning: Didn't have any audio data in callback (buffer underflow)

I can't see where the problem lies or I would offer a PR to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions