HydrogenAudio

Lossless Audio Compression => WavPack => Topic started by: NormanPCN on 2006-03-07 01:20:05

Title: .9RC (3-05) wavpack properties dialog bug
Post by: NormanPCN on 2006-03-07 01:20:05
Pretty sure this is a bug.

The codec_profile entry in the properties dialog for wavpack lossless files always lists "lossless". It should probably be listing normal, high or fast. For Monkeys files the codec_profile entry does list the encoding mode (normal, fast, etc). For hybrid/lossy wavpack files the entry seems fine.
Title: .9RC (3-05) wavpack properties dialog bug
Post by: NormanPCN on 2006-03-07 01:53:26
Correction. The listing for hybrid/lossy is also missing the normal, high, fast info.
Title: .9RC (3-05) wavpack properties dialog bug
Post by: DeepDose on 2006-03-08 12:18:38
I can confirm that in .9RC, in the properties dialog, for wavpack it doesn't list the normal,high fast info.  it looks as compression = Lossless  when it should look like compression = Lossless, high    or such.
Title: .9RC (3-05) wavpack properties dialog bug
Post by: NormanPCN on 2006-03-09 02:45:00
Looking at the wavpack source the normal black .flags field does not contain the fast,high and extra processing flags. This is because that info is not needed to decode the stream but is useful information to know how the file was encoded. The flags are in the config.flags field of the wavpack context. The first block of a wavpack file has a metadata field for the config flags and they are read into the config.flags field.
Title: .9RC (3-05) wavpack properties dialog bug
Post by: NormanPCN on 2006-03-10 03:32:57
More info. It seems wavpack V3 and earlier had these flasg in the main block flags field. It is V4 and later that puts this info in the metadata block of the first block of a stream.