mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +00:00
LibAudio: Use new generic seek table for MP3
MP3 had the exact same data structure, except less readable and less efficient.
This commit is contained in:
parent
0cd0565abc
commit
27d9ed0224
2 changed files with 7 additions and 9 deletions
|
@ -57,7 +57,7 @@ private:
|
|||
static void synthesis(Array<float, 1024>& V, Array<float, 32>& samples, Array<float, 32>& result);
|
||||
static ReadonlySpan<MP3::Tables::ScaleFactorBand> get_scalefactor_bands(MP3::Granule const&, int samplerate);
|
||||
|
||||
AK::Vector<AK::Tuple<size_t, int>> m_seek_table;
|
||||
SeekTable m_seek_table;
|
||||
AK::Array<AK::Array<AK::Array<float, 18>, 32>, 2> m_last_values {};
|
||||
AK::Array<AK::Array<float, 1024>, 2> m_synthesis_buffer {};
|
||||
static DSP::MDCT<36> s_mdct_36;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue