]> git.tuebingen.mpg.de Git - paraslash.git/commit
afh: Introduce audio_format_names[].
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 21 Sep 2018 07:29:18 +0000 (09:29 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 21 Dec 2018 13:40:42 +0000 (14:40 +0100)
commitc4504b23059c36632309f7524b4263fe0a1c234f
tree97c36c106af1091bb01daa638b09ed8374003078
parent54fda72783697f2258faa95d642224c47454b11b
afh: Introduce audio_format_names[].

This removes .name of struct audio_format in favor of an array of
strings. This will allow us to make afl[] a constant array of pointers,
some of which may be NULL to indicate that the audio format was not
compiled in.

This temporarily duplicates the list of audio formats. The second
list will be removed in a subsequent commit.
afh.h
afh_common.c