Subject: CVS commit: pkgsrc/audio/alsa-lib
From: Thomas Klausner
Date: 2022-07-15 23:17:25
Message id: 20220715211726.0DBFCFB1A@cvs.NetBSD.org

Log Message:
alsa-lib: update to 1.2.7.2.

1.2.7.2

 Core

    Release v1.2.7.2

Mixer API

    mixer: add documentation about postcondition of removal event processing

PCM API

    pcm: share plugin: handle -EINTR
    pcm: share plugin: return error if socket read or write call fails

RawMidi API

    rawmidi: fix the params_mode check condition in snd_rawmidi_tread()

Use Case Manager API

    ucm: fix st_mode check for symbolic links

Kernel Headers

    include/sound/type_compat.h: fix include guard

1.2.7.1

 Core

    Release v1.2.7.1
    conf: Use ino64_t to save and compare inode numbers

Control API

    control: eld - fix the decoding for older hw

I/O API

    output: include stdarg.h

PCM API

    pcm: dmix - Add error handler for `fgets`

Use Case Manager API

    ucm: list also hardware configs (hw:X) in uc_mgr_scan_master_configs() fcn

Configuration

    conf: Use ino64_t to save and compare inode numbers

1.2.7

 Core

    Release v1.2.7
    configure: remove --with-lfs option, but keep the autodetection code
    configure: add --with-lfs option
    gitcompile: fix 32 bit compilation support
    remove .travis.yml (using github actions)
    github actions: move to checkout@v3
    conf: fix the export of safe_strto* functions from libasound

Config API

    ucm: add ${evali:} substitution

Control API

    control: eld - add missing ctype.h header inclusion
    control: shm - initialize write buffer
    control: decode HDMI device name from ELD

PCM API

    pcm: hw: change rate range syntax
    pcm: hw: add "min_rate" and "max_rate" as alternatives \ 
to single "rate" parameter
    pcm: rate - rewrite the may_wait_for_avail_min callback for the rate plugin
    pcm: plugin - fix avail_min calculation on rate plugin
    pcm: dmix: fix wrong scaling in 32bits pcm mixing
    pcm: ladspa - Use LFS calls (readdir64)
    pcm: fix for the unitialized write buffer
    control: decode HDMI device name from ELD
    pcm: multi: return correct hwptr and avail from snd_pcm_multi_status()
    pcm: direct - allow 'off' string for hw_ptr_alignment
    pcm: direct - cleanups for snd_pcm_direct_reset_slave_ptr()
    pcm: direct - add support for channel bindings in snd_pcm_direct_query_chmaps()
    pcm: direct: Check xrun/suspend before the slave hwptr update
    pcm: direct: Move slave PCM state checks into XRUN check helper
    pcm: direct: Improved suspend/resume support
    pcm: direct: Propagate error code from snd_pcm_direct_client_chk_xrun()
    pcm: rate: fix drain of partial period at end of buffer

Topology API

    src/topology/parser.c: drop duplicate safe_strtol_base

Use Case Manager API

    ucm: fix the reload call (snd_use_case_mgr_reload)
    ucm: implement disdevall sequence command
    use-case.h: add Channels/ChannelPos values to the documentation
    ucm: fix memory leak in the error path (Include)
    ucm: Use LFS calls (stat, scandir)
    ucm: main - fix the compilation error (signess)
    ucm: macro - make argument names shorter
    ucm: doc - describe variants, minor corrections
    ucm: implement enadev2 and disdev2 sequence commands
    ucm: add support for verb variants
    ucm: set SYNTAX_VERSION_MAX to 6
    ucm: move macros and evali substitution to Syntax 6
    ucm: macro - add deep call protection (recursion)
    ucm: macro call inplace evaluate inside macro
    ucm: macro - fix the error message, print id
    ucm: return empty string for undefined "open" variables (arguments)
    ucm: allow '-' prefix to avoid errors when the variable is not defined
    ucm: allow passing variables through ucm open string
    use-case.h: add SND_USE_CASE_DEV_DIRECT define
    ucm: implement MacroDefine and Macro subtree evaluation
    ucm: local_config may be NULL (error path)
    ucm: add ${evali:} substitution
    ucm: fix the '${eval:EXPR}' substitution
    ucm: top-level path - set directory from symlink

ALSA Server

    pcm: fix for the unitialized write buffer

Configuration

    conf: Use LFS calls when reading config files
    conf: vc4-hdmi: use a proper hdmi pcm, fix broken default pcm
    conf: fix memory leak in snd_config_substitute() for strings
    conf: snd_config_merge - fix comment (overwrite / override)
    conf: fix the export of safe_strto* functions from libasound

Documentation

    README: Add link to GitHub Actions

Simple Abstraction Mixer Modules

    mixer: simple module: python 3.10 PyTuple_SET_ITEM() fix

Files:
RevisionActionfile
1.29modifypkgsrc/audio/alsa-lib/Makefile
1.37modifypkgsrc/audio/alsa-lib/distinfo
1.3modifypkgsrc/audio/alsa-lib/patches/patch-bi
1.3modifypkgsrc/audio/alsa-lib/patches/patch-include_sound_type__compat.h
1.6modifypkgsrc/audio/alsa-lib/patches/patch-src_conf.c
1.1addpkgsrc/audio/alsa-lib/patches/patch-src_ucm_main.c