MCPcopy Create free account

hub / github.com/RustAudio/audrey / functions

Functions23 in github.com/RustAudio/audrey

↓ 5 callersFunctionopen
()
tests/read.rs:35
↓ 4 callersFunctionopen
Attempts to open an audio `Reader` from the file at the specified `Path`. The format is determined from the path's file extension.
src/read.rs:158
↓ 3 callersFunctionwrite_to_buffer
A function for writing to the `cpal::Buffer`, whatever the default sample type may be.
examples/sine.rs:44
↓ 2 callersMethodnext
(&mut self)
src/read.rs:421
↓ 2 callersFunctionread_samples
(path: P)
tests/read.rs:56
↓ 1 callersMethodread_packet
(&mut self)
src/caf_alac.rs:43
↓ 1 callersMethodsamples
Produce an iterator that reads samples from the underlying reader, converts them to the sample type `S` if not already in that format and yields them.
src/read.rs:340
Methodcause
(&self)
src/read.rs:622
Methodchannel_count
The number of channels of audio. E.g. For audio stored in stereo this should return `2`. Mono audio will return `1`.
src/read.rs:174
Methoddescription
A basic description of the audio being read.
src/read.rs:295
Methodextension
Return the most commonly used file extension associated with the `Format`.
src/lib.rs:55
Methodfmt
(&self, f: &mut std::fmt::Formatter)
src/read.rs:660
Methodformat
The format from which the audio will be read.
src/read.rs:167
Methodframes
Produce an iterator that yields read frames from the underlying `Reader`. This method currently expects that the frame type `F` has the same number o
src/read.rs:403
Methodfrom
(err: claxon::Error)
src/read.rs:558
Methodfrom_extension
Read a `Format` from the given `extension`. This function expects that the `extension` is lowercase ASCII, e.g "wav" or "ogg".
src/lib.rs:40
Functionmain
()
examples/sine.rs:10
Methodnew
Attempts to read the format of the audio read by the given `reader` and returns the associated `Reader` variant. The format is determined by attempti
src/read.rs:214
Methodnew
Creates a new AlacReader Returns Err(..) on IO errors, or if the stream is not CAF. Returns Ok(Some(..)) if the format inside is ALAC, None if its no
src/caf_alac.rs:23
Methodopen
Attempts to open an audio `Reader` from the file at the specified `Path`. This function is a convenience wrapper around the `Reader::new` function.
src/read.rs:194
Functionopen_and_read_samples
()
tests/read.rs:55
Functionread
()
tests/read.rs:11
Methodsample_rate
The rate in Hertz at which each channel of the stored audio is sampled. E.g. A `sample_rate` of 44_100 indicates that the audio is sampled 44_100 tim
src/read.rs:182