HISE Logo Forum
    • Categories
    • Register
    • Login

    New feature: 16 bit preload buffers to reduce the memory footprint by 50%

    Scheduled Pinned Locked Moved C++ Development
    1 Posts 1 Posters 728 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Christoph HartC
      Christoph Hart
      last edited by

      I just finished a rewrite of the streaming engine so that it uses 16bit preload buffers when using HLAC samples. By default, HISE (and almost every software written in JUCE), uses 32bit floating point data for internal buffers, however in case of preload buffers this creates a significant overhead, especially annoying on iOS devices with tight memory.

      If you use .wav or .aiff files, then it will still use the 32bit float buffers. However for HLAC compressed samples, it switches to the 16bit buffer now (so another great reason to use HLAC) :)

      This was a rather big rewrite, so it might be possible that there are some edge cases that I have overseen, in this case let me know then I'll fix it.

      1 Reply Last reply Reply Quote 2
      • First post
        Last post

      35

      Online

      1.8k

      Users

      12.0k

      Topics

      104.1k

      Posts