Rebuffer after playlist changes
commit7d413844499dadd9eef8c244eff8a5796b664719
authorNicolas Pennequin <nicolas@nicolas-laptop.(none)>
Sun, 14 Oct 2007 19:37:13 +0000 (14 21:37 +0200)
committerlearman <learman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 25 Oct 2007 19:18:20 +0000 (25 19:18 +0000)
treee775446758cb05c9aee54a9b7482eb9d3f8bc2a5
parent627b911d8ee93328921c05fc70edd57c3cccffb8
Rebuffer after playlist changes

To make this work, two things were needed:
* Update buf_widx when removing the current (ie last) memory handle,
  otherwise the buffer would still be seen as full
* Call audio_fill_file_buffer() in audio_invalidate_tracks() (spinning up
  the disk to rebuffer after a playlist change is expected behaviour)
apps/buffering.c
apps/playback.c