1. 18 Jan, 2009 1 commit
  2. 17 Jan, 2009 1 commit
  3. 16 Jan, 2009 1 commit
  4. 10 Jan, 2009 1 commit
    • Viliam Mateicka's avatar
      Introducing mixer api · 11c29ccc
      Viliam Mateicka authored
      This patch tryes to introduce pluggable mixer (struct mixer_plugin) along with some basic infrastructure (mixer_* functions). Instance of mixer (struct mixer) is used in
      alsa and oss output plugin
      11c29ccc
  5. 05 Jan, 2009 2 commits
  6. 04 Jan, 2009 1 commit
  7. 01 Jan, 2009 1 commit
  8. 31 Dec, 2008 1 commit
  9. 25 Nov, 2008 1 commit
  10. 29 Oct, 2008 3 commits
  11. 26 Oct, 2008 2 commits
  12. 14 Oct, 2008 2 commits
  13. 11 Oct, 2008 1 commit
    • Max Kellermann's avatar
      oss: fix opening default OSS device · 215d8aa8
      Max Kellermann authored
      Leftover from the output API changes: oss_open_default() was changed
      to return a void*, but it still returned "0" to report success.
      Report the OssData pointer instead.
      215d8aa8
  14. 10 Oct, 2008 2 commits
  15. 08 Oct, 2008 1 commit
  16. 29 Sep, 2008 2 commits
    • Max Kellermann's avatar
      use C99 struct initializers · de7cda1d
      Max Kellermann authored
      The old struct initializers are error prone and don't allow moving
      elements around.  Since we are going to overhaul some of the APIs
      soon, it's easier to have all implementations use C99 initializers.
      de7cda1d
    • Eric Wong's avatar
      Switch to C99 types (retaining compat with old compilers) · 0352766d
      Eric Wong authored
      Seeing the "mpd_" prefix _everywhere_ is mind-numbing as the
      mind needs to retrain itself to skip over the first 4 tokens of
      a type to get to its meaning.  So avoid having extra characters
      on my terminal to make it easier to follow code at 2:30 am in
      the morning.
      
      Please report any new issues you may come across on Free
      toolchains.  I realize how difficult it can be to build/maintain
      cross-compiling toolchains and I have no intention of forcing
      people to upgrade their toolchains to build mpd.
      
      Tested with gcc 2.95.4 and and gcc 4.3.1 on x86-32.
      0352766d
  17. 24 Sep, 2008 3 commits
    • Max Kellermann's avatar
      output: make "struct audio_output" opaque for output plugins · acc4a0ba
      Max Kellermann authored
      We have eliminated direct accesses to the audio_output struct from
      the all output plugins.  Make it opaque for them, and move its real
      declaration to output_internal.h, similar to decoder_internal.h.
      
      Pass the opaque structure to plugin.init() only, which will return the
      plugin's data pointer on success, and NULL on failure.  This data
      pointer will be passed to all other methods instead of the
      audio_output struct.
      acc4a0ba
    • Max Kellermann's avatar
      output: set audio_output->open=1 in audio_output_task() · 2403d32a
      Max Kellermann authored
      Since the output plugin returns a value indicating success or error,
      we can have the output core code assign the "open" flag.
      2403d32a
    • Max Kellermann's avatar
      output: pass audio_format to plugin.init() and plugin.open() · 3cae6856
      Max Kellermann authored
      Pass the globally configured audio_format as a const pointer to
      plugin.init().  plugin.open() gets a writable pointer which contains
      the audio_format requested by the plugin.  Its initial value is either
      the configured audio_format or the input file's audio_format.
      3cae6856
  18. 08 Sep, 2008 1 commit
  19. 07 Sep, 2008 3 commits
  20. 26 Aug, 2008 1 commit
    • Max Kellermann's avatar
      enable -Wpointer-arith, -Wstrict-prototypes · a383f451
      Max Kellermann authored
      Also enable -Wunused-parameter - this forces us to add the gcc
      "unused" attribute to a lot of parameters (mostly library callback
      functions), but it's worth it during code refactorizations.
      a383f451
  21. 12 Apr, 2008 1 commit
  22. 26 Mar, 2008 2 commits
  23. 26 Jan, 2008 1 commit
  24. 03 Jan, 2008 1 commit
    • Eric Wong's avatar
      Cleanup #includes of standard system headers and put them in one place · cb8f1af3
      Eric Wong authored
      This will make refactoring features easier, especially now that
      pthreads support and larger refactorings are on the horizon.
      
      Hopefully, this will make porting to other platforms (even
      non-UNIX-like ones for masochists) easier, too.
      
      os_compat.h will house all the #includes for system headers
      considered to be the "core" of MPD.  Headers for optional
      features will be left to individual source files.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      cb8f1af3
  25. 27 Aug, 2007 1 commit
  26. 26 May, 2007 1 commit
  27. 05 Apr, 2007 1 commit
  28. 18 Oct, 2006 1 commit