UNPKG

pw-client

Version:

Node.js wrapper for developing PipeWire clients

7 lines (6 loc) 329 B
import { AudioFormat } from "./audio-format.mjs"; /** * Automatic sample converter that adapts Float64 streams to target format. * Returns the original iterable if no conversion is needed for optimal performance. */ export declare function adaptSamples(samples: Iterable<number>, targetFormat: AudioFormat): Iterable<number>;