• Thomas Guillem's avatar
    audiotrack: refactor Write · 78420811
    Thomas Guillem authored
    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: default avatarJean-Baptiste Kempf <jb@videolan.org>
    78420811
audiotrack.c 47.9 KB