-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Input, Output and Duplex stream types #116
Comments
I'm currently sketching out an updated CPAL API that handles input, output and duplex streams. Below is a pseudo-code sketch. It omits some details like results, and I can imagine implementing this without any of the duplex API at first at least. Global API
Device API
EventLoop API
|
Input and output are quite well supported now compared to when this issue was first opened - going to close this in favour of tracking duplex support at #349. |
Currently CPAL is oriented towards supporting output streams, i.e.
Voice -> EndPoint
. This is understandable considering CPALs user-base seems to be largely game devs so far.If we do wish to target a more general audio audience we should also aim to equally support Input and Duplex streams. We might be able to get away with only Input and Output if we provide a nice API for "zipping" or "sync"ing them for cases where they share the same device.
The text was updated successfully, but these errors were encountered: