The manual does not answer this question: it says “the name of the new type of encoding”.
Is this just an arbitrary name like filename? Or this is some predefined name, like in Charset.forName() method?
In latter case where can I find the list of supported sound encodings?
Check our the source code for: AudioFormat.java. At the bottom of the class it constructs four pre-defined encodings:
The String is used in the
equals()andhashCode()implementations forAudioFormat.Encoding, so it certainly is intended to serve the purpose of a unique identifier for the encoding.