./audio/alsa-lib, Advanced Linux Sound Architecture (ALSA)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.4.1, Package name: alsa-lib-1.1.4.1, Maintainer: pkgsrc-users

The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system. ALSA has the following
significant features:

* Efficient support for all types of audio interfaces, from consumer sound
cards to professional multichannel audio interfaces.
* Fully modularized sound drivers.
* SMP and thread-safe design.
* User space library (alsa-lib) to simplify application programming and
provide higher level functionality.
* Support for the older Open Sound System (OSS) API, providing binary
compatibility for most OSS programs.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 628634afbdc19054fca26d714aa6c2f1e41e465d
RMD160: 703e99f22a6b399fe32419a2ccc95b9b6292db10
Filesize: 951.742 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-27 17:51:39 by Jonathan Perkin | Files touched by this commit (2)
Log message:
Fix build on SunOS (no dirent->d_type).
   2017-06-19 22:46:31 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated alsa-lib to 1.1.4.1.

Core

    Release v1.1.4.1
    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE

PCM API

    pcm: dmix: Fix the inconsistent PCM state
    pcm: dshare: Call snd_pcm_dshare_state() directly
    pcm: dmix: Workaround for binary incompatibility
    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE
    build: Define __USE_UNIX98 for old glibc

Configuration

    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE

Test/Example code

    test: add a test for list operation to user-defined element sets
   2017-05-29 14:42:25 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message:
Updated alsa-lib to 1.1.4.

Core

    Release v1.1.4
    Drop ppc64-specific workaround for versioned symbols
    conf/ucm: broxton: add broxton-rt298 conf files

Config API

    conf: Allow dynamic top-level config directory

HWDEP API

    hwdep: add support for MOTU FireWire series and RME Fireface series
    hwdep: add Line6 USB series support

Mixer API

    conf: Allow dynamic top-level config directory

PCM API

    ALSA: pcm: Use recursive mutex
    pcm: dmix: Disable var_periodsize as default
    pcm:plugin: Fix sound capture via MMAP access
    plugin:dshare: wrong state reporting
    pcm:file: delegate htimestamping to slave instead of always getting \ 
real_htimestamp
    pcm:plug: save converter config
    dmix plugin: drain - quickfix for the previous patch
    dmix plugin: fix drain for nonblock mode
    pcm file plugin: handle snd_pcm_mmap_begin() error path in \ 
snd_pcm_file_mmap_commit()
    always handle return value from snd_config_get_id() (coverity)
    pcm_plugin: unify the snd_pcm_mmap_begin result value checking
    pcm: rate: Add capability to pass configuration node to plugins
    pcm: extplug: refinement of masks in extplug
    pcm: status dump fix timestamp formatting
    pcm: file: Enable file writing for capture path
    pcm: direct: fix race on clearing timer events
    pcm: dmix_rewind corrupts application pointer fix
    pcm: dmix: Allow disabling x86 optimizations
    pcm: Disable locking in async mode
    pcm: Avoid lock for snd_pcm_nonblock()
    pcm: multi: Drop the fixed slave_map[] in snd_pcm_multi_open()
    pcm: direct: Fix deadlock in poll_descriptors
    pcm: direct: don't return bogus buffer levels in xrun state
    pcm: direct: check state before enter poll on timer
    pcm: direct: Fix for sync issue on xrun recover
    pcm: direct: returning semop error code for semaphore up/down failures
    rate: dynamic update avail_min on slave
    plugin: dynamically update avail_min on slave
    pcm: rate: fix the hw_ptr update until the boundary available
    pcm: dshare: enable silence
    pcm: direct: allow users to configure different period sizes

RawMidi API

    rawmidi: virtual: fix reading into a small buffer

Sequencer API

    seq: improve documentation about new get pid/card functions

Timer API

    timer: obsolete legacy rtctimer instance

Topology API

    topology: Fix issue in parsing routes when generating topology binary
    conf: Allow dynamic top-level config directory
    topology: Allow a data section to contain multiple tuples objects
    topology: Group elements with the same index value into a block
    topology: Look up references for an object based on its index
    topology: Remove code parsing index value in paring each object
    topology: Insert new element based on its index value
    topology: coverity - remove dead code
    always handle return value from snd_config_get_id() (coverity)
    topology: Fix incorrect license in source comments.
    topology: fix unused-const-variable warning

Use Case Manager API

    ucm parser: fix possible string overflow in uc_mgr_import_master_config()
    ucm: Add command 'get _file' to get the config file name of the opened card
    ucm: Load device-specific configuration file based on the card long name
    ucm: Assure the user input card name not to exceed max size of card long name
    ucm: parser needs limits.h
    ucm: Add ATTRIBUTE_UNUSED for unused parameters of execute_component_seq()

ALSA Lisp

    conf: Allow dynamic top-level config directory

Configuration

    conf: topology: Fix index mismatch for skl and bxt
    conf: Allow dynamic top-level config directory
    conf: Remove dmix.direct_memory_access setup
    conf/cards: add VC4-HDMI card
    pcm: dmix: Allow disabling x86 optimizations
    conf: Add card config for Intel HDMI/DP LPE audio
    conf/cards: add support for pistachio-card.
    conf/ucm: broxton: add broxton-rt298 conf files

External Rate Converter Plugin SDK

    pcm: rate: Add capability to pass configuration node to plugins

Kernel Headers

    hwdep: add support for MOTU FireWire series and RME Fireface series
    hwdep: add Line6 USB series support
    timer: obsolete legacy rtctimer instance update to libtool 1.3.3
   2017-03-28 11:10:57 by Jonathan Perkin | Files touched by this commit (2)
Log message:
Include limits.h for PATH_MAX on SunOS.
   2017-02-23 08:54:08 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Remove obsolete patch (after 1.1.3 update)
   2017-02-22 15:48:09 by Thomas Klausner | Files touched by this commit (5) | Package updated
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
   2017-01-17 16:21:06 by Thomas Klausner | Files touched by this commit (2)
Log message:
Include sys/time.h for struct timespec (build fix for NetBSD-7.99.59)
   2016-12-03 21:14:05 by Sebastian Wiedenroth | Files touched by this commit (1)
Log message:
fix int types on SunOS