]> git.tuebingen.mpg.de Git - paraslash.git/commit
audiod: Make struct slot_info local to audiod.c.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 4 Jan 2015 04:55:43 +0000 (04:55 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 4 Apr 2015 17:53:37 +0000 (17:53 +0000)
commit0d37443245a99388afa85e6198bde567504dd16d
tree034076d8366465a2f941475b0e63b1130397de37
parent5ab451760281b344bfa6e495ab1aea7d80323c3c
audiod: Make struct slot_info local to audiod.c.

Thanks to the previous commit there is only one user of struct
slot_info left in audiod_command.c: decoder_flags(). Moving this
function to audiod.c allows to make the structure private to audiod.c,
along with the slot array and the MAX_STREAM_SLOTS and FOR_EACH_SLOT
macros.

Since audiod_command still needs the decoder flags for the stat command,
the function is made public and renamed to audiod_get_decoder_flags().
audiod.c
audiod.h
audiod_command.c