Use the callbacks in the audio thread
commit021e531c992498a2956069a579feca4ac0112833
authorNicolas Pennequin <nicolas@nicolas-laptop.(none)>
Mon, 22 Oct 2007 16:56:03 +0000 (22 18:56 +0200)
committerlearman <learman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 25 Oct 2007 19:18:20 +0000 (25 19:18 +0000)
treee5728cda430251ba2217b53ada290bea3ebad0fc
parent2875bee23cb32aa206571951f50756bad9978fb4
Use the callbacks in the audio thread

* Hide useful_data(), instead let the user tell the buffering thread which
  handle it is using with set_base_handle()
* Make the audio thread use a callback to know when to add new files
* audio_fill_file_buffer() now does what its name says: add tracks until
  one fails (which means the buffer is full)
apps/buffering.c
apps/buffering.h
apps/playback.c