]> git.tuebingen.mpg.de Git - paraslash.git/commit
server: Move ->size from mmd to struct vss_task.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 21 Dec 2016 12:58:28 +0000 (13:58 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 25 Mar 2017 10:54:36 +0000 (11:54 +0100)
commitfb3cb0d3ae8ef392024c6e9598b2a59bf92f2277
tree61c26aa8ad0e87d8559d5ced6fb159ab028567d7
parentd222e3053d6d7f15b9203dd86a021737f50e63f0
server: Move ->size from mmd to struct vss_task.

This field stores the size of the memory mapping of the current audio
file, if any. No command handler ever changes the value, and the
value is not read from com_stat(), so there is no reason for ->size
to be part of the mmd shared memory area.

Unlike ->size, the pointer to the mapping is stored in struct vss_task.
Given that vss.c is the only file which reads ->map or ->size, it
makes sense to store both values together in the vss task struct.
server.h
vss.c