The simplest example of combining audio and MIDI IO in a single thread
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I think it would be better to use poll() because then you can select if you listen for read or write events ??
Comment Actions
I think that would not be the simplest example, and I was aiming at simplicity. My idea with audio, MIDI and combined example was to make it as simple as possible. Next examples are going to be harder topics: handling 24bit audio in different endianess, ability to choose between select, poll and kqueue and combining it all into one big example at the end. That being said, can we keep this example as is?
Comment Actions
Added kqueue/kevent example and made the choice of select/poll/kqueue selectable on runtime.