andrewrk / andrewrk/libsoundio

Usage in single thread applications

Aperta
#156 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
2.1k
Fork
254
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.