Hi, I have begun cleaning the audioOutput API, 5 patches for now.
More important: Avuton found some problems with mpd-mk, making gmpc crash. That has been identified as a bug in gmpc, which was triggered by mpd-mk responding slowly (several seconds). So it's not actually a bug in mpd-mk, rather a very slow algorithm... when I removed tree.c a while ago, I added a quick'n'dirty hack into tagTracker.c, which slowed it down. I have now reimplemented that with a hashed string set. I hope Avuton's problems are solved now. Max Max Kellermann (7): output: added output_api.h output: renamed typedef AudioOutput to struct audio_output output: replace audio_output.*Func with audio_output.plugin output: static audio_output_plugin list as array output: const plugin structures added string set library use strset.h instead of tagTracker.h b/src/Makefile.am | 7 + b/src/audio.c | 27 +----- b/src/audio.h | 1 b/src/audioOutput.c | 101 +++++++---------------- b/src/audioOutput.h | 101 ++--------------------- b/src/audioOutputs/audioOutput_alsa.c | 20 ++-- b/src/audioOutputs/audioOutput_ao.c | 19 ++-- b/src/audioOutputs/audioOutput_fifo.c | 19 ++-- b/src/audioOutputs/audioOutput_jack.c | 29 +++--- b/src/audioOutputs/audioOutput_mvp.c | 20 ++-- b/src/audioOutputs/audioOutput_null.c | 14 +-- b/src/audioOutputs/audioOutput_oss.c | 26 ++--- b/src/audioOutputs/audioOutput_osx.c | 18 ++-- b/src/audioOutputs/audioOutput_pulse.c | 20 ++-- b/src/audioOutputs/audioOutput_shout.c | 25 ++--- b/src/dbUtils.c | 23 +++-- b/src/main.c | 1 b/src/output_api.h | 85 +++++++++++++++++++ b/src/output_list.c | 59 +++++++++++++ b/src/output_list.h | 32 +++++++ b/src/stats.c | 44 +++++++++- b/src/strset.c | 144 +++++++++++++++++++++++++++++++++ b/src/strset.h | 49 +++++++++++ b/src/tag.c | 1 src/tagTracker.c | 117 -------------------------- src/tagTracker.h | 34 ------- 26 files changed, 587 insertions(+), 449 deletions(-) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team