Commits on Jun 26, 2016
  1. @tholberton

    Merge pull request #77 from bzhg/master

    mixer: check for overflow and NULL return
    tholberton committed on GitHub Jun 26, 2016
Commits on Apr 23, 2016
  1. @bzhg

    mixer: check for overflow and NULL return

    Signed-off-by: Ben Zhang <benzh@google.com>
    bzhg committed Apr 22, 2016
Commits on Feb 14, 2016
  1. Merge pull request #70 from virajkarandikar/master

    tinycap: add capture time parameter
    committed Feb 14, 2016
  2. Merge pull request #73 from ford-prefect/master

    build: Redo Makefile a bit
    committed Feb 14, 2016
  3. Merge pull request #72 from frgm/cppcheck

    fix some cppcheck warnings
    committed Feb 14, 2016
Commits on Jan 28, 2016
  1. @ford-prefect @ford-prefect

    build: Redo Makefile a bit

    A few changes:
    
     * Don't hardcode 'gcc' and use $(CC) instead
     * Split off CFLAGS/LDFLAGS so we can pick them up from the environment
     * Add a static library build
    ford-prefect committed with ford-prefect Jan 28, 2016
Commits on Jan 24, 2016
  1. @frgm
  2. @frgm
Commits on Jan 22, 2016
  1. @virajkarandikar

    tinycap: add capture time parameter

    Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
    virajkarandikar committed Jan 22, 2016
Commits on Jan 9, 2016
  1. Merge pull request #69 from JaydeepDhole/master

    Added raw file support in tinyplay
    committed Jan 9, 2016
  2. tinymix: don't get byte array if size is zero

    Fixes an error if the number of bytes available is zero.
    
    Also remove unused len variable.
    committed Jan 9, 2016
Commits on Dec 18, 2015
  1. @JaydeepDhole

    Added raw file support in tinyplay

     -Added raw file support in tinyplay to play PCM raw files
    
    Signed-off-by: Jaydeep Dhole <jaydeepdhole@gmail.com>
    JaydeepDhole committed Dec 18, 2015
Commits on Oct 20, 2015
  1. Merge pull request #64 from rofl0r/timespec_fix

    asound.h: include <time.h> to get struct timespec prototype
    committed Oct 20, 2015
  2. Merge pull request #53 from rfvirgil/remove_info_list

    mixer: remove separate info list
    committed Oct 20, 2015
  3. @rfvirgil

    mixer: remove separate info list

    Each mixer_ctl has an associated snd_ctl_elem_info, which was
    kept in a separate array with pointers from the mixer_ctl to
    its corresponding snd_ctl_elem_info. This means double
    pointer dereferences when looking up the info. It also means
    extra work to add support for extending the arrays to include
    dynamically added controls because the pointers from the ctl
    array to the info array would have to be updated.
    
    This patch removes the info list and gives each mixer_ctl struct
    its own local snd_ctl_elem_info, removing the additional pointer
    dereferencing.
    
    Change-Id: I03f7d411afd9e37f58b984584712fee64d85ef4e
    Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
    rfvirgil committed Sep 9, 2014
Commits on Oct 12, 2015
  1. @rofl0r

    asound.h: include <time.h> to get struct timespec prototype

    without including it, we get
    In file included from mixer.c:44:0:
    include/sound/asound.h:337:18: error: field 'trigger_tstamp' has incomplete type
    include/sound/asound.h:338:18: error: field 'tstamp' has incomplete type
    etc.
    rofl0r committed Oct 12, 2015
Commits on Sep 15, 2015
  1. Merge pull request #48 from vinodkoul/wait_delay

    Wait delay
    committed Sep 15, 2015
  2. Merge pull request #60 from JaydeepDhole/Added_tinywavinfo_utility

    Added tinywavinfo utility
    committed Sep 15, 2015
  3. Merge pull request #52 from rfvirgil/get_id

    mixer: Add mixer_ctl_get_id
    committed Sep 15, 2015
  4. Merge pull request #37 from StevenNAN/patch-1

    avail issue
    committed Sep 15, 2015
  5. Merge pull request #62 from gkasten/pcm_config_zero

    initialize pcm_config to zero
    committed Sep 15, 2015
Commits on Sep 2, 2015
  1. initialize pcm_config to zero

    sw_params ioctl() is failing with 'invalid parameter' error
    since pointer to pcm_config passed from tinyplay is not zero
    initialized, hence invalid values are passed for some
    parameters.
    
    authored-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
    
    Bug: 23525433
    Change-Id: I841f29c82ec3fb7646ad8c47fca25963b5f77945
    Haynes Mathew George committed with Glenn Kasten Aug 25, 2015
Commits on Aug 31, 2015
  1. Merge pull request #61 from tpetazzoni/gcc5-fix

    tinypcminfo: make function pcm_get_format_name() static
    committed Aug 30, 2015
Commits on Aug 26, 2015
  1. @tpetazzoni

    tinypcminfo: make function pcm_get_format_name() static

    When building tinyalsa with gcc 5.x, the following warnings appear:
    
    tinypcminfo.c:97:52: warning: 'format_lookup' is static but used in inline function 'pcm_get_format_name' which is not static
         return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
                                                        ^
    tinypcminfo.c:97:35: warning: 'format_lookup' is static but used in inline function 'pcm_get_format_name' which is not static
         return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
    
    And the build fails with:
    
    tinypcminfo.o: In function `main':
    tinypcminfo.c:(.text+0x2f0): undefined reference to `pcm_get_format_name'
    collect2: error: ld returned 1 exit status
    
    To fix this, this patch marks the pcm_get_format_name() as static,
    since it's anyway only used in tinypcminfo.c.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    tpetazzoni committed Aug 26, 2015
Commits on Aug 7, 2015
  1. @JaydeepDhole

    Added tinywavinfo utility

    -This utility displays average power of each channel in the wave file.
    -This utility quickly checks the audio input path is up or not by analysing wav file captured by tinycap
    
    Signed-off-by: Jaydeep Dhole <jaydeepdhole@gmail.com>
    JaydeepDhole committed Jul 15, 2015
Commits on May 21, 2015
  1. Merge pull request #58 from vinodkoul/tlv_support2

    Tlv support2
    committed May 21, 2015
Commits on May 4, 2015
  1. @vinodkoul

    tinymix: Remove the unused parameter from tinymix_set_byte_ctl()

    The control pointer is not used in the tinymix_set_byte_ctl(),
    hence removing it.
    
    Signed-off-by: Samreen Nilofer <samreen.nilofer@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Samreen Nilofer committed with vinodkoul Apr 2, 2015
  2. @vinodkoul

    tinymix: Support more that 512 bytes in byte control

    The set/get byte control support more than 512 bytes.
    This is utilized by tlv type controls.
    
    Signed-off-by: Samreen Nilofer <samreen.nilofer@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Samreen Nilofer committed with vinodkoul Apr 2, 2015
  3. @vinodkoul

    mixer: add support for TLV based byte controls

    Add tinyasla support for bytes controls with TLV type
    
    Signed-off-by: Mythri P K <mythri.p.k@intel.com>
    Signed-off-by: Samreen Nilofer <samreen.nilofer@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    Mythri P K committed with vinodkoul Aug 18, 2014
Commits on Sep 9, 2014
  1. @rfvirgil

    mixer: Add mixer_ctl_get_id

    Add a function to get an id of a control that can be
    passed to mixer_get_ctl(). This can be used to lookup
    a control by name and store its id for later use rather
    than have the overhead of name lookup each time it is
    used. Lookup by id is quick and avoids the disadvantage
    that storing a pointer to the mixer_ctl object creates
    a client with a dependency on the address of the internal
    control array.
    
    Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
    rfvirgil committed Sep 9, 2014
Commits on Sep 4, 2014
  1. Merge pull request #50 from charleskeepax/master

    Revert "mixer: Control input value in mixer_ctl_set_value"
    committed Sep 4, 2014
  2. Merge pull request #49 from vinodkoul/fixes

    Allow setting of single byte control and make error from percent_to_int more consistent.
    committed Sep 4, 2014
Commits on Aug 18, 2014
  1. Revert "mixer: Control input value in mixer_ctl_set_value"

    This reverts commit 0e07647.
    
    This commit disables reporting of an error when somebody requests an out
    of range value from a control which seems like a bad goal to start with,
    if something invalid is requested we should return an error not set
    things to the nearest valid state.
    
    Secondly since mixer_ctl_get_range_max returns an error for all control
    types except TYPE_INTEGER, all controls that are not integers will be
    set to -EINVAL with this patch included.
    
    Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
    Charles Keepax committed Aug 18, 2014
Commits on Aug 12, 2014
  1. @dawagner @vinodkoul

    tinyalsa: add pcm_get_subdevice()

    The users of tinyalsa had no way of knowing on which subdevice a stream had
    been created.  A new API, "unsigned int pcm_get_subdevice(struct *pcm)" returns
    it.  This information is filled during the pcm_open()
    
    Change-Id: Ie866e10e06ce6691ede09e2ca46a24441723ea8b
    Signed-off-by: David Wagner <david.wagner@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    dawagner committed with vinodkoul Apr 2, 2014
  2. @hardikshah1982 @vinodkoul

    Tinyalsa: add pcm_delay()

    ALSA supports reporting of pcm_delay, make that availble to the users of
    tinyalsa too
    
    Change-Id: Ic460f5c55137d263fdf7b142503d3bd52c4b7ebd
    Signed-off-by: Hardik T Shah <hardik.t.shah@intel.com>
    Signed-off-by: Apelete Seketeli <apeletex.seketeli@intel.com>
    Signed-off-by: Vinod Koul <vinod.koul@intel.com>
    hardikshah1982 committed with vinodkoul Apr 10, 2014