1. 22 Mar, 2014 1 commit
    • Mark Hills's avatar
      Prefer largest buffer size up to the user's limit · 2284ba64
      Mark Hills authored
      Previously we were setting the maximum buffer size. For some soundcards
      this could allow the device to selecta much smaller buffer, leading to
      overruns.
      
      Be more specific by using _near, which should match the user's expectations
      and perhaps will fix problems with some soundcards.
      2284ba64
  2. 19 Jan, 2014 1 commit
  3. 15 Jan, 2014 1 commit
  4. 30 Sep, 2013 1 commit
  5. 28 May, 2013 1 commit
  6. 26 May, 2013 1 commit
  7. 25 May, 2013 1 commit
  8. 16 Nov, 2012 1 commit
  9. 29 Jan, 2012 1 commit
  10. 04 Dec, 2011 2 commits
  11. 19 Jun, 2011 4 commits
  12. 26 Apr, 2011 1 commit
  13. 15 Jan, 2011 1 commit
    • Mark Hills's avatar
      Remove unused variable · 25eb5e50
      Mark Hills authored
      cc -g -O2 -Wall -O3  -MMD  -c -o alsa.o alsa.c
      alsa.c: In function 'start':
      alsa.c:201: warning: unused variable 'r'
      25eb5e50
  14. 14 Jan, 2011 1 commit
    • Mark Hills's avatar
      Guarantee double buffering for ALSA devices · abc4d97c
      Mark Hills authored
      Sometimes ALSA would select a buffer size only slightly larger than
      the period size, resulting in xruns. It is necessary to restrict
      the choice of period size to allow at least a double buffer.
      
      This fixes a bug which is clear when using 8ms buffer time on
      snd-usb-caiaq driver; the driver would select a period size nearly
      as large as the number of frames in the buffer.
      abc4d97c
  15. 03 Jan, 2011 2 commits
    • Mark Hills's avatar
      Update copyright notice · 21ba6d3a
      Mark Hills authored
      21ba6d3a
    • Mark Hills's avatar
      Remove return code from audio stop and start functions · 295ba98a
      Mark Hills authored
      These functions must succeed in some form or another as there is no
      handling of any errors. Instead of implementing the detailed error
      handling required, assert that this functionality is not available.
      
      This leaves us relying on these functions not to error. In the case
      of jack_deactivate() this really shouldn't be allowed to error.
      
      Forcing devices to handle errors means the realtime thread can
      be kept bug-free and readable.
      295ba98a
  16. 18 Dec, 2010 2 commits
  17. 12 Dec, 2010 1 commit
  18. 25 Sep, 2010 1 commit
  19. 27 Feb, 2010 1 commit
  20. 01 Jan, 2010 1 commit
  21. 24 Oct, 2009 1 commit
  22. 06 Jun, 2009 6 commits
  23. 20 Jul, 2008 1 commit
    • Mark Hills's avatar
      Build output PCM data at any sample rate · 3ed71d02
      Mark Hills authored
      As part of this, the external interface to player.c has changed. This
      patch includes the update to the ALSA and OSS drivers to pass in the device
      sample rate. Any audio drivers in other branches will need to be updated:
      
        player_collect(player, &pcm[0], samples);
      
      becomes
      
        player_collect(player, &pcm[0], samples, rate);
      3ed71d02
  24. 29 Jun, 2008 1 commit
  25. 29 Feb, 2008 1 commit
  26. 25 Jan, 2008 1 commit
    • Mark Hills's avatar
      Workaround uninitialised memory returned by ALSA · e56529cc
      Mark Hills authored
      This triggers a chain of errors within valgrind, making debugging
      impossible. snd_pcm_readi() is returning an uninitialised buffer when
      it is first called. A possible cause could be poll() returning
      immediately with POLLIN when xwax starts.
      
      This requires further investigation.
      e56529cc
  27. 14 Jan, 2008 1 commit
  28. 03 Jan, 2008 1 commit
    • Mark Hills's avatar
      Set ALSA buffer size as maximum · c9a7090c
      Mark Hills authored
      Fixes a bug where we would fail to set the buffer size, then report
      an incorrect value to the user. Instead of trying to second-guess
      set_buffer_time_near() we just use set_buffer_time_max() and look
      for error.
      c9a7090c
  29. 02 Jan, 2008 1 commit