07-20-2020, 12:45 PM
(This post was last modified: 07-20-2020, 12:46 PM by hestehandler.)
(07-20-2020, 11:57 AM)Tim Curtis Wrote: Audio data is queued in memory buffers for play and so you are already enjoying "RAM play". Furthermore, Linux caches the entire file in RAM as part of its internal disk caching mechanism. If the file is played again and hasn't been expired out of the cache there is no disk I-O and the data is simply transferred to the audio player memory buffers.
The only bad thing that can happen is a buffer under run which if they occur indicates that something upstream is malfunctioning and not able to deliver the data in a timely manner.
For sure there has to be a good case made for including an option but let's see what comes up.
I think the purpose is to load (and possibly decode) the entire encoded audio file into RAM before playback begins. That way network/disk activity can be inactive during playback, and that might yield better sounding playback.