MCPcopy Create free account

hub / github.com/Herschel/puremp3 / functions

Functions48 in github.com/Herschel/puremp3

↓ 5 callersMethodnum_granules
(&self)
src/types.rs:68
↓ 4 callersFunctionrequantize_pow_43
(sample: f32)
src/requantize.rs:153
↓ 3 callersMethodnext_frame
Decodes the next MP3 `Frame` in the stream. Data is read until a valid `Frame` is found. Invalid data is skipped. Other errors are returned.
src/lib.rs:112
↓ 3 callersMethodnum_channels
The number of audio channels.
src/types.rs:141
↓ 3 callersFunctionwrite_samples
Writes samples from the MP3 stream to the output audio stream. Generic because we don't know the format of the output stream until runtime.
examples/playback.rs:97
↓ 2 callersFunctionantialias
(side_info: &GranuleChannelSideInfo, samples: &mut [f32; 576])
src/synthesis.rs:5
↓ 2 callersFunctionfrequency_inversion
(samples: &mut [f32; 576])
src/synthesis.rs:88
↓ 2 callersFunctionhuffman_decode
( reader: &mut BitReader<R, BigEndian>, huffman_table: &HuffmanTable, state: &mut HuffmanState,
src/huffman.rs:95
↓ 2 callersFunctionhybrid_synthesis
( block_type: BlockType, store: &mut [[f32; 18]; 32], samples: &mut [f32; 576], )
src/synthesis.rs:34
↓ 2 callersMethodhz
Returns the sample rate in hertz as a `u32`.
src/types.rs:216
↓ 2 callersFunctionreorder
( header: &FrameHeader, side_info: &GranuleChannelSideInfo, main_data: &mut MainDataChannel, )
src/requantize.rs:157
↓ 2 callersFunctionrequantize
( header: &FrameHeader, side_info: &GranuleChannelSideInfo, main_data: &mut MainDataChannel, )
src/requantize.rs:4
↓ 2 callersFunctionrequantize_long
Requnaitze subband using long blocks.
src/requantize.rs:101
↓ 2 callersFunctionrequantize_short
Requanitze short block subband.
src/requantize.rs:130
↓ 2 callersMethodside_data_len
(&self)
src/types.rs:53
↓ 2 callersFunctionstereo_instensity_long
( header: &FrameHeader, scalefac_compress: u16, sfb: usize, main_data: &mut MainDataGranul
src/stereo.rs:80
↓ 2 callersFunctionstereo_instensity_short
( header: &FrameHeader, scalefac_compress: u16, sfb: usize, main_data: &mut MainDataGranul
src/stereo.rs:120
↓ 2 callersFunctionsubband_synthesis
(samples: &[f32; 576], v_vec: &mut [f32; 1024], out: &mut [f32])
src/synthesis.rs:97
↓ 1 callersMethodbps
Returns the bit rate in bits per second as a `u32`.
src/types.rs:176
↓ 1 callersFunctiondecode_frame
( decoder: &mut DecoderState, header: &FrameHeader, side_info: &SideInfo, main_data: &mut
src/decoder.rs:553
↓ 1 callersMethodframes
Returns an `Iterator` that yields MP3 `Frame`s. Each `Frame` contains header information and the decoded samples. Any invalid data is skipped. The it
src/lib.rs:104
↓ 1 callersFunctionimdct_win
(block_type: usize, samples: &[f32])
src/synthesis.rs:62
↓ 1 callersMethodis_intensity_stereo
(&self)
src/types.rs:76
↓ 1 callersFunctionplayback
(filename: &str)
examples/playback.rs:33
↓ 1 callersFunctionprocess_frame
( decoder: &mut DecoderState, mut reader: R, header: &FrameHeader, )
src/decoder.rs:530
↓ 1 callersFunctionread_frame_header
(mut data: R)
src/decoder.rs:8
↓ 1 callersFunctionread_granule_channel_side_info
( header: &FrameHeader, reader: &mut BitReader<R, BigEndian>, )
src/decoder.rs:223
↓ 1 callersFunctionread_granule_side_info
( header: &FrameHeader, reader: &mut BitReader<R, BigEndian>, )
src/decoder.rs:212
↓ 1 callersFunctionread_huffman
( reader: &mut BitReader<R, BigEndian>, header: &FrameHeader, side_info: &GranuleChannelSideInf
src/huffman.rs:7
↓ 1 callersFunctionread_lfs_scale_factors
( reader: &mut BitReader<R, BigEndian>, intensity_stereo_channel: bool, channel_info: &GranuleC
src/decoder.rs:433
↓ 1 callersFunctionread_logical_frame_data
( decoder: &'a mut DecoderState, mut reader: R, header: &FrameHeader, side_info: &SideInfo
src/decoder.rs:307
↓ 1 callersFunctionread_main_data
( reader: &mut BitReader<R, BigEndian>, header: &FrameHeader, side_info: &SideInfo, )
src/decoder.rs:328
↓ 1 callersFunctionread_mp3
Convenience method to decode an MP3. Returns the first frame header found in the MP3, and an `Iterator` that yields MP3 `Sample`s`. Each `Sample` rep
src/lib.rs:42
↓ 1 callersFunctionread_scale_factors
( reader: &mut BitReader<R, BigEndian>, granule: usize, channel: usize, side_info: &SideIn
src/decoder.rs:364
↓ 1 callersFunctionread_side_info
(mut data: R, header: &FrameHeader)
src/decoder.rs:171
↓ 1 callersFunctionstereo
( header: &FrameHeader, side_info: &GranuleSideInfo, intensity_stereo: bool, mid_side_ster
src/stereo.rs:7
Methoddefault
()
src/types.rs:280
Methodfmt
(&self, f: &mut std::fmt::Formatter)
src/types.rs:332
Methodfmt
(&self, f: &mut fmt::Formatter)
src/error.rs:15
Methodfrom
(error: Mp3Error)
src/error.rs:53
Methodget_mut
Gets a mutable reference to the underlying reader. It is inadvisable to directly read from the underlying reader.
src/lib.rs:88
Methodget_ref
Gets a reference to the underlying reader.
src/lib.rs:81
Methodinto_inner
Unwraps the `Mp3Decoder`, returning the underlying reader.
src/lib.rs:93
Functionmain
()
examples/playback.rs:13
Methodnew
()
src/types.rs:248
Methodnew
Creates a new `MP3Decoder` from the given reader.
src/lib.rs:73
Methodsource
(&self)
src/error.rs:24
Functiontest_decode
()
tests/integration_test.rs:4