
28 Nov
2012
28 Nov
'12
1:43 p.m.
On Tue, Nov 27, 2012 at 11:54 PM, Lasse Laursen
I'm all ears for an opinion on the approach. It would just appear to me that serialization is appealing to keep the code simple and still be quite flexible.
What about breaking out the metadata you want to serialize as a class, or family of classes, separate from the audio data you don't need to serialize? You could make the audio class point to an instance of the concrete metadata class, or vice-versa, or have a holder class reference both. In any case, the point would be to de/serialize all fields of the metadata class.