andrewrk / andrewrk/libsoundio

ability to open a duplex stream

オープン
#27 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement
主要言語
C
スター
2.1k
フォーク
254
PR マージ指標
30日以内にマージされた PR はありません

説明

The concept of opening a stream simultaneously for input and output exists, but libsoundio does not support it. It's one thing that PortAudio currently does better than libsoundio.

This likely entails an API overhaul and 2.0.0.

Once this is done and works correctly, the microphone example no longer would need a ring buffer, so it would be that much more efficient. And then the only usage of a ring buffer would be the dummy backend, and that can be easily replaced by something trivial (and doesn't waste time actually copying memory).

So this probably means deleting the ring buffer from the API and deleting the internal implementation. This is in service of libsoundio's goal of being a lightweight abstraction.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。