Debian Codegraph @

src/audio/audlib/WISHLIST

raw
1 My WISHLIST. i.e. exercises left for the reader. :)
2
3 --
4
5 Some thing I described in email:
6
7
8 AUD_STREAM *song1 = load_aud_stream("normal.aud");
9 AUD_STREAM *song2 = load_aud_stream("action.aud");
10
11 play_aud_stream(song1);
12
13 while (!game_over) {
14
15 poll_aud();
16
17 if (moodswitch == fast)
18 switch_aud_stream(song2);
19 else if (moodswitch == slow)
20 switch_aud_stream(song1);
21 }
22
23
24 Conclusion: CBF.
25
26 --
27
28 Something else I described in email:
29
30 queue_aud_stream("file1.aud");
31 queue_aud_stream("file2.aud");
32
33 These would play in sequence. This would be hard to mix with the
34 switch_aud_stream idea, so this basically will be scrapped for the
35 previous idea.
36
37 --
38
39 Maybe more, I forget.