1. 14 Sep, 2011 3 commits
  2. 12 Sep, 2011 1 commit
    • Pierre-Louis Bossart's avatar
      ALSA: usb: refine delay information with USB frame counter · 294c4fb8
      Pierre-Louis Bossart authored
      Existing code only updates the audio delay when URBs were
      submitted/retired. This can introduce an uncertainty of 8ms
      on the number of samples played out with the default settings,
      and a lot more when URBs convey more packets to reduce the
      interrupt rate and power consumption.
      This patch relies on the USB frame counter to reduce the
      uncertainty to less than 2ms worst-case. The delay information
      essentially becomes independent of the URB size and number of
      packets. This should help applications like PulseAudio which
      require accurate audio timing. Clemens Ladisch reported
      a decrease of mplayer's A-V difference from nrpacks down to at
      most 1ms.
      Thanks to Clemens for also pointing out that the implementation
      of frame counters varies between different HCDs. Only the
      8 lowest-bits are used to estimate the delay.
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      [clemens: changed debug code]
      Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
  3. 26 Aug, 2011 1 commit
  4. 19 Aug, 2011 2 commits
    • Takashi Iwai's avatar
      ALSA: usb-audio - Check the dB-range validity in the later read, too · 9fcd0ab1
      Takashi Iwai authored
      When the initial check of dB-range failed due to the read error, try to
      check again at the later read, too.  When an invalid dB range is found,
      remove TLV flags and notify the mixer info change.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    • Takashi Iwai's avatar
      ALSA: usb-audio - Fix missing mixer dB information · 38b65190
      Takashi Iwai authored
      The recent fix for testing dB range at the mixer creation time seems
      to cause regressions in some devices.  In such devices, reading the dB
      info at probing time gives an error, thus both dBmin and dBmax are still
      zero, and TLV flag isn't set although the later read of dB info succeeds.
      This patch adds a workaround for such a case by assuming that the later
      read will succeed.  In future, a similar test should be performed in a
      case where a wrong dB range is seen even in the later read.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Cc: <stable@kernel.org>
  5. 14 Aug, 2011 1 commit
    • Daniel Mack's avatar
      ALSA: snd_usb_caiaq: track submitted output urbs · da6094ea
      Daniel Mack authored
      The snd_usb_caiaq driver currently assumes that output urbs are serviced
      in time and doesn't track when and whether they are given back by the
      USB core. That usually works fine, but due to temporary limitations of
      the XHCI stack, we faced that urbs were submitted more than once with
      this approach.
      As it's no good practice to fire and forget urbs anyway, this patch
      introduces a proper bit mask to track which requests have been submitted
      and given back.
      That alone however doesn't make the driver work in case the host
      controller is broken and doesn't give back urbs at all, and the output
      stream will stop once all pre-allocated output urbs are consumed. But
      it does prevent crashes of the controller stack in such cases.
      See http://bugzilla.kernel.org/show_bug.cgi?id=40702
       for more details.
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Reported-and-tested-by: default avatarMatej Laitl <matej@laitl.cz>
      Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
  6. 10 Aug, 2011 2 commits
  7. 06 Aug, 2011 2 commits
  8. 05 Aug, 2011 1 commit
  9. 04 Aug, 2011 3 commits
  10. 21 Jul, 2011 1 commit
    • David G Turner's avatar
      ALSA: usb-audio - Add quirk for Roland / BOSS BR-800 · 6a6d822e
      David G Turner authored
      Add support for Roland/BOSS BR-800 (0582:011e) to snd-usb-audio driver.
      This allows playback and recording, which has been tested and found to
      work. The third interface should be MIDI (MTC/SMPTE?) for DAW interface
      and is set as per ME-25, but this has not been tested. SDHC card access
      is already supported by usb-storage for Backup/Rhythm Editor/Wave
      Convertor mode which should not conflict with this.
      Signed-off-by: default avatarDavid G Turner <dgturner@iee.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
  11. 12 Jul, 2011 1 commit
  12. 08 Jul, 2011 1 commit
  13. 17 Jun, 2011 1 commit
  14. 16 Jun, 2011 1 commit
  15. 14 Jun, 2011 1 commit
  16. 03 Jun, 2011 1 commit
  17. 02 Jun, 2011 1 commit
  18. 25 May, 2011 5 commits
  19. 18 May, 2011 8 commits
  20. 28 Apr, 2011 2 commits
  21. 26 Apr, 2011 1 commit