Tightened the source code and README documentations in the library.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
extension Sound.CallbackSource {
|
||||
/// Fills the sample buffers and returns `true` if output was
|
||||
/// produced. `right` is empty for mono sources.
|
||||
/// Fills `left` and, if stereo, `right` (else empty) with 16-bit samples.
|
||||
/// Returns `false` if the source was silent this cycle.
|
||||
public typealias Callback = (_ left: inout MutableSpan<Int16>,
|
||||
_ right: inout MutableSpan<Int16>) -> Bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user