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

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


Branch: CURRENT, Version: 1.1.3, Package name: alsa-lib-1.1.3, 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: 8ef0b9725296ac8f24e06f20196f5b2b62ab27a9
RMD160: 36fb2c889411e23be1084a432d200d40fb70e920
Filesize: 939.454 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2016-06-03 17:45:44 by Jonathan Perkin | Files touched by this commit (3)
Log message:
Fix build on SunOS.
   2016-04-15 10:47:50 by Thomas Klausner | Files touched by this commit (43) | Package removed
Log message:
Update alsa-lib to 1.1.1.

I got many patches integrated upstream, still more to go.

Core

    Release v1.1.1
    Define some types if missing
    Define EBADFD in terms of EBADF if it doesn't exist.

Control API

    control: keep consistent usage of assertion
    control: initialize element channel values according to identification \ 
number at adding a new element
    control: fulfill a description about element type with integer64
    coverity fixes
    control: add missing asserts to ctl_elem_set functions

PCM API

    pcm: fix 'unable to create IPC shm instance' caused by fork from a thread
    Introduce bswap.h for portable definitions of byte swap macros.
    coverity fixes
    pcm_hw: fix possible memory leak (coverity)
    pcm: simple: Fix asserts

Sequencer API

    seq: Provide sequencer sound card number / PID via alsa-lib

Timer API

    Only use F_SETSIG fcntl where it exists.

Topology API

    topology: Add support for widget byte controls
    topology: add support for CTL access flags to config file
    topology: add support for pasring external ops in conf files
    topology: Add ops to bytes control.
    topology: Remove unnecessary includes
    topology: fix debug output to print correct "max" value.
    topology: Quit and show error message on big-endian machines
    topology: Not compare a for loop iterator with ABI __le32 variables
    topology: Fix comparison of unsigned expression < 0
    topology: Remove unused variables
    topology: Remove unused function write_data_block()
    topology: open topology files with O_TRUNC
    topology: Add missing include sys/stat.h

Use Case Manager API

    Use alphasort where versionsort is not available.

/include/Makefile.am

    Introduce bswap.h for portable definitions of byte swap macros.
    Define some types if missing

ALSA Server

    coverity fixes

Compatibility routines

    Add more compatibility defines.
    Introduce bswap.h for portable definitions of byte swap macros.
    Define some types if missing

Configuration

    Use alphasort where versionsort is not available.
    config files - do not include ucm/topology configuration when not requested

Kernel Headers

    seq: Provide sequencer sound card number / PID via alsa-lib
    Update include/sound/asequencer.h from 4.6-pre kernel uapi
    Update include/sound/asound.h from 4.6-pre kernel uapi
   2016-02-25 11:15:46 by Jonathan Perkin | Files touched by this commit (14)
Log message:
Use OPSYSVARS.