1. 23 Sep, 2015 1 commit
  2. 09 Sep, 2015 2 commits
    • Dylan Reid's avatar
      Add pcm_get_poll_fd · b42510d5
      Dylan Reid authored
      
      Similar to ALSA snd_pcm_get_poll_fd, this will allow a user to wait for
      a sound device to have data in a poll(2) call.  The hotword thread will
      use this to wait for a message on its socket or for audio data to become
      ready.
      
      Change-Id: I61375a73d7a842b00362fc707c12f99aa18e0bdf
      Signed-off-by: default avatarDylan Reid <dgreid@chromium.org>
      b42510d5
    • Dylan Reid's avatar
      Export pcm_mmap_avail · 6188c412
      Dylan Reid authored
      
      This is useful for timer based wakeups and for checking how much data
      has been captured by a hotwording device.
      
      Change-Id: Iffe85dd8e69498f0af6e3265971f26daf6f65608
      Signed-off-by: default avatarDylan Reid <dgreid@chromium.org>
      6188c412
  3. 02 Sep, 2015 1 commit
  4. 04 Aug, 2015 1 commit
  5. 22 Jun, 2015 1 commit
    • Maneet Singh's avatar
      pcm: add support to set silence_size · e25fe0b5
      Maneet Singh authored
      Tinyalsa always set silence_size to zero. Add support to set this
      pcm software parameter as required.
      
      Bug: 20226809
      Bug: 20300203
      Change-Id: I25de43623dc04bf5a3ad4c6573bc2b8dad1eec5e
      e25fe0b5
  6. 16 Dec, 2014 3 commits
  7. 27 Oct, 2014 1 commit
  8. 15 Jul, 2014 1 commit
  9. 10 Jul, 2014 1 commit
  10. 01 Apr, 2014 1 commit
  11. 31 Mar, 2014 1 commit
  12. 27 Mar, 2014 2 commits
  13. 25 Mar, 2014 2 commits
  14. 22 Mar, 2014 1 commit
  15. 19 Mar, 2014 1 commit
  16. 14 Mar, 2014 2 commits
  17. 10 Mar, 2014 1 commit
  18. 03 Feb, 2014 2 commits
  19. 31 Jan, 2014 2 commits
  20. 17 Sep, 2013 1 commit
  21. 30 Aug, 2013 1 commit
    • Glenn Kasten's avatar
      pcm_get_htimestamp can now use CLOCK_MONOTONIC · 6b0a2066
      Glenn Kasten authored
      Previously the timebase was not documented.  Now a new pcm_open flag
      can be used to specify the clock.  If flag PCM_MONOTONIC is specified,
      then pcm_open uses SNDRV_PCM_IOCTL_TTSTAMP with parameter
      SNDRV_PCM_TSTAMP_TYPE_MONOTONIC to request timestamps in CLOCK_MONOTONIC.
      
      Change-Id: I40ce359cb38d686cbb2521fb0602a8a17ab4f925
      6b0a2066
  22. 17 Jul, 2013 1 commit
    • Simon Wilson's avatar
      Update to latest tinyalsa · 36ea2d82
      Simon Wilson authored
      782bfda tinymix: only print mixer name for full mixer dump
      4f49678 tinycap: support 24 bit capture
      7136cf7 pcm: support S24_LE format
      
      Change-Id: Icf48dfe16883771e9ab9d14c5ec24f7d8a907bac
      36ea2d82
  23. 28 Jun, 2013 1 commit
    • Simon Wilson's avatar
      Update to latest tinyalsa · 7e8a6567
      Simon Wilson authored
      ec28139 mixer: add mixer_get_name() API
      710df88 mixer: add mixer_ctl_update() API
      
      Change-Id: I0cabe7e673a53f4358b5dbae4a17112eff5a2848
      7e8a6567
  24. 24 Jun, 2013 1 commit
  25. 01 May, 2013 1 commit
    • Simon Wilson's avatar
      Update to latest tinyalsa · 9673f571
      Simon Wilson authored
      5089567 tinycap: convert size from frames to bytes
      7a12d9c tinyplay: Make error messages more meaningful
      
      Change-Id: Id906c3827123616bd698dd93f575137b9e78e49c
      9673f571
  26. 03 Dec, 2012 1 commit
    • Simon Wilson's avatar
      Update to latest tinyalsa · 42fc2d39
      Simon Wilson authored
      f7f35cc Add tinypcminfo utility
      4354488 pcm: add pcm_get_params API
      
      Change-Id: I50e196bc299734b6e020bdcededa4f903ee5c5c2
      42fc2d39
  27. 09 Nov, 2012 1 commit
    • Simon Wilson's avatar
      Update to latest tinyalsa · da39e0b0
      Simon Wilson authored
      2c3a8e2 Add -Wall to Makefile and fix warnings
      4ef9a57 tinyplay: add clean shutdown handler for ctrl-c
      9bb8066 Merge pull request #15 from quantumdream/master
      bad2b79 tinymix: Add support for passing control name
      f51c05b mixer: Add mixer_ctl_{set,get}_bytes()
      fcf66ab Merge pull request #16 from PeterMalkin/master
      3d62222 Add pcm_wait() to the tinyalsa API.
      f9678dd tinyplay: Add missing header file <string.h>
      cde1f6f Fix several 'symbol defined but not used' warnings.
      2a274a1 pcm: Add support for S8 and S24LE formats.
      a5baefd tinymix: support setting of multiple control values
      
      Change-Id: I3d5fe076753ce7d1f74dd3ebedc59202d29f4efd
      da39e0b0
  28. 22 Aug, 2012 1 commit
    • Eric Laurent's avatar
      pcm: fix default capture start threshold · ff2e5429
      Eric Laurent authored
      Default start threshold was set to the same value (half of the buffer size)
      for playback and capture in pcm_open(). The normal default value for capture
      should be 1 frame.
      
      Change-Id: I05afd51ada3d915a6dde7c97846e1693f7c575f4
      ff2e5429
  29. 16 May, 2012 1 commit
    • Simon Wilson's avatar
      Update to latest tinyalsa · 85dc38f5
      Simon Wilson authored
      2581a1e add error check for pcm_start
      6a52f2c mixer: add missing include for sys/ioctl.h
      9eba533 tinyplay: add multichannel support
      fba29e6 tinycap: Fix byte_rate and block_align values
      
      Change-Id: Icbee0a8c1e101234ac55ba8494c74b442f215576
      85dc38f5
  30. 09 Apr, 2012 1 commit
  31. 04 Apr, 2012 1 commit
  32. 03 Apr, 2012 1 commit
    • John Grossman's avatar
      tinyalsa: Add PCM_NORESTART flag. · 673253ac
      John Grossman authored
      
      Add a flag which can be passed to pcm_open (called PCM_NORESTART).
      When set on a playback stream, calls to pcm_write will not
      automatically attempt to restart an ALSA device in the case of an
      underflow.  Instead, it will propagate the first EPIPE error up to the
      application to allow it to handle the underflow situation.  Subsequent
      calls to pcm_write will attempt to start the pipeline.
      
      Change-Id: If17973c6de9079c4227631bac9ff09b218377344
      Signed-off-by: default avatarJohn Grossman <johngro@google.com>
      673253ac