]> git.sesse.net Git - vlc/commitdiff
audiotrack: refactor Write
authorThomas Guillem <thomas@gllm.fr>
Wed, 11 Mar 2015 14:00:48 +0000 (15:00 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Mar 2015 14:12:44 +0000 (15:12 +0100)
Don't change p_buffer internal values, but use a local offset to know the
position.

The main advantage is that we can use this offset with the Android write method
in order to avoid a Java copy when you call Write several time for the same
p_buffer.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>

No differences found