1. 25 Jan, 2009 8 commits
    • Max Kellermann's avatar
      mixer: removed mixer_configure(), configure mixer in mixer_new() · 8695b942
      Max Kellermann authored
      Allocate the mixer object when it is configured.
      
      Merged mixer_configure() into mixer_new().  mixer_new() was quite
      useless anyway.
      8695b942
    • Max Kellermann's avatar
      mixer: return a mixer struct pointer · 763dd8c1
      Max Kellermann authored
      Don't use statically allocated mixer objects.
      763dd8c1
    • Max Kellermann's avatar
      conf: allow param==NULL · 3635c93a
      Max Kellermann authored
      Return the default value in the conf_get_block_*() functions when
      param==NULL was passed.
      
      This simplifies a lot of code, because all initialization can be done
      in one code path, regardless whether configuration is present.
      3635c93a
    • Max Kellermann's avatar
      conf: const pointers in block get functions · 5f779100
      Max Kellermann authored
      All config_get_block_*() functions should accept constant config_param
      pointers.
      5f779100
    • Max Kellermann's avatar
      alsa: added comments · 7cc15ffc
      Max Kellermann authored
      Document alsa_data members.
      7cc15ffc
    • Max Kellermann's avatar
      alsa: frame_size is size_t, not int · fb3e43ed
      Max Kellermann authored
      frame_size is a memory size and should be a size_t, not a signed integer.
      fb3e43ed
    • Max Kellermann's avatar
      alsa: no CamelCase · d887b635
      Max Kellermann authored
      Renamed types, functions, variables.
      d887b635
    • Dan McGee's avatar
      alsa: fix option parsing and restore default period_time · 27baf691
      Dan McGee authored
      Two bugs here led to a large number of interrupts being generated on the
      sound card when ALSA output is being used. Because we specify no default
      period_time, the sound card gives us 3000 interrupts/sec rather than a more
      sane 20 or 30. This completes the revert of dd7711 already started by
      4ca24f.
      
      The larger bug was in the change to config_get_block_unsigned() and using 0
      as the default value for both 'buffer_time' and 'period_time'. This means
      any pre-setting of these options in newAlsaData() gets wiped out. Add a new
      default for period_time, and ensure default values for buffer_time and
      period_time are used if none are provided by the user.
      Signed-off-by: 's avatarDan McGee <dan@archlinux.org>
      [mk: set defaults in newAlsaData() to fix auto-configuration; renamed
      "_MS" back to "_US" because ALSA expects microseconds, not milliseconds]
      Signed-off-by: 's avatarMax Kellermann <max@duempel.org>
      27baf691
  2. 22 Jan, 2009 3 commits
  3. 18 Jan, 2009 4 commits
  4. 17 Jan, 2009 2 commits
  5. 16 Jan, 2009 1 commit
  6. 14 Jan, 2009 1 commit
    • Antoine Beaupré's avatar
      shout: enlarge buffer size to 32 kB · b7fe09fa
      Antoine Beaupré authored
      I was having problems with shoutcast stream outputs before applying
      the attached patch, which enlarges the shoutcast output
      buffer. Ideally, this should be configurable, but this resolves the
      issue for my needs.
      b7fe09fa
  7. 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
  8. 08 Jan, 2009 1 commit
  9. 07 Jan, 2009 1 commit
  10. 05 Jan, 2009 2 commits
  11. 04 Jan, 2009 1 commit
  12. 03 Jan, 2009 2 commits
  13. 02 Jan, 2009 3 commits
  14. 01 Jan, 2009 2 commits
  15. 31 Dec, 2008 1 commit
  16. 29 Dec, 2008 3 commits
  17. 28 Dec, 2008 1 commit
  18. 23 Dec, 2008 2 commits
  19. 17 Dec, 2008 1 commit