So that would argue for needing a cdtext_genre_t cdtext_get_genre(cdtext *) ? Note that applications cannot get at the genre_code because it is now part of the private cdtext structure? (Although applications could get at the raw pack data, they would have to duplicate the cdtext parsing.)
Rob On Tue, Oct 16, 2012 at 12:19 PM, Leon Merten Lohse <[email protected]> wrote: > On 2012-10-16 14:42, Robert William Fuller wrote: >> >> Might there be a case where genre_code is set, but there is no ASCII >> representation in the pack data? I got that impression from reading >> the comments in your code. I wonder if it would make sense to set the > > > That is absolutely possible. The two don't necessarily are the same. The > ASCII genre field can also be something completely different. > > >> ASCII genre in the case where a genre_code is provided, but an ASCII >> representation is not? Thank you. > > > Thought about that, too. Decided to not do it though. My opinion is that it > should be done on the application side. > > Regards > Leon >
