Thread context
2 posts in path
Parent
@eal@shinonome.technology
Open
@eal@shinonome.technology
Hearing the difference now isn't the reason to encode to FLAC. FLAC uses lossless compression, while MP3 is 'lossy'. What this means is that for each year the MP3 sits on your hard drive, it will lose
i have contamination and mutants in my brain
comp.lain.la
i have contamination and mutants in my brain
comp.lain.la
@k4t3@comp.lain.la
·
Feb 26, 2026
@eal playing wav files from a ramdisk gave best sound
then moved on to memory play, initially SQ was worse.
found that a function called memcpy was the culprit, most memory players use memcpy and this is one of the reasons why memory play sounds worse ie digital sounding. Fortunately there is an optimised version of memcpy, using this version removes the hard edge produced by memcpy. the other thing I did was to close the file after reading into the buffer.
also most players use malloc to get memory while new is the c++ method and sounds better.
Also making the loop a while x > 0 and decrementing the counter at the end using --x helps (1 cpu tick). Does a while loop sound better than a for loop ? there's something to ponder.
View full thread on comp.lain.la