Constructs and returns an appropriate WAVEFORMATEXTENSIBLE for the given parameters. Always interleaved. If bitPerSample is non-zero then it will be used for the WAVEFORMATEX's wBitsPerSample property, which may be larger than wValidBitsPerSample for alignment purposes. If useExtensible is true, sets the wFormatTag to WAVE_FORMAT_EXTENSIBLE, otherwise to WAVE_FORMAT_PCM