1. 11 Nov, 2008 2 commits
  2. 10 Nov, 2008 1 commit
  3. 03 Nov, 2008 4 commits
  4. 02 Nov, 2008 5 commits
  5. 01 Nov, 2008 1 commit
  6. 30 Oct, 2008 1 commit
  7. 29 Oct, 2008 4 commits
  8. 26 Oct, 2008 1 commit
  9. 21 Oct, 2008 2 commits
  10. 17 Oct, 2008 2 commits
  11. 08 Oct, 2008 4 commits
  12. 29 Sep, 2008 1 commit
  13. 09 Sep, 2008 1 commit
  14. 07 Sep, 2008 1 commit
  15. 26 Aug, 2008 10 commits
    • Max Kellermann's avatar
      renamed player.c to player_control.c · 5e51fa02
      Max Kellermann authored
      Give player.c a better name, meaning that the code is used to control
      the player thread.
      5e51fa02
    • Max Kellermann's avatar
      renamed decode.h to decoder_control.h · 56cdce69
      Max Kellermann authored
      56cdce69
    • Max Kellermann's avatar
      moved global variable "pc" to player.h · 4255bba0
      Max Kellermann authored
      This is the last of the three variables.  Now we don't need
      playerData.h anymore in most sources.
      4255bba0
    • Max Kellermann's avatar
      moved global variable "ob" to outputBuffer.h · a94845ee
      Max Kellermann authored
      This releases several include file dependencies.  As a side effect,
      "CHUNK_SIZE" isn't defined by decoder_api.h anymore, so we have to
      define it directly in the plugins which need it.  It just isn't worth
      it to add it to the decoder plugin API.
      a94845ee
    • Max Kellermann's avatar
      moved variable "dc" to decode.h · 1c03c721
      Max Kellermann authored
      Now that "dc" is available here, we don't have to pass it to
      decoder_is_idle() and decoder_is_starting() anymore.
      1c03c721
    • Max Kellermann's avatar
      added flag "decoder.seeking" · 1c196478
      Max Kellermann authored
      This flag is used internally; it is set by decoder_seek_where(), and
      indicates that the decoder plugin has begun the seek process.  It is
      used for the case that the decoder plugin has to read data during the
      seek process.  Before this patch, that was impossible, because
      decoder_read() would refuse to read data unless dc->command is NONE.
      This patch is kind of a dirty workaround, and needs to be redesigned
      later.
      1c196478
    • Max Kellermann's avatar
      added decoder_read() · 940ecf53
      Max Kellermann authored
      On our way to stabilize the decoder API, we will one day remove the
      input stream functions.  The most basic function, read() will be
      provided by decoder_api.h with this patch.  It already contains a loop
      (still with manual polling), error/eof handling and decoder command
      checks.  This kind of code used to be duplicated in all decoder
      plugins.
      940ecf53
    • Max Kellermann's avatar
      added decoder_plugin_register() · 6120635f
      Max Kellermann authored
      With the functions decoder_plugin_register() and
      decoder_plugin_unregister(), decoder plugins can register a
      "secondary" plugin, like the flac input plugin does this for
      "oggflac".
      6120635f
    • Max Kellermann's avatar
      eliminate OUTPUT_BUFFER_DC_STOP, OUTPUT_BUFFER_DC_SEEK · c7384b65
      Max Kellermann authored
      (Ab)use the decoder_command enumeration, which has nearly the same
      values and the same meaning.
      c7384b65
    • Max Kellermann's avatar
      added decoder_get_url() · 67bf4b44
      Max Kellermann authored
      The wavpack decoder plugin implements a hack, and it needs the song
      URL for that.  This API (and the hack) should be revised later, but
      add that function for now.
      67bf4b44