1. 11 Oct, 2008 6 commits
    • Max Kellermann's avatar
      player: added struct player · 9d51bd39
      Max Kellermann authored
      The player struct holds the local variables which used to be passed to
      all those helper functions in player_thread.c.
      9d51bd39
    • Max Kellermann's avatar
      player: removed set_current_song() · 2fcbabf4
      Max Kellermann authored
      set_current_song() is an internal function and consists of only one
      assignment.  Eliminate it.
      2fcbabf4
    • Max Kellermann's avatar
      player: removed player_control.fileTime · 42409a35
      Max Kellermann authored
      This variable is superfluous, it is only used to copy its value to
      player_control.totalTime.  Since the original source of this value
      (song->tag->time) will still be available at this point, we can safely
      remove fileTime.
      42409a35
    • Max Kellermann's avatar
      alsa: don't override libasound's buffer_time and period_time · dd7711d8
      Max Kellermann authored
      ALSA does a good job measuring its buffer_time and period_time.  Don't
      override its defaults, unless the user demands it.
      dd7711d8
    • Max Kellermann's avatar
      alsa: re-enable blocking mode · bcc443a8
      Max Kellermann authored
      Revert e4f5d6bd "re-enable-nonblocking, but sleep if busy".
      Non-blocking mode with manual sleeping doesn't help at all (by the
      way, the patch should have used snd_pcm_wait() instead of
      my_usleep()).  ALSA knows much more about the hardware quirks, so we
      just let it do the job.
      bcc443a8
    • 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
  2. 10 Oct, 2008 12 commits
  3. 09 Oct, 2008 22 commits