To be done after CVS move completed. A summary of what has been previously described.
Stage 1: - Put common sound server functions as they currently are into soundserver.c/ soundserver.h (note: some listed below are already present and may just be renamed). - int ticks_to_milliseconds(unsigned int ticks) - void init_handle(int priority, word song_handle) - void play_handle(int priority, word song_handle) - void stop_handle(word song_handle) - void suspend_handle(word song_handle) - void resume_handle(word song_handle) - void renice_handle(int priority, word song_handle) - void fade_handle(int ticks, word song_handle) - void loop_handle(int loops, word song_handle) - void dispose_handle(word song_handle) - void change_song(song_t *new_song) - void change_instrmap(int action, int instr, int value) - void set_mute(int channel, int mute_setting) - void set_master_volume(guint8 new_volume) - void set_reverse_stereo(int rs) - void stop_all() - void suspend_all() - void resume_all() - void sound_check(int mid_polyphony) - void print_channels_any(int mapped) - void print_song_info(word song_handle) - Test, CVS commit, test. Stage 2: - Move current polled sound server into polled_soundserver.c. - Make it use the common sound server functions. - Test, CVS commit, test. Stage 3: - Add event_soundserver.c. - Interface exactly like the polled sound server. - Uses common sound server functions. - Test, CVS commit, test. Stage 4: - Add event_soundserver_win32.c. - Uses the same sound server interface as current soundserver_xxx.c plug-ins. - Test, CVS commit, test. Does this sound acceptable? Cheers, Alex.
