aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mixer: Add get_card_name() APIHEADmasterd-lollipop-releaseMisael Lopez Cruz2014-11-122-0/+38
| | | | | | | | Add mixer_get_card_name() so that clients can retrieve card's name based on its id. Change-Id: Ic29e5e8c8098c578aadb8e104c4cd48e0871afeb Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
* Add PCM_FORMAT_INVALID constantGlenn Kasten2014-07-151-0/+1
| | | | Change-Id: I3fe393dfd666431b8e926144f3781eaf753d9daf
* tinyalsa: add separate call for pcm prepareOmair Mohammed Abdullah2014-07-092-3/+25
| | | | | | | | | | | | | | | 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
* Merge "Add pcm_params_set_min/max and update comments"Paul McLean2014-04-012-10/+52
|\
| * Add pcm_params_set_min/max and update commentsPaul McLean2014-03-312-10/+52
| | | | | | | | Change-Id: I40040a7e94689dcf6bf9d0bf0d182f66b151d530
* | Merge "Add pcm_params string conversion and format checking"Andy Hung2014-03-272-1/+175
|\ \
| * | Add pcm_params string conversion and format checkingAndy Hung2014-03-262-1/+175
| |/ | | | | | | | | Change-Id: I93415bd1a88ff0feaf14af3daf48e00dd1990176 Signed-off-by: Andy Hung <hunga@google.com>
* | am 653e7a40: Merge "Revert "Update 64-bit blacklist for tinyalsa""Colin Cross2014-03-241-5/+0
|\ \ | |/ |/| | | | | * commit '653e7a4015341c87b4d55ec9a94ec7bdee044f6f': Revert "Update 64-bit blacklist for tinyalsa"
| * Merge "Revert "Update 64-bit blacklist for tinyalsa""Colin Cross2014-03-241-5/+0
| |\
| | * Revert "Update 64-bit blacklist for tinyalsa"Colin Cross2014-03-221-5/+0
| |/ | | | | | | | | | | | | | | This reverts commit 6f46701c6f43da1da1c963c3f1b943a9cc8fcabc. tinyalsa builds fine, and can be used outside mediaserver. Change-Id: Idc4624b58ca4da39ce81e2b6a6b333aa43bb70a1
* | Update tinypcminfo to display format informationAndy Hung2014-03-193-0/+142
| | | | | | | | | | Change-Id: I0e6a04da5a4b122a3748b16c7eb01c4a224c3d84 Signed-off-by: Andy Hung <hunga@google.com>
* | am e698fd4a: Merge "Update 64-bit blacklist for tinyalsa"Glenn Kasten2014-03-141-0/+5
|\| | | | | | | | | * commit 'e698fd4a6f8d3057d520c3a4aa4cb835005fefeb': Update 64-bit blacklist for tinyalsa
| * Merge "Update 64-bit blacklist for tinyalsa"Glenn Kasten2014-03-141-0/+5
| |\
| | * Update 64-bit blacklist for tinyalsaGlenn Kasten2014-03-101-0/+5
| |/ | | | | | | | | | | | | tinyalsa is for audio HALs, which are part of mediaserver, thus should be built 32-bit only Change-Id: Idb5d809fc924a21a2500b265c96f18a228ab2621
* | Merge "Add support for 24-bit packed in 3 bytes"Glenn Kasten2014-02-032-0/+5
|\ \
| * | Add support for 24-bit packed in 3 bytesGlenn Kasten2014-01-312-0/+5
| |/ | | | | | | Change-Id: Idc977bba5f364d8a22fe9756edf9bd2859eb0441
* | Fix build on Mac hostGlenn Kasten2014-02-031-0/+2
| | | | | | | | Change-Id: Ifdbcb702ef60c78ec25f8f40cb7f8bdc981b8f48
* | Build tinyplay for hostGlenn Kasten2014-01-311-0/+9
|/ | | | Change-Id: I6e4c00e50850fb3bdaa2df82186e494003b3226d
* add support for mmap readEric Laurent2013-09-172-7/+30
| | | | Change-Id: Ief5e043025332480307017295317a3d20d6d4d65
* pcm_get_htimestamp can now use CLOCK_MONOTONICGlenn Kasten2013-08-302-0/+14
| | | | | | | | | 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
* Update to latest tinyalsaSimon Wilson2013-07-174-16/+40
| | | | | | | | 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
* Update to latest tinyalsaSimon Wilson2013-06-283-7/+32
| | | | | | | ec28139 mixer: add mixer_get_name() API 710df88 mixer: add mixer_ctl_update() API Change-Id: I0cabe7e673a53f4358b5dbae4a17112eff5a2848
* Update to latest tinyalsaSimon Wilson2013-06-242-10/+44
| | | | | | 38f87f3 mixer: add get/set_array API Change-Id: Ib44636dcb92412e2a537928bae28add2627180e4
* Update to latest tinyalsaSimon Wilson2013-05-012-1/+53
| | | | | | | 5089567 tinycap: convert size from frames to bytes 7a12d9c tinyplay: Make error messages more meaningful Change-Id: Id906c3827123616bd698dd93f575137b9e78e49c
* Update to latest tinyalsaSimon Wilson2012-12-034-0/+276
| | | | | | | f7f35cc Add tinypcminfo utility 4354488 pcm: add pcm_get_params API Change-Id: I50e196bc299734b6e020bdcededa4f903ee5c5c2
* Update to latest tinyalsaSimon Wilson2012-11-096-40/+123
| | | | | | | | | | | | | | | | 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
* pcm: fix default capture start thresholdEric Laurent2012-08-221-4/+7
| | | | | | | | 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
* Update to latest tinyalsaSimon Wilson2012-05-154-27/+55
| | | | | | | | | 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
* Add module licenceSimon Wilson2012-04-092-0/+25
| | | | Change-Id: I90f37ae63ee164ff23afdc5e0e37dd4cd5fa7a73
* am 673253ac: tinyalsa: Add PCM_NORESTART flag.John Grossman2012-04-042-1/+14
|\ | | | | | | | | * commit '673253acf06838bb24d0b0b1a3962bed573855b8': tinyalsa: Add PCM_NORESTART flag.
| * tinyalsa: Add PCM_NORESTART flag.John Grossman2012-04-032-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | build tinyalsa for linux host, to use for CTS audioKeun young Park2012-03-261-0/+9
| | | | | | | | Change-Id: Iaa76cba7650892c1d675c47e9e2a9c9da4e7e0cb
* | Update to latest tinyalsaSimon Wilson2012-03-084-46/+20
| | | | | | | | | | | | | | | | 8fe2c93 mixer: remove redundant IOCTL_ELEM_READs b29ac1a mixer: simplify string get APIs 174d874 tinycap: add missing options to usage string Change-Id: Id91acf6a084dac3dd0d07966330e10ffc95618bd
* | Update to latest tinyalsaSimon Wilson2012-02-285-42/+96
| | | | | | | | | | | | | | | | | | | | | | 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
* | am cfd1b547: am 65eba62e: Reconcile with ics-mr1-releaseThe Android Open Source Project2012-02-010-0/+0
|\ \ | | | | | | | | | * commit 'cfd1b547fd10344c73f58dcf907d65315ed804d2':
| * \ am 65eba62e: Reconcile with ics-mr1-releaseThe Android Open Source Project2012-02-010-0/+0
| |\ \ | | | | | | | | | | | | * commit '65eba62ea5edf2bd9a8b711f4ccac07e0c61ceff':
| | * \ Reconcile with ics-mr1-releaseThe Android Open Source Project2012-02-010-0/+0
| | |\ \ | | | |/ | | |/| | | | | Change-Id: I35a0a0f15feed2406d60d77de84f0c4d13f0fb9e
* | | | am ec6745d7: Reconcile with ics-mr1-releaseThe Android Open Source Project2012-02-010-0/+0
|\| | | | | | | | | | | | | | | * commit 'ec6745d7b8d42d6687bcf54ccf430ad32f2a6bb6':
| * | | Reconcile with ics-mr1-releaseThe Android Open Source Project2012-02-010-0/+0
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: I09f1d86686b740117c90729a0dbef8fe2b1e20e5
| | * | merge in ics-mr1-release history after reset to ics-mr1The Android Automerger2012-01-310-0/+0
| | |\ \
| | | * \ merge in ics-mr1-release history after reset to ics-mr1The Android Automerger2012-01-310-0/+0
| | | |\ \ | | | |/ / | | |/| |
* | | | | am 96d14980: Reconcile with ics-mr1-releaseThe Android Open Source Project2012-01-300-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit '96d1498016bea5baf3eff8d46ce09df444511430':
| * | | | Reconcile with ics-mr1-releaseThe Android Open Source Project2012-01-300-0/+0
| |\| | | | | | | | | | | | | | | | | | Change-Id: I4dcc6c5eae53d80c8627d155cdb762e973c4ce48
| | * | | merge in ics-mr1-release history after reset to ics-mr1The Android Automerger2012-01-300-0/+0
| | |\| | | | | |/ | | |/|
* | | | am 0e080749: am 1b32ddfd: Update to latest tinyalsaEric Laurent2012-01-301-3/+8
|\| | | | | | | | | | | | | | | | | | | * commit '0e080749c080aedd2a20c07ba29ac58187c7f532': Update to latest tinyalsa
| * | | am 1b32ddfd: Update to latest tinyalsaEric Laurent2012-01-301-3/+8
| |\| | | | | | | | | | | | | | | | | | * commit '1b32ddfd35e54b0a6ef1e43ca35dbc1547e5676a': Update to latest tinyalsa
| | * | Update to latest tinyalsaEric Laurent2012-01-301-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | 3502113 pcm: fix pcm capture dropping samples Change-Id: Icae0f32a39e58dda55a3b9a0094263ba781d65a7
* | | | Document avail_minGlenn Kasten2012-01-201-0/+5
| | | | | | | | | | | | | | | | Change-Id: If5e7d892a1d78d83602a6bce57f8b466fa54dbd6
* | | | am 25bc6521: Reconcile with ics-mr1-releaseThe Android Open Source Project2011-12-090-0/+0
|\| | | | | | | | | | | | | | | * commit '25bc6521d0f0753251c4be84dd395c6cbebc83cb':
| * | | Reconcile with ics-mr1-releaseThe Android Open Source Project2011-12-080-0/+0
| |\ \ \ | | |/ / | |/| / | | |/ Change-Id: I4a3249fa2e8578bc33f5f01d221ab529e580fe97