map

minimalist audio player
git clone https://git.porkepik.fr/map
Log | Files | Refs | README | LICENSE

commit e9a898cb22eb0bdf7c330c6db4e1c3a096e66021
parent 1fbe26f368e6e9380f1519a549dddd8e1f94b7a2
Author: Thomas Philippe <dev@porkepik.fr>
Date:   Mon, 16 Mar 2020 20:53:04 +0100

fix track selection after changing page

Diffstat:
Mmap.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/map.c b/map.c @@ -241,8 +241,8 @@ opentrack(struct track *track) static int playtrack(struct track curtrack, struct player player, int *volume, int trackid) { - static int cursorid = 1; - int timersec = 0, toptrack = 0; + static int cursorid = 1, toptrack = 0; + int timersec = 0; long done; time_t start, pausetime = 0; long buffer[BUFF_SIZE];