History log of /external/tinyalsa/pcm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
892d6a54971fa244570b504c2cf4f818f668a8d6 24-May-2014 Shiv Maliyappanahalli <smaliyap@codeaurora.org> pcm: add support for pcm_ioctl() api

Tinyalsa doesn't expose an api to call ioctls exposed by
the audio drivers. Add pcm_ioctl() api.

Bug: 18137488.

Change-Id: I6218580dbf4b2f31cb95d246ed79f0d2ac28b0b1
/external/tinyalsa/pcm.c
7a0b995d87f6b08d6370f36e48f056069d61aa12 31-Jan-2013 Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com> tinyalsa: add separate call for pcm prepare

Tinyalsa combines PREPARE and START calls to the driver in the pcm_start()
function. Typically, this is needed for making a driver allocating hardware
resources that are not related to a PCM stream.

Change-Id: Ic83fad784936bbebab28e8e425debd449182db88
Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Signed-off-by: David Wagner <david.wagner@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-Tracking-BZ: 73509
Signed-off-by: Glenn Kasten <gkasten@google.com>
Bug: 16191181
/external/tinyalsa/pcm.c
c6d37224e75b68a70a852fd78f88e38124d1781c 01-Apr-2014 Paul McLean <pmclean@google.com> Merge "Add pcm_params_set_min/max and update comments"
b25ece4c48ed459c83320343307d8c827ebe06a4 21-Mar-2014 Paul McLean <pmclean@google.com> Add pcm_params_set_min/max and update comments

Change-Id: I40040a7e94689dcf6bf9d0bf0d182f66b151d530
/external/tinyalsa/pcm.c
70530a69767a9a383c5bf546e6e803aac08a5a1e 27-Mar-2014 Andy Hung <hunga@google.com> Add pcm_params string conversion and format checking

Change-Id: I93415bd1a88ff0feaf14af3daf48e00dd1990176
Signed-off-by: Andy Hung <hunga@google.com>
/external/tinyalsa/pcm.c
a5b44d9bba0c5df52b37850bb929eb53817fb4a4 11-Mar-2014 Andy Hung <hunga@google.com> Update tinypcminfo to display format information

Change-Id: I0e6a04da5a4b122a3748b16c7eb01c4a224c3d84
Signed-off-by: Andy Hung <hunga@google.com>
/external/tinyalsa/pcm.c
d9837d0234c2b99267738607d7ca6100ba83bcc6 31-Jan-2014 Glenn Kasten <gkasten@google.com> Add support for 24-bit packed in 3 bytes

Change-Id: Idc977bba5f364d8a22fe9756edf9bd2859eb0441
/external/tinyalsa/pcm.c
c98da79067d89d934c4eb7de6a03e412eb421a5c 16-Sep-2013 Eric Laurent <elaurent@google.com> add support for mmap read

Change-Id: Ief5e043025332480307017295317a3d20d6d4d65
/external/tinyalsa/pcm.c
6b0a206624ebe78cc10dba7015438371d1506de5 23-Aug-2013 Glenn Kasten <gkasten@google.com> pcm_get_htimestamp can now use CLOCK_MONOTONIC

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
/external/tinyalsa/pcm.c
36ea2d824e5d8af550c139da9da20e73f82a9ae1 17-Jul-2013 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

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
/external/tinyalsa/pcm.c
42fc2d393c868d5db609e39551d64f1e60fefa0e 03-Dec-2012 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

f7f35cc Add tinypcminfo utility
4354488 pcm: add pcm_get_params API

Change-Id: I50e196bc299734b6e020bdcededa4f903ee5c5c2
/external/tinyalsa/pcm.c
da39e0b09eb0a1b559a96e2108160d1d8dccf314 10-Nov-2012 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

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
/external/tinyalsa/pcm.c
ff2e54293f32b5bb5ff75b4cb25babb00f429ca4 23-Aug-2012 Eric Laurent <elaurent@google.com> pcm: fix default capture start threshold

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
/external/tinyalsa/pcm.c
85dc38f5bee79c184260e8c665cc34143be12bd4 16-May-2012 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

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
/external/tinyalsa/pcm.c
b5c4960f058230669d953732ea9310e1e65c8eec 04-Apr-2012 John Grossman <johngro@google.com> am 673253ac: tinyalsa: Add PCM_NORESTART flag.

* commit '673253acf06838bb24d0b0b1a3962bed573855b8':
tinyalsa: Add PCM_NORESTART flag.
673253acf06838bb24d0b0b1a3962bed573855b8 04-Apr-2012 John Grossman <johngro@google.com> tinyalsa: Add PCM_NORESTART flag.

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: John Grossman <johngro@google.com>
/external/tinyalsa/pcm.c
daa83291944318d8face12c780dfb69ae96b0723 29-Feb-2012 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

a6dd4ab tinyplay: Use buffer size in bytes instead of frames
5f64fe7 pcm: Factor out pcm_start() from pcm_read()
6bbe77a pcm: Constify write buffers
9989fc2 tinycap, tinyplay, tinymix: Add extra parameters.
3e3376a tinycap, tinyplay: Check *argv before dereferencing.
80085d4 pcm: Fix integer size error.

Change-Id: I69a37c0a89e5531b9ab66a8b3f730765904ed9f7
/external/tinyalsa/pcm.c
1b32ddfd35e54b0a6ef1e43ca35dbc1547e5676a 30-Jan-2012 Eric Laurent <elaurent@google.com> Update to latest tinyalsa

3502113 pcm: fix pcm capture dropping samples

Change-Id: Icae0f32a39e58dda55a3b9a0094263ba781d65a7
/external/tinyalsa/pcm.c
8dd366f47258eeda07910a99b29ba681fe7464a7 17-Nov-2011 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

7db4858 pcm: more state checking in pcm_get_htimestamp()

Change-Id: I7329a869f1eea51c976824540afd3db47c3de21b
/external/tinyalsa/pcm.c
5aed71db7d87ba518b53e40c00dcaa0afbc2aceb 16-Nov-2011 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

ee9ba87 pcm: fix underrun detection
5251016 mixer: show BYTE controls
a912d70 include: fix header comments and arguments

Change-Id: I33386f64b65b55c337ceacbe62dc6d498a536378
/external/tinyalsa/pcm.c
73b9c679a656c7b0f5e265dae5a76664c7d03031 14-Oct-2011 Eric Laurent <elaurent@google.com> Add dynamic change of avail_min for mmap mode

Added support for setting avail_min when opening a stream as well
as dynamically changing its value whitout stopping playback when the
stream is opened in mmap and no irq mode.

Allow writing less than avail_min frames to pcm_mmap_write() without
systematically waiting for avail_min frames to be available.

Also fixed wait timeout for no irq mode in pcm_mmap_write().

Change-Id: Ief8e05dde8d538185174da9ef14e27a0a470057c
/external/tinyalsa/pcm.c
e9942c8b1fab1cea4836b5af2dd59a1bf0ad411d 13-Oct-2011 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

6be28f1 pcm: add mmap playback and no periodic IRQ support.
fa0697e tinyplay: fix segfault caused by missing device argument

Change-Id: I22cf8f01eba21e42b4fa43cc5fd9edd2826f44fa
/external/tinyalsa/pcm.c
c1239623c178f0142352c28a0f968d826afcb078 28-Jul-2011 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

3bb114a pcm: add control for ASLA thresholds to pcm_open
ee99f21 include: make it easier to use this header from C++
89b3128 Makefile: Don't error out of clean if already clean
a14dad9 tinymix: Say if we can't open the mixer
49900f0 Merge pull request #3 from broonie/noprelink
ea019ef Merge pull request #2 from broonie/add-include

Change-Id: I110de23af1f43d2cefb134204cb0439a7fd4c1d0
/external/tinyalsa/pcm.c
dd88f13d9b398c132e3358c62137ff2e23f321ab 25-Jul-2011 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa

40b018e pcm: add pcm_get_htimestamp() function
c8aedef tinycap: remove extra parameter from strcmp

Change-Id: Ic241e3b5e41e26cf6586d0489488c96fae692e0b
/external/tinyalsa/pcm.c
70d77088678cf120d37602c66580287914781aaa 24-Jun-2011 Simon Wilson <simonwilson@google.com> Update tinyalsa for pcm_start/stop() support

d6458e6 pcm: add pcm_start/stop() functions for streams

Change-Id: Iba1dd4e6adc0be68008b44978d55231c584e92c4
/external/tinyalsa/pcm.c
83b1d6de55ec69cde7a935d6ada0011669d88ed6 16-Jun-2011 Simon Wilson <simonwilson@google.com> Update to latest tinyalsa for 32_LE support

bc03b62 pcm: fix TODOs for 32 bit support

Change-Id: I9f4d83c808a664aed5cefae271e3ad7b5c522c99
/external/tinyalsa/pcm.c
edff708e3129d7d8e05bbdfb624af97a3264a332 07-Jun-2011 Simon Wilson <simonwilson@google.com> Initial version of tinyalsa

From git://github.com/tinyalsa/tinyalsa.git 193b1c3b

Change-Id: I8971581d4867bd785ac628638679d2c09c79169f
/external/tinyalsa/pcm.c