Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resampler ¶
type Resampler struct {
// contains filtered or unexported fields
}
Resampler implements streaming linear-interpolation resampling from inputRate to targetRate, labeling emitted blocks with outputRate. The distinction between targetRate and outputRate lets callers reuse the same interpolation math for both true sample-rate conversion (resample, where outputRate == targetRate) and playback-retime changes (retime, where outputRate stays pinned to inputRate while targetRate is virtual).
func NewResampler ¶
Click to show internal directories.
Click to hide internal directories.