Subject: CVS commit: pkgsrc/audio/alsa-lib
From: Thomas Klausner
Date: 2022-01-24 11:05:37
Message id: 20220124100537.5023FFB24@cvs.NetBSD.org

Log Message:
alsa-lib: update to 1.2.6.1.

1.2.6.1

Core

    Release v1.2.6.1

Configuration

    conf: fix the device parsing when arguments has no defaults
    conf: accept '_' character in the variable name

1.2.6

Core

    Release v1.2.6
    conf: add safe_strtoll_base() like safe_strtol_base()
    conf: introduce safe_strtol_base()
    configure: bumb version to 1.2.6pre1 (for alsactl/alsa-utils)
    fix build with --disable-ucm

Config API

    conf: introduce snd_config_load_string()
    conf: add possibility to evaluate simple integer math expressions

Control API

    control: remap - assign right name to the child handle for no-op (2nd case)
    control: remap - assign right name to the child handle for no-op
    control: Minor documentation fixes.
    control: Add documentation for snd_ctl_card_* and friends.
    control: empty - fix the static build

PCM API

    pcm: softvol - mark _snd_pcm_parse_control_id as static
    pcm: partially revert "pcm: softvol - make snd_pcm_parse_control_id \ 
private"
    pcm: multi plugin - adjust appl_ptr on rewind/forward operations
    pcm: add a note about return values of snd_pcm_state()
    pcm: rate - fix some gcc warnings
    pcm: direct plugins - fix bad memory access when channel bindings do not match hw
    pcm: Move snd_pcm_channel_area_addr() and _step() to public header
    pcm: direct plugins - fix hw_ptr in the status callback
    pcm: dmix - use pcm_frame_diff() in snd_pcm_dmix_sync_ptr0()
    pcm: improve docs for snd_pcm_sw_params_get_avail_min() and \ 
snd_pcm_status_get_avail_max()
    pcm: rate: Improve the support multiple formats
    pcm: rate: Refactoring temporary buffer allocations

RawMidi API

    rawmidi: allocate the read buffer in the params call
    rawmidi: free framing read bufffer when the framing mode becomes inactive
    rawmidi: add support for SNDRV_RAWMIDI_IOCTL_USER_PVERSION
    rawmidi: return ENOTSUP when timestamp reads are not supported by plugins
    rawmidi: allow timestamp reads only for the appropriate read mode
    rawmidi: doc - fix the framing / read mode section
    rawmidi: rename enum snd_rawmidi_framing to snd_rawmidi_read_mode
    rawmidi: define more abstract API for the timestamp reads
    rawmidi: initialize the reserved space in snd_rawmidi_params_default()
    rawmidi: Add rawmidi framing API

Rawmidi API

    rawmidi: rename enum snd_rawmidi_framing to snd_rawmidi_read_mode
    rawmidi: define more abstract API for the timestamp reads
    rawmidi: Use the standard types for snd_rawmidi_framing_tstamp_t definition
    rawmidi: Add rawmidi framing API

Topology API

    topology: do not call strtol directly

Use Case Manager API

    ucm: add initial doxygen documenation
    conf: introduce snd_config_load_string()
    ucm: add ${eval:EXPR} substitution (Syntax 5)
    ucm: fix parsing of the internal hexadecimal card identifier (2)
    ucm: fix parsing of the internal hexadecimal card identifier
    ucm: fix DeviceModifier parser
    conf: introduce safe_strtol_base()
    ucm: suppress the no device (no UCM card) errors on request
    ucm: substitute the before/after identifiers
    ucm: fix the parsing of the hexadecimal prefix
    ucm: avoid zero card instance number

/src/Makefile.am

    conf: add possibility to evaluate simple integer math expressions

Configuration

    conf: introduce snd_config_load_string()
    conf: confeval - fix _to_integer error code
    conf: improve simple integer math expressions - brackets
    ucm: add ${eval:EXPR} substitution (Syntax 5)
    conf: add possibility to evaluate simple integer math expressions
    conf: add safe_strtoll_base() like safe_strtol_base()
    conf: introduce safe_strtol_base()

Documentation

    ucm: add initial doxygen documenation

Dynamic Loader helpers

    dlmisc.c: Avoid double unlock in snd_dlobj_cache_get0()

External PCM Plugin SDK

    pcm: partially revert "pcm: softvol - make snd_pcm_parse_control_id \ 
private"

External Rate Converter Plugin SDK

    pcm: rate: Improve the support multiple formats

Kernel Headers

    rawmidi: add support for SNDRV_RAWMIDI_IOCTL_USER_PVERSION
    asound.h: fix the __packed use for the out-of-kernel code
    rawmidi: Add rawmidi framing API

Test/Example code

    conf: introduce snd_config_load_string()
    conf: fix test/lsb/config.c
    conf: improve simple integer math expressions - brackets
    conf: add possibility to evaluate simple integer math expressions
    rawmidi: rename enum snd_rawmidi_framing to snd_rawmidi_read_mode
    rawmidi: define more abstract API for the timestamp reads
    test: rawmidi: Add test for rawmidi framing API

Files:
RevisionActionfile
1.27modifypkgsrc/audio/alsa-lib/Makefile
1.35modifypkgsrc/audio/alsa-lib/distinfo
1.6removepkgsrc/audio/alsa-lib/patches/patch-include_sound_asound.h