Milky2018/moon_rodio/decoder does not have a README file

    DecoderError

    pub suberror DecoderError {
    InvalidFormat(String)
    Unsupported(String)
    } derive(Eq,
    Debug
    )

    DecoderError::equal

    DecoderError::not_equal

    fn DecoderError::not_equal(x : DecoderError, y : DecoderError) -> Bool

    DecoderError::output

    fn DecoderError::output(self : DecoderError, logger : &Logger) -> Unit

    DecoderError::to_string

    fn DecoderError::to_string(self : DecoderError) -> String

    DecodedSamples

    pub struct DecodedSamples {
    channels : Int
    sample_rate : Int
    samples : Array[Double]
    cursor :
    Ref
    [Int]
    }

    DecodedSamples::channels

    fn DecodedSamples::channels(self : DecodedSamples) -> Int

    DecodedSamples::len

    fn DecodedSamples::len(self : DecodedSamples) -> Int

    DecodedSamples::new

    fn DecodedSamples::new(channels : Int, sample_rate : Int, samples : Array[Double]) -> DecodedSamples

    DecodedSamples::next

    fn DecodedSamples::next(self : DecodedSamples) -> Double?

    DecodedSamples::position

    fn DecodedSamples::position(self : DecodedSamples) -> Int

    DecodedSamples::sample_rate

    fn DecodedSamples::sample_rate(self : DecodedSamples) -> Int

    DecodedSamples::seek_to

    fn DecodedSamples::seek_to(self : DecodedSamples, sample_index : Int) -> Unit

    FlacDecoder

    pub struct FlacDecoder {
    inner : DecodedSamples
    }

    FlacDecoder::channels

    fn FlacDecoder::channels(self : FlacDecoder) -> Int

    FlacDecoder::into_inner

    fn FlacDecoder::into_inner(self : FlacDecoder) -> DecodedSamples

    FlacDecoder::len

    fn FlacDecoder::len(self : FlacDecoder) -> Int

    FlacDecoder::new

    fn FlacDecoder::new(bytes : Bytes) -> FlacDecoder raise DecoderError

    FlacDecoder::next

    fn FlacDecoder::next(self : FlacDecoder) -> Double?

    FlacDecoder::position

    fn FlacDecoder::position(self : FlacDecoder) -> Int

    FlacDecoder::sample_rate

    fn FlacDecoder::sample_rate(self : FlacDecoder) -> Int

    FlacDecoder::seek_to

    fn FlacDecoder::seek_to(self : FlacDecoder, sample_index : Int) -> Unit

    Mp3Decoder

    pub struct Mp3Decoder {
    inner : DecodedSamples
    }

    Mp3Decoder::channels

    fn Mp3Decoder::channels(self : Mp3Decoder) -> Int

    Mp3Decoder::into_inner

    fn Mp3Decoder::into_inner(self : Mp3Decoder) -> DecodedSamples

    Mp3Decoder::len

    fn Mp3Decoder::len(self : Mp3Decoder) -> Int

    Mp3Decoder::new

    fn Mp3Decoder::new(bytes : Bytes) -> Mp3Decoder raise DecoderError

    Mp3Decoder::next

    fn Mp3Decoder::next(self : Mp3Decoder) -> Double?

    Mp3Decoder::position

    fn Mp3Decoder::position(self : Mp3Decoder) -> Int

    Mp3Decoder::sample_rate

    fn Mp3Decoder::sample_rate(self : Mp3Decoder) -> Int

    Mp3Decoder::seek_to

    fn Mp3Decoder::seek_to(self : Mp3Decoder, sample_index : Int) -> Unit

    ReadSeekSource

    pub struct ReadSeekSource {
    inner : Bytes
    byte_len : Int?
    is_seekable : Bool
    }

    ReadSeekSource::byte_len

    fn ReadSeekSource::byte_len(self : ReadSeekSource) -> Int?

    ReadSeekSource::from_bytes

    fn ReadSeekSource::from_bytes(bytes : Bytes, byte_len? : Int?, is_seekable? : Bool) -> ReadSeekSource

    ReadSeekSource::into_inner

    fn ReadSeekSource::into_inner(self : ReadSeekSource) -> Bytes

    ReadSeekSource::is_seekable

    fn ReadSeekSource::is_seekable(self : ReadSeekSource) -> Bool

    ReadSeekSource::new

    fn ReadSeekSource::new(bytes : Bytes, byte_len? : Int?, is_seekable? : Bool) -> ReadSeekSource

    VorbisDecoder

    pub struct VorbisDecoder {
    inner : DecodedSamples
    }

    VorbisDecoder::channels

    fn VorbisDecoder::channels(self : VorbisDecoder) -> Int

    VorbisDecoder::from_stream_reader

    fn VorbisDecoder::from_stream_reader(bytes : Bytes) -> VorbisDecoder raise DecoderError

    VorbisDecoder::into_inner

    fn VorbisDecoder::into_inner(self : VorbisDecoder) -> DecodedSamples

    VorbisDecoder::len

    fn VorbisDecoder::len(self : VorbisDecoder) -> Int

    VorbisDecoder::new

    fn VorbisDecoder::new(bytes : Bytes) -> VorbisDecoder raise DecoderError

    VorbisDecoder::next

    fn VorbisDecoder::next(self : VorbisDecoder) -> Double?

    VorbisDecoder::position

    fn VorbisDecoder::position(self : VorbisDecoder) -> Int

    VorbisDecoder::sample_rate

    fn VorbisDecoder::sample_rate(self : VorbisDecoder) -> Int

    VorbisDecoder::seek_to

    fn VorbisDecoder::seek_to(self : VorbisDecoder, sample_index : Int) -> Unit

    WavDecoder

    pub struct WavDecoder {
    inner : DecodedSamples
    }

    WavDecoder::channels

    fn WavDecoder::channels(self : WavDecoder) -> Int

    WavDecoder::into_inner

    fn WavDecoder::into_inner(self : WavDecoder) -> DecodedSamples

    WavDecoder::len

    fn WavDecoder::len(self : WavDecoder) -> Int

    WavDecoder::new

    fn WavDecoder::new(bytes : Bytes) -> WavDecoder raise DecoderError

    WavDecoder::next

    fn WavDecoder::next(self : WavDecoder) -> Double?

    WavDecoder::position

    fn WavDecoder::position(self : WavDecoder) -> Int

    WavDecoder::sample_rate

    fn WavDecoder::sample_rate(self : WavDecoder) -> Int

    WavDecoder::seek_to

    fn WavDecoder::seek_to(self : WavDecoder, sample_index : Int) -> Unit

    decode_flac_bytes

    fn decode_flac_bytes(bytes : Bytes) -> DecodedSamples raise DecoderError

    decode_mp3_bytes

    fn decode_mp3_bytes(bytes : Bytes) -> DecodedSamples raise DecoderError

    decode_mp4a_bytes

    fn decode_mp4a_bytes(bytes : Bytes) -> DecodedSamples raise DecoderError

    decode_vorbis_bytes

    fn decode_vorbis_bytes(bytes : Bytes) -> DecodedSamples raise DecoderError

    decode_wav_bytes

    fn decode_wav_bytes(bytes : Bytes) -> DecodedSamples raise DecoderError

    flac_pop_bytes

    fn flac_pop_bytes() -> Bytes

    mp3_ill2_mono_bytes

    fn mp3_ill2_mono_bytes() -> Bytes

    vorbis_sine_48k_mono_bytes

    fn vorbis_sine_48k_mono_bytes() -> Bytes