steve wrote:It would be a shame for this disappear into the long grass.
I think that it should at least be logged on bugzilla along the lines of:
Bug: Default sample format ignored for some imported file formats.
and a link to this topic.
There seem to be two feature request "votes" for respecting default sample format as a "general principle", which I've noted.
I think the whole thing is a hornets' nest when you consider the different importers that could take any particular format. Accordingly the bug you suggest creating would probably be a summary bug controlling other "bugs" for each importer. Probably there should be a Wiki Proposal to sort out the behaviour we want and to decide what is practicable.
You would be presumably be calling it a bug to upconvert 24-bit WAV files imported through libsndfile to 32-bit float when the preference says 24-bit. But previous developers have insisted on doing that.
What does the bug or request say for the case when the file is of higher quality than the preference? For WAV imported through libsndfile, we never downconvert to the preference quality.
The developer who implemented FFmpeg (LRN) thought we should not attempt to modify FFmpeg import sample formats.
Gale