2026-07-25 12:39:32 +02:00
|
|
|
extension Sound.CallbackSource {
|
|
|
|
|
/// Fills the sample buffers and returns `true` if output was
|
2026-09-18 12:06:21 +02:00
|
|
|
/// produced. `right` is empty for mono sources.
|
|
|
|
|
public typealias Callback = (_ left: inout MutableSpan<Int16>,
|
|
|
|
|
_ right: inout MutableSpan<Int16>) -> Bool
|
2026-07-25 12:39:32 +02:00
|
|
|
}
|