Started by locctr, September 29, 2008, 07:39:32
Quote from: "Jojo"The modplug code should have a decompression routine. i don't know how complicated it would be to add compression.
Quote from: "bvanoudtshoorn"...the benefits of using OpenMPT is its speed and its small memory footprint. Compressing the samples will compromise one or both of these benefits.
Quote from: "Relabsoluness"Could you explain how saving samples compressed(which would anyway be optional) in files would hurt the memory footprint in practice? Especially given the current implementation where loading 100 MB files causes OMPT to temporarily allocate 200 MB.
Quote from: "bvanoudtshoorn"1. At startup: when you decompress a file, you generally need a fair bit of working space, depending on the compression method used.
Quote from: "bvanoudtshoorn"2. Generally: if you decompress the files, you will probably have both a compressed and a decompressed version in memory (so that you can both save and play quickly).
Quote from: "bvanoudtshoorn"Does this mean that plugins which use, say, 100MB also need around twice that much at startup?
Quote from: "bvanoudtshoorn"If so, it could explain some of the startup issues I have when I load tracks with > 2GB of samples in Kontakt...
Quote from: "Relabsoluness"ok, I didn't think the need, which doesn't seem vital, to have the compressed version in memory all the time.
Quote from: "Relabsoluness"Isn't using > 2 GB of samples good enough reason for startup issues
Quote from: "Jojo"Because I at least want modules that can be played with any other mod player as well? I know that you don't use samples and therefore don't care how you modules sound in XMplay or IT, but i do.
Quote from: "Jojo"or we go straight for FLAC...
Quote from: "Sam_Zen"FLAC it is.. the near future