andrewrk / andrewrk/libsoundio

Usage in single thread applications

Đang mở
#156 1 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
2.1k
Fork
254
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.