summaryrefslogtreecommitdiff
path: root/src/codecs
AgeCommit message (Collapse)Author
2025-04-24Utilise more than one bit of the entropy returned by komihash before ↵ayumi
requesting more
2025-04-23Avoid branching up to two times per sample in the WavPack decoder.ayumi
In my limited tests this improves decoding speed by around 3%.
2025-04-23Make WavPack seeking fasterayumi
It turns out that “seeking to a first sample in a not–first block” is actually very common, because Tangara only seeks to exact seconds and the reference encoder tends to size blocks in a way that makes the first sample in a block likely be the sample that the firmware wants to seek to.
2025-04-14Allow the WavPack’s output buffer to be optionally allocated in IRAMayumi
The decoder does use `memset` on the buffer, but according to Espressif that should be fine. See-Also: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/mem_alloc.html#bit-accessible-memory See-Also: https://esp32.com/viewtopic.php?t=1730#p8056
2025-03-13Add WavPack supportayumi
2025-01-13Skip gap samples in MP3 decodingTom Kirchner
2025-01-11Extract gapless info from MP3 LAME headerTom Kirchner
2025-01-11Handle optional frames field in bytes offset of MP3 headerTom Kirchner
2025-01-11Check for frames/bytes/TOC in CBR as wellTom Kirchner
2025-01-11Rename VbrInfo to Mp3InfoTom Kirchner
It can apply to CBR files too, when the marker is "Info"
2025-01-08Add bitrate infoTom Kirchner
2024-09-26Empty the buffer when we seek mp3 filesailurux
2024-09-23Implement VBR seeking based off TOCailurux
2024-09-23Improve seeking for constant bitrate mp3ailurux
2024-09-12Clean up some tts logging and descriptionsjacqueline
2024-08-28Delete unused half readmejacqueline
2024-07-22Continue decoding even if OV_HOLE is returnedailurux
2024-05-16Add a 'decoder' for streams already in our native formatjacqueline
2024-05-02move driver includes into a subdir as welljacqueline
2024-05-02Replace cpp::span shim with std::spanjacqueline
2024-04-22Add support for 64-bit float wav filesailurux
2024-02-29Remove unused 'SeekTo' method on codecsjacqueline
2024-02-29Use drflac instead of miniflacjacqueline
This one is fast as hell! Does seeking really good too. Thank u Doctor Flac.
2024-02-28basic working flac and mp3 seekingjacqueline
flac impl is fairly slow as it doesn't use the seek tables; for some reason miniflac seems to get *really* upset if you seek the stream.
2024-02-22WIP: Flac not working-- coming back to this laterailurux
2024-02-16Vorbis seeking implailurux
2024-02-16Merge branch 'main' into seek-supportailurux
2024-02-16WIP: Vorbis seekingailurux
2024-02-16Opus seeking implailurux
2024-02-16WIP: seeking in lua exampleailurux
2024-02-16Seeking working with hardcoded event, wav onlyailurux
2024-02-15Added offset for track seeking, wav impl. only rnailurux
2024-02-14Cram one of the flac samples buffers into internal ramjacqueline
Can't quite fit the second... yet. Just one is a pretty reasonable speedup, though! Probably bc we're not hammering the spiram cache so hard.
2024-02-14Switch to the lowmem tremor branchjacqueline
in addition to using slightly less memory, this branch also doesn't seem to have the same issues with `-O2` builds that the main branch has.
2024-02-13fix (improve?) libtremor strangenessjacqueline
something fucky
2024-01-31Handle read errors properlyjacqueline
2024-01-19fix issue with unclipped ditherjacqueline
2024-01-18on second thought, let's not violate patents. 'tis a silly system.jacqueline
2024-01-18calculate length for CBR mp3 filesjacqueline
2024-01-11wav-codec (#13)ailurux
here is a wav decoder, enjoy! Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/13 Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org> Co-authored-by: ailurux <ailuruxx@gmail.com> Co-committed-by: ailurux <ailuruxx@gmail.com>
2024-01-10Add faad2 for aac decodingjacqueline
2023-12-20Fix some dither clipping issuesjacqueline
2023-12-19Add dither when requantising >16 bit samplesjacqueline
2023-12-19Fix sample::FromSigned to not shift by a negative amountjacqueline
2023-12-19replace foxenflac with miniflacjacqueline
it's better!
2023-11-24Migrate 'now playing' screen to luajacqueline
2023-11-20Don't start readahead until parsing the stream's header is finishedjacqueline
...but also disable readahead for now anyway, since it's unstable
2023-11-07Improve memory usage of mad codecjacqueline
- fix leaks - ensure the synth data is always in internal ram
2023-11-07Make foxenflac a little less memory hungryjacqueline
We should really just use the xiph library :/
2023-11-07Add a wrapper codec source that does readaheadjacqueline