Subject: CVS commit: pkgsrc/audio/alsa-lib
From: Thomas Klausner
Date: 2017-02-22 15:48:09
Message id: 20170222144809.3DC19FBE4@cvs.NetBSD.org

Log Message:
Updated alsa-lib to 1.1.3.

Changelog between 1.1.2 and 1.1.3 releases

alsa-lib

Core

    Release v1.1.3
    conf/ucm: skylake: add skylake-rt286 conf files
    conf: bxtrt298: Add topology conf file for bxt
    conf: sklrt286: Remove tool to generate private data blobs
    ucm: Add ucm files for DB410c board.

Control API

    ctl: correct documentation about TLV feature
    ctl: improve documentation about TLV-related APIs
    ctl: improve API documentation for TLV operation

Mixer API

    mixer: Fix rounding mode documentation

PCM API

    pcm: fix get_stop_threshold alsa-lib 0.9 alias
    pcm: file: update linked hw_ptr and appl_ptr
    pcm_rate: Do not discard slave reported delay in status result.
    pcm: fix wrong document references to PCM APIs which perform direct memory \ 
access with frame copying
    pcm: dmix: Do not discard slave reported delay in status result
    pcm: Add the PCM state checks to plugins
    Revert "pcm: file: Add htimestamp operation in plugin file"
    pcm: file: Add htimestamp operation in plugin file
    pcm: dshare: Fix endless playback of buffer
    pcm: direct: Protect from freeing semaphore when already in use
    pcm_dshare: Do not discard slave reported delay in status result.
    pcm_plug: Clear plugins on all error conditions
    pcm: Better understandable locking code
    pcm: Fix shm initialization race-condition

Topology API

    topology: fix unused-variable warnings introduced to build_link()
    topology: Store number of strings of a text section
    topology: Merge private data before embedded controls of a widget
    topology: Revise document and comments for ABI v5
    topology: Export physical DAIs to the binary for kernel
    topology: Support configuring physical DAIs by C API
    topology: Parse physical DAIs in text conf file
    topology: Remove BE or CC in comments of physical links C API template
    topology: Parse name and stream name of physical DAI links
    topology: Parse and build private data of physical links
    topology: Parse link flags of physical DAI links
    topology: Parse HW configurations of physical DAI links in text conf file
    topology: Parse HW configurations of physical DAI links defined by C API
    topology: Define new type and section name to configure physical links
    topology: Rename varaibles for add physical links by C API
    topology: Define a function to build a single physical DAI link
    topology: Merge an element's be & cc pointer to one link pointer
    topology: Use snd_config_get_bool to simplify boolean flag parsing
    topology: tplg_elem_lookup() checks parameter before searching
    topology: Parse and build private data for PCM
    topology: Define a function to build a single PCM element
    topology: Parse flags for PCM
    topology: Parse sig_bits of stream caps
    topology: Add doc for including other files in the text conf file
    topology: Fix missing stream name of widgets in text conf file

Use Case Manager API

    ucm: Execute sequence of component devices
    ucm: Parse sequence of component devices
    ucm: Skip component directories when scanning sound card configuration files
    ucm: docs: typeset lists of identifiers explicitly
    ucm: fix crash when calling snd_use_case_geti() with no device or modifier

Configuration

    conf: don't install smixer.conf when python is not available
    topology: Update physical link configurations in Broadwell text conf file
    conf: Search included files under user specified configuration directories
    conf/ucm: skylake: add skylake-rt286 conf files
    conf: bxtrt298: Add topology conf file for bxt
    conf: sklrt286: Remove tool to generate private data blobs
    conf: sklrt286: define module private data through tuples in skylake
    ucm: Add ucm files for DB410c board.

Kernel Headers

    topology: ABI - Add voice wake up flag for DAI links
    topology: ABI - Define new types for physical DAI
    topology: ABI - Update manifest and pump ABI version to 5
    topology: ABI - Update physical DAI link configurations to ABI v5
    topology: ABI - Define DAI physical PCM data formats
    topology: ABI - Update stream caps and PCM objects to ABI v5
    Update include/sound/tlv.h from 4.9-pre kernel uapi

Simple Abstraction Mixer Modules

    mixer: Don't install smixer modules unless python is enabled

Test/Example code

    test: use actual information for TLV operation

Changelog between 1.1.1 and 1.1.2 releases

alsa-lib

Core

    Release v1.1.2
    pcm: Remove home brew atomic operations
    pcm: Add thread-safety to PCM API
    conf/ucm: chtrt5645: Add UCM config for chtrt5645
    conf/ucm: ROCKCHIP-I2S: rename to VEYRON-I2S
    conf/ucm: ROCKCHIP-I2S: add Rockchip I2S UCM config.
    conf: topology: Generate Private data binary blobs
    conf: topology: Add Skylake i2s conf

Config API

    conf: Add thread-safe global tree reference

Control API

    ctl: use condition statements instead of assert() for new APIs to add an \ 
element set
    ctl: rename APIs to add an element set so that their names are appropriate
    ctl: add compatibility information for snd_ctl_elem_info_set_dimension()
    hctl: remove assertion from element event handler because removal event \ 
overwrites all of queued events
    ctl: improve documentation of APIs to add an element set
    ctl: add dimension validator
    ctl: add an API to set dimension levels to element information
    ctl: support extra information to user-defined element set
    ctl: use consistent name for second argument of snd_ctl_elem_read/write
    ctl: use automatic variable instead of call of alloca(3)
    ctl: fix returning zero for dimension level 4
    ctl: improve API documentation for threshold level operations
    ctl: add explanation about threshold level feature
    ctl: change former APIs as wrapper functions of element set APIs
    ctl: improve comments for API to add an element of IEC958 type
    ctl: add functions to add an element set
    ctl: improve comments for handling element data
    ctl: add an overview for design of ALSA control interface
    conf: Add thread-safe global tree reference
    namehint: Don't enumerate as duplex if only a single direction is defined

HWDEP API

    conf: Add thread-safe global tree reference

Mixer API

    mixer: remove alloca() from simple_event_add()
    mixer: change code formatting for simple_event_add()
    mixer: remove alloca() from simple_add1()
    mixer: change code formatting for simple_add1()
    mixer: remove alloca() from set_enum_item_ops()
    mixer: remove alloca() from get_enum_item_ops()
    mixer: remove alloca() from enum_item_name_ops()
    mixer: remove alloca() from init_db_range()
    mixer: change code formatting for init_db_range()
    mixer: remove alloca() from selem_write_main()
    mixer: change code formatting for selem_write_main()
    mixer: remove alloca() from elem_write_route()
    mixer: change code formatting for elem_write_route()
    mixer: remove alloca() from elem_write_enum()
    mixer: change code formatting for elem_write_enum()
    mixer: remove alloca() from elem_write_switch_constant()
    mixer: remove alloca() from elem_write_switch()
    mixer: change code formatting for elem_write_switch()
    mixer: remove alloca() from elem_write_volume()
    mixer: change code formatting for elem_write_volume()
    mixer: remove alloca() from selem_read()
    mixer: change code formatting for selem_read()
    mixer: remove alloca() from elem_read_enum()
    mixer: change code formatting for elem_read_enum()
    mixer: remove alloca() from elem_read_route()
    mixer: change code formatting for elem_read_route()
    mixer: remove alloca() from elem_read_volume()
    mixer: change code formatting for elem_read_volume()
    mixer: include library local header to find layout of structures

PCM API

    ctl: rename APIs to add an element set so that their names are appropriate
    pcm: remove alloca() from _snd_pcm_softvol_open()
    pcm: change code formatting for _snd_pcm_softvol_open()
    pcm: remove alloca() from softvol_load_control()
    pcm: change code formatting for softvol_load_control()
    pcm: remove alloca() from snd_spcm_init_duplex()
    pcm: remove alloca() from snd_spcm_init()
    pcm: remove alloca() from snd_pcm_hw_set_chmap()
    pcm: remove alloca() from snd_pcm_hw_get_chmap()
    pcm: remove alloca() from snd_pcm_query_chmaps_from_hw()
    pcm: remove alloca() from snd_pcm_hw_change_timer()
    pcm: change code formatting for snd_pcm_hw_change_timer()
    pcm: remove alloca() from _snd_pcm_hook_ctl_elems_install()
    pcm: remove alloca() from snd_pcm_direct_set_timer_params
    pcm: change code formatting for snd_pcm_direct_set_timer_params()
    pcm: remove alloca() from snd_pcm_direct_initialize_poll_fd()
    pcm: change code formatting for snd_pcm_direct_initialize_poll_fd()
    pcm: remove alloca() from snd_pcm_direct_initialize_slave
    pcm: change code formatting for snd_pcm_direct_initialize_slave()
    pcm: remove alloca() from snd_pcm_get_params
    pcm: change code formatting for snd_pcm_get_params()
    pcm: remove alloca() from snd_pcm_set_params()
    pcm: change code formatting for snd_pcm_set_params()
    pcm: fix return value of snd_pcm_ioplug_sw_params()
    pcm: fix missing return value of snd_pcm_status()
    pcm: Add LIBASOUND_THREAD_SAFE env variable check
    pcm: Remove home brew atomic operations
    pcm: Add thread-safety to PCM API
    pcm: add 'default' case for switch statement
    pcm: set error code at failure path
    pcm: Remove superfluous rmb() from PCM meter plugin
    ctl: support extra information to user-defined element set
    pcm: use new APIs to add a control element set for softvol plugin
    pcm: dmix: Return error when slave is in OPEN or DISCONNECTED
    pcm: dmix: Prepare slave when it's in SETUP, too
    pcm: dmix: resume workaround for buggy driver
    pcm: Fix secondary retry in dsnoop and dshare
    pcm: Remove resume support from dmix & co
    conf: Add thread-safe global tree reference
    pcm: dmix: Fix doubly resume of slave PCM
    pcm: Fix suspend/resume regression with dmix & co
    pcm: softvol: fix conversion of TLVs min_db and max_dB value
    pcm: Fallback open as the first instance for dmix & co
    pcm: Clean up error paths in snd_pcm_plugin_*() helpers
    pcm_plugin: fix appl pointer not correct when mmap_commit() return error

RawMidi API

    conf: Add thread-safe global tree reference

Topology API

    topology: Fix the missing referenced elem ptr when merging private data
    topology: Fix inaccurate message on failure to find a widgets's reference
    topology: Check address and length before string copy
    topology: Add ATTRIBUTE_UNUSED for unused parameters to fix compiler warning
    topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER
    topology: Tuple type can have an extenstion
    topology: Parse vendor private data for manifest
    topology: Change uuid value to 16 separate characters in text conf file
    topology: Merge lookup for data reference into tplg_copy_data()
    topology: An element can refer to multipe data sections in text conf file
    topology: initialize variable for error output
    topology: apply the same type to compared two variables
    topology: remove unused variable in get_tokens()
    topology: remove unused variable in tplg_parse_fe_dai()
    topology: Parse front-end DAI name and ID for the PCM
    topology: Fix pcm ID & name parsing
    topology: Use generic pointer to realloc buffer for private data
    topology: Refactor functions to parse and build streams
    topology: Set manifest size for ABI
    topology: Build data objects with tuples
    topology: Add support for parsing vendor tuples
    topology: Add support for vendor tokens
    topology: Add doc for vendor tuples
    topology: Define a free handler for the element
    topology: Use the generic pointer to free an element's object

Use Case Manager API

    ucm: add cset-tlv

/include/Makefile.am

    pcm: Remove home brew atomic operations

ALSA Lisp

    alisp: remove alloca() from FA_pcm_info()
    alisp: remove alloca() from FA_hctl_elem_write()
    alisp: remo: remove alloca() from FA_card_info()

Async helpers

    async: Handle previously installed signal handler

Configuration

    Makefile: fix sklrt286 dist files
    conf: remove alloca() from snd_func_private_pcm_subdevice()
    conf: remove alloca()y_class()
    conf: remove alloca() from snd_func_pcm_id()
    conf: remove alloca() from snd_func_card_name()
    conf: remove alloca() from snd_func_card_id()
    conf: remove alloca() from snd_determine_driver()
    conf/ucm: chtrt5645: Add UCM cote PCM configurations in Broadwell text conf file
    conf: topology: Generate Private data binary blobs
    conf: topology: Add Skylake i2s conf

Documentation

    pcm: Add thread-safety to PCM API
    doxygen: Suppress timestamp
    INSTALL: updat
    topology: ABI - Define types for vendor tuples

Simple Abstraction Mixer Modules

    mixer: remove assignment to unused variable

Test/Example code

    ctl: rename APIs to add an element set so that their names are appropriate
    test: add linkpport dimension test for user-defined element set
    ctl: optimize a test for user-defined element set to changes of APIs
    ctl: optimize a test for user-defined element set to older kernels
    ctl: add test program for control element set

Files:
RevisionActionfile
1.20modifypkgsrc/audio/alsa-lib/Makefile
1.6modifypkgsrc/audio/alsa-lib/PLIST
1.24modifypkgsrc/audio/alsa-lib/distinfo
1.5modifypkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h
1.1addpkgsrc/audio/alsa-lib/patches/patch-include_type__compat.h