first I should say that the CUESHEET metadata block is the only place that the preemphasis flag should (and does) go, since it's the only part of FLAC that is specific to redbook CDs and nothing else.
if a CD is ripped to tracks and you want to keep the preemphasis flag in the metadata, best to put it in a tag at rip time. there is other data from the CD that you might also want to keep, like DCP flag and ISRC. as to whether the decoder should have an option for deemphasis: it actually really does not belong there, it belongs in the player. I added the --apply-replaygain-... option only after a lot of prodding and it was easy since I already had the synthesis code. deemphasis would be yet another non-lossless option in a supposed-to-be-lossless decoder. also, even if I added it, the right way would be to add a generic parametric EQ, of which redbook deemphasis would be just one preset. at that point it's better to just pipe flac output to sox or some other EQ. so maybe what I'm suggesting is instead of the server calling flac directly, have it call some flac-slim.sh script that checks for a preemphasis flag in the metadata and pipes through sox if there. this could be extended to do other things (including replaygain synthesis if sox did it). Josh -- Josh Coalson ------------------------------------------------------------------------ Josh Coalson's Profile: http://forums.slimdevices.com/member.php?userid=2651 View this thread: http://forums.slimdevices.com/showthread.php?t=18738 _______________________________________________ audiophiles mailing list audiophiles@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/audiophiles