andrewrk / andrewrk/libsoundio

Usage in single thread applications

Open
#156 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.1k
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Hello,

Im trying to build a multi source stream player. Currently im trying not to use more than 1 thread by implementing an async logic using ticks. The issue is that when im using soundio_wait_events(soundio) as seen in all your examples, the execution blocks there. By removing this line, my application is still working and i have audio. But what drawbacks or issues the exclusion of soundio_wait_events(soundio); has? And if it is necessary, could you help us by providing a non-blocking way ?

Thank you

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.