Skip to main content

Crate sample_resource

Crate sample_resource 

Source
Expand description

§sample-resource

Traits for working with arbitrary resources of audio samples

Modules§

helpers
Helper methods to create a SampleResource

Structs§

PlayheadBehavior
Information a SampleResource can use to make optimal caching decisions based on the behavior of the playhead.
SampleCacheInfo
Information about the caching behavior of a SampleResource.
SampleResourceInfo
Information about a SampleResource or a SampleResourceF32, a resource of audio samples with a known length.

Traits§

SampleResource
A resource of audio samples with a known length.
SampleResourceF32
An immutable resource of audio samples which has its data stored in de-interleaved f32 format, and which has all of its data loaded into memory.
SampleResourceF32Mut
A mutable resource of audio samples which has its data stored in de-interleaved f32 format, and which has all of its data loaded into memory.