GNOME Bugzilla – Bug 779389
sbcparse parses allocation mode incorrectly
Last modified: 2017-03-02 16:32:30 UTC
sbcparse parses the correct bit from SBC headers for the allocation mode (snr or loudness), but maps the bit to the values backwards - an snr file is interpreted as loudness and vice-versa. This is because the bit is directly read into an enum, but the enum values aren't set appropriately for this.
Are you going to make a patch for this Mike? :)
Are... are you trying to guilt me into that? I suppose I can try.
Created attachment 347011 [details] [review] fix sbcparse enum
(I don't know where my ssh key is, I've probably lost it. So I'm not going to commit this directly)
Merged: commit f7b1eae3a2ea6268e5849df110a08560274883f7 Author: Michael Smith <mlrsmith@gmail.com> Date: Wed Mar 1 16:11:47 2017 -0800 sbcparse: Fix up values for allocation enumeration. https://bugzilla.gnome.org/show_bug.cgi?id=779389