Commit graph

55 commits

Author SHA1 Message Date
wiz
3edd0c9705 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
2022-07-15 21:17:25 +00:00
wiz
aa3b4802cf alsa-lib: fix build on Solaris
From Claes Nästén in PR 56749
2022-03-14 14:08:42 +00:00
wiz
b520d4c48b 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
2022-01-24 10:05:37 +00:00
pho
236264dd77 Add a missing newline at EOF 2021-11-28 14:24:46 +00:00
pho
f01dc34f7b Add a MESSAGE file for NetBSD
...indicating that either OSS or PulseAudio plugin is required to use
ALSA.
2021-11-28 07:04:46 +00:00
hauke
75c206428b Substitute pkgsrc paths in alsa.conf 2021-11-20 23:38:12 +00:00
nia
db187df25e audio: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes.

The following distfiles couldn't be fetched (possibly they are fetched
conditionally):

./audio/freeswitch-sounds-ru/distinfo freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz
./audio/freeswitch-sounds-ru/distinfo freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz
./audio/freeswitch-music/distinfo freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz
./audio/freeswitch-music/distinfo freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz
./audio/freeswitch-sounds-fr/distinfo freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
./audio/freeswitch-sounds-fr/distinfo freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
./audio/freeswitch-sounds-en/distinfo freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz
./audio/freeswitch-sounds-en/distinfo freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz
2021-10-26 09:58:44 +00:00
nia
274d042d75 audio: Remove SHA1 hashes for distfiles 2021-10-07 13:09:09 +00:00
triaxx
31c72d48e7 alsa-lib: Fix building of audio/alsa-utils
pkgsrc changes:
---------------
  * Add patches to explicitly include stdarg.h in header files that use
    va_list. They could be removed if the following pull request is
    accepted:
    https://github.com/alsa-project/alsa-lib/pull/169
  * Bump revision.
2021-08-10 20:39:51 +00:00
wiz
b57f30126c alsa-lib: remove unused patch 2021-07-01 05:47:12 +00:00
wiz
58878eced2 alsa-lib: update to 1.2.5.1.
1.2.5.1

Core

    Release v1.2.5.1
    Fix EXPORT_SYMBOL attribute for clang
    configure: check if eaccess() is available

Control API

    control: remap - fix an infinite recursive call in the async callback
    control: remap - fix uninitialized value in parse_map_vindex()

PCM API

    pcm: direct - remove dead code
    pcm: softvol - fix early exit in add_tlv_info()
    pcm: remove extra NULL checks in snd_pcm_dshare_open()
    pcm: remove extra NULL checks in snd_pcm_dsnoop_open()
    pcm: remove extra NULL checks in snd_pcm_dmix_open()
    pcm: direct - fix pcmp error path in _snd_pcm_direct_new()

Timer API

    timer: remove dead code in _snd_timer_hw_open()

Use Case Manager API

    configure: check if eaccess() is available
    ucm: include sys/wait.h to fix build on Android
    ucm_exec.c: Include limits.h explicitly to fix build on musl
    ucm: compound_merge() - fix use after free (and logic)
    ucm: fix possible memory leak in parse_verb_file()
    ucm: fix out-of-array access in rval_device_lookup_init()
    ucm: check error value in parse_lookup_query()
    ucm: fix possible NULL pointer dereference in uc_mgr_exec()
    ucm: find_exec() - fix memory leak (dir)
    ucm: fix if_eval_path() - access NULL pointer
    ucm: fix use after free in if_eval_regex_match()
    ucm: fix error path in execute_cfgsave()
    ucm: fix _alibpref string (add '.' delimiter to the end)
    ucm: add _alibpref to get the private device prefix

Configuration

    conf: snd_config_get_card() remove unused assignment
    conf: remove dead code in snd_config_get_card()
    conf: fix load_for_all_cards()

1.2.5

Core

    Release v1.2.5
    control: add missing src/conf/ctl/Makefile.am
    ucm: add LibraryConfig support
    control: remap plugin - initial version
    configure: bumb version to 1.2.5pre1 (for CI tests)

Config API

    conf: add snd_config_make_path() function
    conf: add snd_config_is_empty() function
    conf: add snd_config_merge() function
    conf: introduce snd_config_get_card() function

Control API

    control: remap - add no-op when the remapping is not active
    control: remap - don't allow I/O on renamed IDs
    ucm: add LibraryConfig support
    control: add empty plugin
    control: remap plugin - add docs
    control: doc - create controls plugin page
    control: remap plugin - initial version
    control: add _snd_ctl_open_child()
    control: shm - add missing continue to _snd_ctl_shm_open()
    ucm: move __snd_ctl_ascii_elem_id_parse prototype to control_local.h
    control: add __snd_ctl_add_elem_set() helper
    control: add snd_ctl_elem_id_compare_numid() function
    control: rename snd_ctl_elem_id_compare() to snd_ctl_elem_id_compare_set()
    control: fix the subdevice fields comparison in snd_ctl_elem_id_compare()
    control: better docs for snd_ctl_elem_id_compare()
    control: add snd_ctl_elem_id_compare() function
    control: snd_ctl_ascii_elem_id_get() - do not show unset numid
    conf: introduce snd_config_get_card() function
    control: improve snd_ctl_add_*_elem_set functions (access flags)
    control: fix iformation -> information typos

Control Plugin API

    control: remap plugin - add docs
    control: doc - create controls plugin page

HWDEP API

    conf: introduce snd_config_get_card() function

I/O API

    output: Add snd_output_buffer_steal() function

Mixer API

    mixer: simple - Fix "Capture Volume" and "Capture Switch" being seen as global controls
    mixer: simple - use for loop in base_len()
    mixer: simple - Unify simple_none: base_len() exception handling

PCM API

    pcm: hw - correct the comment in snd_pcm_hw_state()
    pcm: hw - fix again snd_pcm_hw_state() when the driver was disconnected
    pcm: hw - fix snd_pcm_hw_state()
    pcm: fix open in direct plugins - wrong pointer assignment
    pcm: direct - move the direct struct init to _snd_pcm_direct_new()
    pcm: dshare - fix shared memory pointer check
    ucm: add LibraryConfig support
    pcm: empty plugin - fix the docs
    pcm: softvol - improve TLV data check for new configs
    pcm: fix snd_pcm_plugin_status()
    conf: introduce snd_config_get_card() function
    pcm: softvol - make snd_pcm_parse_control_id private
    pcm: softvol - do not set TLV access flags for the switch
    pcm: pcm_ioplug - fix the avail_update mmap capture copy issue
    pcm: share: Pass appl_ptr and hw_ptr in snd_pcm_status()
    pcm: null: Pass appl_ptr and hw_ptr in snd_pcm_status()
    pcm: ioplug: Pass appl_ptr and hw_ptr in snd_pcm_status()
    pcm: direct: Fix the missing appl_ptr update
    pcm: dmix/dshare - delay calculation fixes and cleanups
    pcm_plugin: set the initial hw_ptr/appl_ptr from the child pcm
    pcm: rate - fix the capture delay values
    pcm: rate - use pcm_frame_diff() on related places
    pcm: plugin - fix status code for capture
    pcm: rate - use pcm_frame_diff() in snd_pcm_rate_playback_internal_delay()
    pcm: ioplug - fix the delay calculation for old plugins
    pcm: rate - tidy up snd_pcm_rate_avail_update()
    pcm: ioplug - fix the delay calculation in the status callback
    Revert "pcm_plugin: fix delay"
    pcm: plugin - optimize sync in snd_pcm_plugin_status()
    pcm: plugin - tidy snd_pcm_plugin_avail_update()
    pcm: plugin status - revert the recent changes
    pcm: plugin status - fix the return value (regression)
    pcm: fix __snd_pcm_state() return value
    pcm_multi: remove dead assignment from _snd_pcm_multi_open
    pcm: remove dead assignments from snd_pcm_rate_(commit_area|grab_next_period)
    pcm: Fix a typo in SND_PCM_AUDIO_TSTAMP_TYPE_LAST definition
    pcm: Add snd_pcm_audio_tstamp_type_t constants
    pcm: set the snd_pcm_ioplug_status() tstamp field
    pcm: snd_pcm_mmap_readi - fix typo in comment

RawMidi API

    ucm: add LibraryConfig support
    conf: introduce snd_config_get_card() function
    rawmidi: fix memory leak in snd_rawmidi_virtual_open

Sequencer API

    seq: fix snd_seq_parse_address()
    ucm: add LibraryConfig support

Timer API

    timer: fix sizeof operator mismatch in snd_timer_query_hw_open

Topology API

    topology/pcm.c: remove duplicated AC97 hw format
    topology: fix 'parse_tuple_set() - remove dead condition code'
    topology: sort_config() cleanups - use goto for the error path
    topology: parse_tuple_set() - remove dead condition code
    topology: tplg_decode_pcm() - add missing log argument (compress)
    topology: tplg_add_widget_object() - do not use invalid elem_ctl
    topology: tplg_pprint_integer() fix coverity uninitalized variable error
    topology: use inclusive language in documentation
    topology: use inclusive language for fsync
    topology: use inclusive language for bclk

Use Case Manager API

    ucm: compound_merge - use snd_config_merge()
    ucm: recognize first '-' character as ignore error for exec/shell
    ucm: cfg-save - allow to save the sub-tree including root keys
    ucm: libconfig - merge not override items
    ucm: libconfig parser - fix memory leaks
    ucm: add cfg-save command
    ucm: fix memory leak in execute_cset()
    ucm: parse LibraryConfig also in the toplevel file
    ucm: fix regexec() REG_NOMATCH state handling for define regex
    ucm: add exec sequence command
    ucm: Fix sysw sequence command not working when requesting to ignore errors
    ucm: fix the local ucm control device name caching
    ucm: limit the master config scan to conf.virt.d
    ucm: fixed find-device substitution (non-continuous PCM devices)
    ucm: allow to escape the trailing variable substitution character
    ucm: find-device / pcm - the ctl_list may be empty
    ucm: add missing uc_mgr_card_close() call to snd_use_case_mgr_open()
    ucm: cosmetic code reshuffle in rval_lookup_main()
    ucm: fix uc_mgr_has_local_config()
    ucm: rewrite device value only when the local config exists
    ucm: return error if fixedboot_list is empty
    ucm: return error if boot_list is empty
    ucm: ucm_filename() - avoid double //
    ucm: handle better the system() call
    ucm: add LibraryConfig support
    ucm: add ${ConfLibDir} substitution
    ucm: add ctl-remove sequence command to delete controls from UCM
    ucm: add cset-new sequence command to create new controls from UCM
    ucm: move __snd_ctl_ascii_elem_id_parse prototype to control_local.h
    ucm: add Path condition type
    ucm: rename sysset to sysw
    ucm: warn about unknown sequence commands
    ucm: implement sysset sequence command
    ucm: ucm_main.c - cosmetic tab cleanups
    ucm: add _fboot / FixedBootSequence
    ucm: fix two error messages
    ucm: add ${find-card} and ${find-device} substitutions
    ucm: uc_mgr_substitute_tree() fix use after free
    ucm: fix possible memory leak in parse_verb_file()
    ucm: fix bad frees in get_list0 and get_list20

/Makefile.am

    Makefile: Add README.md to EXTRA_DIST

/include/Makefile.am

    include: try to fix the out-of-source-tree build
    include: fix out-of-source-tree build
    include: fix SND_LIB_VER() macro
    include: add SND_LIB_VER() macro
    control: remap plugin - add docs

Configuration

    conf: snd_config_merge() - substitute non-compound config handles
    conf: snd_config_merge() - merge (concat) correctly arrays
    conf: return count of items in snd_config_is_array()
    conf: print quoted string more wisely
    ucm: cfg-save - allow to save the sub-tree including root keys
    conf: fix snd_config_merge() - merge schema
    conf: load the card specific configurations to the config sub-tree
    conf: add snd_config_make_path() function
    conf: add snd_config_is_empty() function
    conf: _snd_config_evaluate - remove 'delete compound members' call
    conf: fix snd_config_substitute() - memory leak
    conf: fix snd_config_merge() - double free in overwrite mode
    alsa: conf - use card number roots for device redirects
    conf: extend load_for_all_cards hook (id/value table)
    control: add missing src/conf/ctl/Makefile.am
    conf: usb - correct 'SB Omni Surround 5.1' iec958 device
    conf: USB - add "Cmedia Audio" to USB-Audio.pcm.iec958_device
    Remove non-existent SPDIF output on Dell AE515
    conf: No SPDIF on Plantronics 3220 headset
    conf: add snd_config_merge() function
    conf: add /var/lib/alsa/conf.d directory lookup
    conf: add /var/lib/alsa/card<NUMBER>.conf.d directory lookups
    conf: extend hook load_for_all_cards
    conf: make ctl.default and sysdefault devices more universal
    conf: Fix invalid free at parse_args()
    conf: fix memory leak on the error path in parse_args()
    conf: snd_config_save() - print arrays as [] not the internal representation
    conf: improve the tabulator level prints
    conf: introduce snd_config_get_card() function
    conf: HDA-Intel: increase the max number of HDMI/DP output to 11
    conf: USB - add "Xonar U7 MKII" to USB-Audio.pcm.iec958_device
    conf: fix return code in _snd_config_load_with_include
    confmisc: fix memory leak in snd_func_concat
    conf: fix get_hexachar() return value
    conf: fix use after free in _snd_config_load_with_include

Documentation

    control: doc - create controls plugin page

Dynamic Loader helpers

    dlmisc: fix snd_plugin_dir locking for not DL_ORIGIN_AVAILABLE
    dlmisc: the snd_plugin_dir_set / snd_plugin_dir must be declared even for \!DL_ORIGIN_AVAILABLE

I/O subsystem

    output: Add snd_output_buffer_steal() function

Kernel Headers

    topology: use inclusive language for fsync
    topology: use inclusive language for bclk

Test/Example code

    test: audio_time - fix timestamp2ns() and usage()
    test/audio_time: Make use of SND_PCM_AUDIO_TSTAMP_TYPE constants

Utils

    utils/alsa.m4: another quick fix for the brackets
    utils/alsa.m4: a quick fix for missing end brackets
    utils/alsa.m4: update for newer autoconf.
2021-06-28 10:10:50 +00:00
ryoon
d9d1f53979 alsa-lib: Update to 1.2.4
Changelog:
1.2.4
Core

    Release v1.2.4
    pcm: dmix: make lockless operation optional

Control API

    control: Add documentation for snd_ctl_elem_value_*.
    control: Improve general control interface documentation.
    control: Add documentation for snd_ctl_elem_list_*.
    control: ctlparse - fix enum values in or ""
    ctl: improve documentation for identifier of control element

PCM API

    pcm: file plugin - implement safe_write
    pcm: fix the pcm_frames_diff -> pcm_frame_diff typo
    pcm: dshare - apply the boundary wrap in snd_pcm_dshare_sync_area()
    pcm: introduce pcm_frame_diff and pcm_frame_diff2 helpers
    pcm: meter / s16 - add protection for the maximum copied frames
    dlmisc, pcm: export the old symbols (for -flto)
    pcm: fix the snd_pcm_plugin_status() avail and delay fields
    pcm: dmix: fix access to sum-buffer in non-interleaved mixing mode
    pcm: iec958: set channel status bits according to rate and format
    pcm: iec958: implement HDMI HBR audio formatting
    pcm: dmix: Fix semaphore usage with lockless operation
    pcm: dmix: make lockless operation optional

Topology API

    topology: straight printf and error path fixes
    topology: save_config - fix the error path handling
    tplg: fix the unaligned_get32/put32 helpers for big endian
    topology: improve the printf buffer management
    topology: fix the unaligned access
    topology: fix sort_config()
    topology: fix some gcc10 warnings (labs, signess)
    topology: return correct value in tplg_save_printf()
    topology: Make buffer for saving dynamic size
    topology: decode: Add DAI name printing
    topology: decode: Print sig_bits field in PCM capabilities section
    topology: decode: Fix decoding PCM formats and rates
    topology: decode: Change declaration of enum decoding function
    topology: decode: Fix printing texts section
    topology: decode: Add enum control texts as separate element
    topology: decode: Remove decoding values for enum control
    topology: decode: Fix infinite loop in decoding enum control
    topology: decode: Fix channel map memory allocation

Use Case Manager API

    ucm: handle correctly Linked configuration
    ucm: rename once_list to boot_list
    ucm: substitute the comment string also in the main configuration file
    ucm: add a check for the empty configuration
    ucm: Handle 'Error' keyword in the master file
    ucm: substitute the merged tree completely
    ucm: fix parse_get_safe_name() - safe name must be checked after substitution
    ucm: substitution - remove duplicate allow_empty assignment

Configuration

    conf: quote also strings with '*' and '#' characters in string_print()
    conf: USB-Audio: Disable IEC958 on Lenovo ThinkStation P620
    conf: pcm - USB - Added S/PDIF fix for Asus Xonar SE

Documentation

    README: add patch submission instructions

Dynamic Loader helpers

    dlsym: use the only alsa plugins directory for the internal modules
    dlmisc, pcm: export the old symbols (for -flto)
    dlsym: add support for ALSA_PLUGIN_DIR environment variable

1.2.3
Core

    Release v1.2.3
    snd_dlopen: implement the relocatable version for glibc
    github actions: ubuntu - fix the non-interactive build
    pcm: dmix: assembly: fix the interface for safety (mmx)
    configure: add --embed for python3-config (python 3.8)

Config API

    conf: add snd_config_is_array() function

Control API

    tlv: implement nearest rounding in snd_tlv_convert_from_dB() for xdir == 0
    control: use more precise rounding in snd_ctl_ascii_value_parse()
    snd_dlopen: do not use absolute plugin path for snd_dlopen() calls
    namehint: remember the direction from the upper levels
    conf: namehint - add omit_noargs to the hint section

Mixer API

    tlv: implement nearest rounding in snd_tlv_convert_from_dB() for xdir == 0
    snd_dlopen: do not use absolute plugin path for snd_dlopen() calls

PCM API

    pcm: Fix memory leak at snd_pcm_new when THREAD_SAVE_API is defined
    pcm: clarify -ENODATA description (recovery, event)
    pcm: fix spelling in documentation for -EBADFD
    pcm: add documentation for -ENODATA error code
    snd_dlopen: do not use absolute plugin path for snd_dlopen() calls
    pcm: return immediately when the state is SETUP in snd_pcm_drain()
    pcm: fix snd_pcm_drain() excluding SETUP state from valid states
    pcm: rate: Fix uninitialized variable warning
    pcm: rate: Fix compile warning wrt bit ops and comparison
    pcm: dmix: assembly: give more freedom over the constraints
    pcm: dmix: assembly: refactor the PIC mode
    pcm: dmix: assembly: fix the interface for safety (mmx)
    pcm: dmix: assembly: fix the interface for safety
    pcm: dmix: assembly: change the token by symbolic names
    fix infinite draining of the rate plugin in SND_PCM_NONBLOCK mode
    pcm: rate - fix the remaining size calculation in snd_pcm_rate_drain()
    pcm: dmix: fix sw_params handling of timestamp types in direct plugins
    pcm: add chmap option to route plugin

Topology API

    topology: Add missing ATTRIBUTE_UNUSED
    topology: use snd_config_is_array() function
    topology: Use bool parser to parse boolean value
    topology: add back asrc to widget_map in dapm.c

Use Case Manager API

    ucm: fix the wrong return value in uc_mgr_open_ctl()
    ucm: remove strict: in ${OpenName} substitution
    ucm: fix the error path in parse_toplevel_path()
    ucm: fix the wrong uc_mgr_open_ctl() call in if_eval_control_exists()
    use-case.h: define Linked variable
    ucm: implement CardIdByName substitution
    ucm: shuffle code in compound_merge()
    ucm: substitute arguments in sequences only for syntax 3+
    ucm: substitute RenameDevice and DeleteDevice lists
    ucm: substitute Comment in Transition and Device
    ucm: substitute verb name and file field
    ucm: substitute component sequence string
    ucm: substitute device strings in the device lists
    ucm: substitute device / modifier names, too
    ucm: implement the toplevel ucm configuration file parser
    ucm: substitute ${CardNumber}
    ucm: substitute ${OpenName}
    ucm: Define/DefineRegex is supported in Syntax 3
    ucm: String condition - implement Empty
    ucm: handle strict: prefix correctly for the UCM card name
    ucm: substitute also value strings
    ucm: allow to specify the toplevel directory using '/' as first character in File path
    ucm: config - change the in-place include evaluation order
    ucm: allow syntax version 3
    ucm: substitute arguments in sequences
    ucm: configuration - add DefineRegex
    ucm: configuration - allow to define the configuration variables
    ucm: config - substitute File string to allow variables in include
    ucm: configuration - substitute ${ConfDir} and ${ConfTopDir}
    ucm: configuration - implement in-place Include
    ucm: rename _once command to _boot command
    ucm: rename SectionOnce to BootSequence
    ucm: fix compilation error in set_defaults_user()
    ucm: fix SectionOnce comment
    ucm: initialize mgr->once_list
    ucm: handle 'set _defaults' command
    ucm: handle 'set _once' command
    ucm: execute SectionDefaults lately (when the first verb is set)
    ucm: parse SectionOnce section in the master UCM configuration file
    ucm: merge the array items from the condition blocks
    use-case.h: add USB as allowed device name
    ucm: fix copy-n-paste typo (RemoveDevice list)
    ucm: fix the device remove operation
    usecase: allow indexes also for modifier names
    ucm: fix uc_mgr_scan_master_configs()
    ucm: clarify the index syntax for the device names

Configuration

    conf: USB-Audio: Add HP Thunderbolt Dock in the IEC958 blacklist
    conf: remove debug printf() in snd_config_hook_load()
    conf: add support for XDG_CONFIG_HOME search path
    conf: load function (hook) - add OR support
    conf: USB-Audio.conf - add another card name for Asus Xonar 5
    conf: add snd_config_is_array() function
    conf: use bool type for the join member in the config structure
    conf: change namehint for pcm.front
    conf: USB-Audio: Fix S/PDIF output of ASUS Xonar AE
    pcm: dmix: fix sw_params handling of timestamp types in direct plugins
    conf: fix namehint for pcm.front and pcm.iec958
    conf: USB-Audio: Add C-Media USB Headphone Set to the IEC958 blacklist
    Change PCM device number of Asus Xonar U5
    conf: namehint - add omit_noargs to the hint section
    conf: changc Loader helpers

    dlsym: fix the snd_dlopen(), incorrect variable use
    dlsym: fix again snd_dlpath()
    dlsym: fix the reference to the origin lib directory
    snd_dlopen: implement the relocatable version for glibc

Kernel Headers

    header: Fix build error with old kernel headers

Simple Abstraction Mixer Modules

    snd_dlopen: implement the relocatable version for glibc
    snd_dlopen: do not use absolute plugin path for snd_dlopen() calls

Test/Example code

    test: pcm_min - add snd_pcm_drain() call and indentation fixes

1.2.1.2
Core

    Release v1.2.1.2
    local.h: remove sound/asoundef.h dependency
    asoundef.h: add CEA861_AUDIO_INFOFRAME defines

Control API

    control: ctlparse - accept enum values in or ""

PCM API

    pcm_file: fix pipe stall when pclose() is called too early

Topology API

    include/sound: sync with the kernel v5.4

Use Case Manager API

    ucm: add support for ControlEnum in ControlExists condition
    ucm: conditions - fix the wrong string/substring match
    use-case: add priority values from pulseaudio
    use-case: improve comment for mixer elements
    ucm: rename mixer element identifiers
    ucm: fix the cdev initialization sequence
    ucm: remove the new-line for uc_error() calls
    ucm: use-case.h - add <alsa/asoundlib.h> include
    ucm: add ${CardDriver} substitution
    ucm: implement ${sys:sysfs/path} substitution

Kernel Headers

    include/sound/Makefile.am: remove asoundef.h
    local.h: remove sound/asoundef.h dependency
    include/sound: sync with the kernel v5.4

Utils

    alsa.m4: Fix the detection of topology library availability 1.2.1.2
 Core

    Release v1.2.1.2
    local.h: remove sound/asoundef.h dependency
    asoundef.h: add CEA861_AUDIO_INFOFRAME defines

Control API

    control: ctlparse - accept enum values in or ""

PCM API

    pcm_file: fix pipe stall when pclose() is called too early

Topology API

    include/sound: sync with the kernel v5.4

Use Case Manager API

    ucm: add support for ControlEnum in ControlExists condition
    ucm: conditions - fix the wrong string/substring match
    use-case: add priority values from pulseaudio
    use-case: improve comment for mixer elements
    ucm: rename mixer element identifiers
    ucm: fix the cdev initialization sequence
    ucm: remove the new-line for uc_error() calls
    ucm: use-case.h - add <alsa/asoundlib.h> include
    ucm: add ${CardDriver} substitution
    ucm: implement ${sys:sysfs/path} substitution

Kernel Headers

    include/sound/Makefile.am: remove asoundef.h
    local.h: remove sound/asoundef.h dependency
    include/sound: sync with the kernel v5.4

Utils

    alsa.m4: Fix the detection of topology library availability

1.2.1.1
Core

    Release v1.2.1.1

PCM API

    pcm: add braces to condition (coverity)

Use Case Manager API

    ucm: quick fix for the previous commit when ALSA_CONFIG_UCM_VAR is set
    ucm: fix again the long name configuration filename lookup
    ucm: parser: Fix snprintf usage
    ucm: Only look in ucm[1] or ucm2 dir once we've found a config file in one
    ucm: Fix fallback to card_name (shortname) config for ucm1 profiles
    ucm: Fix opening of master-configs by the card's longname
    ucm: fix memory leaks detected by the coverity checker

Configuration

    conf: check for include path duplicates
    conf: fix the include paths support

1.2.1
Core

    Release v1.2.1
    conf: implement snd_config_add_before() and snd_config_add_after()
    topology: remove configuration files (moved to alsa-topology-conf repository)
    create separated libatopology library with the topology routines
    ucm: remove configuration files (moved to alsa-ucm-conf repository)
    conf: improve the include paths code
    Use __func__ instead of __FUNCTION__
    rawmidi: use snd_dlobj_cache_get2() in rawmidi open (coverity)
    ucm: Add UCM profile for CX2072X codec on Baytrail/Cherrytrail profiles

Config API

    conf: implement snd_config_add_before() and snd_config_add_after()
    ucm: change the If block parsing
    ucm: add If condition block

Control API

    control_shm: add missing socket close to the error path (coverity)
    control_shm: remove duplicate code (coverity)

Mixer API

    mixer: simple - add snd_mixer_selem_id_parse() from amixer

PCM API

    pcm: the maximal rate is 768000Hz, fix the remain code
    pcm: fix the period_size for direct plugins (dmix, dsnoop, dshare)
    pcm: Fix the wrong PCM object passed for locking/unlocking
    pcm: chmap: Fix memory leak at snd_pcm_set_chmap()
    pcm: dshare: allow missing bindings
    pcm: return -ENOSYS when ops or fast_ops callback is NULL
    pcm_file: improve error checking in write_wav_header function
    pcm_file: in case of failed write clear file buffer variables
    pcm_file: use EIO instead of EPIPE when failing to write output file
    pcm_file: return errno in case of a failed write operation
    pcm_file: remove double line
    pcm_file: report write output file error to api user
    pcm_file: do not disrupt playback on output file write fail
    pcm: rate: Avoid pointer arithmetic on `void *`
    pcm: direct: Remove unused empty struct
    pcm: Make sure parameter qualifiers match between declaration and definition
    pcm: hw: Don't return in a void function
    Use __func__ instead of __FUNCTION__
    pcm_file: another locking fix (coverity)
    pcm_file: coverity fixes (including double locking)
    pcm_hw: close file descriptor in the error path in snd_pcm_hw_open() (coverity)
    pcm_file: call pclose() correctly for popen() (coverity)
    pcm: fix memory leak in _snd_pcm_parse_config_chmaps() (coverity)
    pcm: file: add infile read support for mmap mode
    pcm: add mmap_begin callback to snd_pcm_fast_ops_t api
    pcm: file: add missing unlock on early return
    pcm: file: use snd_pcm_file_areas_read_infile for readi
    pcm: file: add support for infile reading in non interleaved mode
    pcm: dsnoop: Added "hw_ptr_alignment" option in configuration for slave pointer alignment
    pcm: dshare: Added "hw_ptr_alignment" option in configuration for alignment of slave pointers
    pcm: direct: Add generic hw_ptr_alignment function for dmix, dshare and dsnoop

PCM Plugin API

    pcm: the maximal rate is 768000Hz, fix the remain code

RawMidi API

    rawmidi_hw: add sanity check for the invalid stream arguments (coverity)
    rawmidi: use snd_dlobj_cache_get2() in rawmidi open (coverity)

Topology API

    create separated libatopology library with the topology routines
    topology: Fix variable overflow in split_format
    topology: add support to parse private data for pcm
    topology: next round of coverity fixes
    topology: various coverity fixes

Use Case Manager API

    ucm: add possibility to keep order of childs for If blocks
    ucm: change the If block parsing
    ucm: docs: Add MinBufferLevel value
    ucm: docs: Add EDID File value
    use-case header file: add more references to correct ASCII ID parsers for CTL/mixer IDs
    ucm: add snd_use_case_parse_selem_id()
    ucm: add If.Condition.RegexMatch
    ucm: add ${CardComponents} substitution to the value string processing
    ucm: evaluate nested If blocks also in True/False blocks
    ucm: add If.Condition.String to match strings and substrings
    ucm: add snd_use_case_parse_ctl_elem_id()
    ucm: add PlaybackCTL and CaptureCTL default values when they are not set
    ucm: small cosmetic uc_error change in execute_sequence()
    ucm: add If condition block
    ucm: do not cache all control devices in get_card_long_name()
    ucm: parser - use less memory for integer/real values in parse_value()
    ucm: save the whole ctl info to the ctl_list structure
    ucm: add the run-time variable substitution
    ucm: fix memory leaks for cdev, bin-file and tlv elements
    ucm: do not report failure when long name configuration does not exist
    ucm: add support for multiple control devices, more aggresive caching
    ucm: extend snd_use_case_mgr_open() to address the sound card directly
    ucm: switch to ucm2 directory and v2 format, keep backward compatibility
    conf: improve the include paths code
    ucm: parse_verb_file() - remove folder_name variable and extra logic
    ucm: fix uc_mgr_scan_master_configs() - skip correctly component directories
    ucm: cosmetic fix in get_card_long_name()
    ucm: another coverity fix in uc_mgr_config_load()
    ucm: coverity fixes

/Makefile.am

    create separated libatopology library with the topology routines

/src/Makefile.am

    create separated libatopology library with the topology routines

ALSA Server

    Use __func__ instead of __FUNCTION__
    aserver: fix resource leak coverity

Configuration

    conf: implement snd_config_a_config_add_after()
    topology: remove configuration files (moved to alsa-topology-conf repository)
    ucm: remove configuration files (moved to alsa-ucm-conf repository)
    conf: improve the include paths code
    conf: List cases in range explicitly
    config: parse_string() fix the dynamic buffer allocation failure code (coverity)
    src/conf.c: add missing va_end() call (coverity)
    ucm: Add UCM profile for CX2072X codec on Baytrail/Cherrytrail profiles

Dynamic Loader helpers

    rawmidi: use snd_dlobj_cache_get2() in rawmidi open (coverity)

Utils

    create separated libatopology library with the topology routines

1.1.9
Core

    Release v1.1.9
    add support for GCC's LTO
    add snd_strlcpy() and use it everywhere
    ucm: Add ucm files for DB820c board

Control API

    add support for GCC's LTO
    Print unsigned ints with %u instead of %i. (snd_ctl_ascii_elem_id_get)
    add snd_strlcpy() and use it everywhere

PCM API

    add support for GCC's LTO
    pcm: multi plugin: reset hw/appl pointers in prepare/reset functions
    pcm: multi plugin: detach the hw_ptr and appl_ptr from master_slave
    pcm: fix wait condition in snd_pcm_write_areas() to avoid return zero
    pcm: multi plugin - fix wait_for_avail_min
    pcm: null: Do not allow a period size of 0
    pcm: rate plugin - fix signess in snd_pcm_rate_avail_update() comparison
    add snd_strlcpy() and use it everywhere
    pcm: add the missing <strings.h> include
    pcm: dshare: Fix overflow when slave_hw_ptr rolls over boundary
    pcm: Preserve period_event in snd_pcm_hw_sw_params() call

Sequencer API

    add snd_strlcpy() and use it everywhere

Timer API

    add support for GCC's LTO

Topology API

    Close topology config file after parsing it.
    add snd_strlcpy() and use it everywhere

Use Case Manager API

    Android: avoid using versionsort

/include/Makefile.am

    Drop -I$includedir/alsa from alsa.pc

ALSA Lisp

    alisp: add the missing include

Configuration

    Android: avoid using versionsort
    conf: pcm dmix - add CHANNELS argument
    ucm: bytcr/PlatformEnableSeq.conf update some comments
    ucm: Add ucm files for DB820c board
    Revert "conf/ucm: Add a UCM profile for Dell WD19 Dock USB-audio"
    conf/ucm: Add a UCM profile for Dell WD19 Dock USB-audio

Dynamic Loader helpers

    add support for GCC's LTO

Error handler

    add snd_strlcpy() and use it everywhere

Test/Example code

    Printf unsigned longs with %lu instead of %ld (playmidi1.c)
    Printf unsigned ints with %u instead of %i (pcm.c)
    Printf unsigned long longs with %llu (mixtest.c)
    Printf unsigned longs with %lu instead of %li (midifile.c)
    Printf unsigned long with %lu instead of %li (latency.c)
    test/latency: use frame bytes correctly in writebuf()

Utils

    Drop -I$includedir/alsa from alsa.pc

1.1.8
Core

    Release v1.1.8
    conf: rename snd_conf_load1() to _snd_config_load_with_include()
    conf/ucm: bytcht-es8316: Add long-name UCM profiles
    conf/ucm: Add UCM profile for bytcht-es8316 boards
    Create shared {En,Dis}ableSeq.conf components for rt5645 variants
    conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config
    conf/ucm: kblrt5660: Add ucm setting for Dell Edge IoT platform
    conf/ucm: chtrt5650: Add UCM config for chtrt5650
    ucm: Set default include path
    conf: Move UCM profile snippets into components subdirectory
    initial version of .travis.yml file

Control API

    control: fix the assert() in snd_ctl_elem_set_bytes

PCM API

    pcm: ioplug: Fix the regression of pulse plugin drain
    pcm: extplug: Keep format and channels the same if requested
    pcm: dshare: Fix segfault when not binding channel 0
    pcm: dmix: Add option to allow alignment of slave pointers
    pcm: interval: Interpret (x x+1] correctly and return x+1

Use Case Manager API

    conf: rename snd_conf_load1() to _snd_config_load_with_include()
    ucm: Set default include path
    conf: Move UCM profile snippets into components subdirectory

Configuration

    conf: rename snd_conf_load1() to _snd_config_load_with_include()
    conf/ucm: bytcht-es8316: Add long-name UCM profiles
    conf/ucm: Add UCM profile for bytcht-es8316 boards
    Create device component for rt5645 Internal Analog Mic UCM
    Factor out rt5645 variants Headset+Digital Mic UCM shared {en,dis}able sequences
    Factor out rt5645 variants Speaker+Headphones shared UCM enable sequences
    Create shared {En,Dis}ableSeq.conf components for rt5645 variants
    Update chtrt5645 ucm variants to use bytcr/PlatformEnableSeq.conf component
    conf/ucm: bytcr-rt5651: Document mono speaker wiring
    conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config
    conf/ucm: bytcr-rt5651: Add digital mic support
    conf/ucm: bytcr-rt5651: Add support for a headset-mic on IN2
    conf/ucm: bytcr-rt5651: Enable Stereo? ADC MIXL ADC? switches when enabling inputs
    conf/ucm: kblrt5660: Add ucm setting for Dell Edge IoT platform
    conf/ucm: chtrt5650: Add UCM config for chtrt5650
    ucm: Set default include path
    conf: Move UCM profile snippets into components subdirectory
    conf: USB-Audio: Add Dell WD19 Dock in the IEC958 blacklist
    conf/ucm/Dell-WD15-Dock: Fix incorrect device names

Documentation

    README.md: add link to www.alsa-project.org
    initial version of README.md for github

External PCM Filter Plugin SDK

    pcm: extplug: Keep format and channels the same if requested

Test/Example code

    test/audio_time: remove unused variables
    test: rename code to more approriate mixtest
    test/code: make it work again
    test/latecy: fix typo in tstamp compare

Utils

    utils/alsa.m4: conditionally enable libdl in AM_PATH_ALSA m4 macro

1.1.7
Core

    Release v1.1.7
    conf/ucm: bytcr-rt5651: Add bytcr-rt5651-mono-spk-in2-mic-hp-swapped config
    conf/ucm: bytcr-rt5651: Add long-name UCM profiles
    conf/ucm: bytcr-rt5651: Use generic SSP enable + disable sequence, support SSP0
    conf/ucm: chtnau8824: Add Cube iWork8 Air and Pipo W2S specific profiles
    conf/ucm: chtnau8824: Add UCM profile for chtnau8824 boards
    conf/ucm: bytcr-rt5640: Add long-name UCM profiles
    conf/ucm: bytcr-rt5640: Add generic bytcr-rt5640 UCM profile
    configure: Fix forgotten ucm entry
    conf/ucm: chtrt5645: At config for the Lenovo Ideapad Miix 320
    conf/ucm: chtrt5645: At config for the Asus T100HA
    configure: remove src/conf/alsa.conf.d/Makefile

Control API

    control_hw: Fix issue when applying seccomp policy
    hcontrol: use position offset macro of TLV data
    control: use position offset macro of TLV data

PCM API

    pcm: ioplug: Transfer all available data
    pcm: rate: Add error check for snd_pcm_avail_update()
    pcm: ioplug: Provide avail helper function for plugins
    pcm: snd_interval_refine_first/last: exclude value only if also excluded before
    pcm: Define refine mask bits explicitly (and fix missing DSD support)
    pcm: dmix: Fix hwptr updates at status call
    pcm ioplug: fix some coverity issues (switch, missing unlock in snd_pcm_ioplug_drain())
    pcm: add missing flags initialization for the fallback control data
    pcm: softvol: use position offset macro of TLV data
    pcm: hw: use position offset macro of TLV data
    pcm: softvol: Allow up to 90 dB of gain

PCM Plugin API

    pcm: Fix header guard in pcm_plugin.h

Sequencer API

    seq: Fix signedness in MIDI encoder/decoder

Topology API

    ASoC: topology: Add alias conf parameter names for hw_configs
    ASoC: topology: Add definitions for mclk_direction values
    ASoC: topology: Add missing clock gating parameter when parsing hw_configs
    ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()

Use Case Manager API

    ucm: adding the folder of card_long_name when finding verb conf file

Configuration

    conf/ucm: bytcr-rt5640: Improve human readable input/output names
    conf/ucm: bytcr-rt5651: Add bytcr-rt5651-mono-spk-in2-mic-hp-swapped config
    conf/ucm: bytcr-rt5651: Add long-name UCM profiles
    conf/ucm: bytcr-rt5651: Add mono speaker output profile
    conf/ucm: bytcr-rt5651: Split into 1 .conf file per input / output
    conf/ucm: bytcr-rt5651: Add support for mic input on various pins
    conf/ucm: bytcr-rt5651: Fix ADC and Mic capture volumes
    conf/ucm: bytcr-rt5651: Use generic SSP enable + disable sequence, support SSP0
    conf/ucm: bytcr-rt5651: Change Speaker/Headphone en/disable sequences to fix switching
    conf/ucm: bytcr-rt5651: Start with all outputs and inputs disabled
    conf/ucm: bytcr-rt5651: Configure all volumes at 0dB
    conf/ucm: bytcr-rt5651: Do not use both DAC1 and HPVOL inputs for HP
    conf/ucm: bytcr-rt5645: Use the generic bytcr/PlatformEnableSeq.conf
    conf/ucm: VEYRON-I2S: Add internal speakers and mic, other fixes
    conf/ucm: chtnau8824: Add Cube iWork8 Air and Pipo W2S specific profiles
    conf/ucm: chtnau8824: Add UCM profile for chtnau8824 boards
    conf/ucm: bytcr-rt5640: Add default DisableSequence
    conf/ucm: bytcr-rt5640: Add long-name UCM profiles
    conf/ucm: bytcr-rt5640: Add generic bytcr-rt5640 UCM profile
    conf: USB-audio: Fix for Xonar U7 SPDIF device
    conf/ucm: Add a UCM profile for Dell WD15 Dock USB-audio
    conf/ucm: chtrt5645: At config for the Lenovo Ideapad Miix 320
    conf/ucm: chtrt5645: At config for the Asus T100HA
    conf/ucm: chtrt5645: Fix recording from internal analog microphone
    conf/ucm: chtrt5645: Microphone recording fixes
    conf/ucm: chtrt5645: Cleanup and playback fixes
    conf/ucm: increase the input volume for LineIn
    ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()
    conf: remove alsa.conf.d from the datadir
    alsa.conf: change the location for add-on configs to /etc/alsa/conf.d

External PCM I/O Plugin SDK

    ioplug: Fix comment in struct snd_pcm_ioplug
    pcm: ioplug: Provide avail helper function for plugins

Kernel Headers

    timer: fix wrong comment to refer to 'SNDRV_TIMER_PSFLG_*'
    control: add a series of macro for offset of several types of TLV
    ASoC: topology: Add definitions for mclk_direction values
    ASoC: topology: Add missing clock gating parameter when parsing hw_configs
    ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()

Test/Example code

    test: use position offset macro of TLV data

1.1.6
Core

    Release v1.1.6
    a set of fixes to reduce gcc warnings
    modules: smixer_python - add support for python3
    conf/ucm: Add chtrt5645-mono-speaker-analog-mic configuration
    core: Proper reference of internal snd_dlopen()
    conf/ucm: Add Gigabyte mobo UCM profile with dual HD-audio codecs
    conf/ucm: Add dual HD-audio codecs config for Lenovo
    conf/ucm: Rearrange Makefile.am
    configure.ac: do not enable alisp code by default
    configure.ac: build extra mixer modules conditionally
    Change snd_dlopen() function to return the error string
    Change FSF address (Franklin Street)

Control API

    control ext: fix the default .rawmidi_next_device callback
    control: Proper reference of internal versioned functions

HWDEP API

    core: Proper reference of internal snd_dlopen()

Mixer API

    core: Proper reference of internal snd_dlopen()

PCM API

    pcm: ioplug: Implement proper drain behavior
    pcm: Skip avail_min check during draining
    a set of fixes to reduce gcc warnings
    pcm: hw: Keep control data from kernel when SND_PCM_APPEND
    pcm: ioplug: update prepare and draining state correctly
    pcm: Provide areas_copy function which handles buffer wrap around
    pcm: ioplug: Provide hw_avail helper function for plugins
    pcm: Do not access lock_enabled if thread safe API
    pcm: ioplug: Use boundary for wrap around
    pcm: another fix for the snd_pcm_area_silence() fast path
    pcm: fix a bug to copy silent samples aligned to 64
    pcm: Fix two bugs in snd_pcm_area_silence()
    pcm: Return the consistent error code for unexpected PCM states
    core: Proper reference of internal snd_dlopen()
    timer: Proper reference of internal versioned symbols
    pcm: fix wrong comments for some cases of linear interpolation of PCM samples
    pcm: remove unused macros of NORMS_LABELS/NORMS_END
    pcm: remove unused macros of GETU_LABELS/GETU_END
    pcm: remove unused macros of COPY_LABELS/COPY_END
    pcm: plug: add SND_PCM_FORMAT_{S, U}20 to linear_preferred_formats
    pcm: linear, route: handle linear formats with 20-bit sample on 4 bytes
    pcm: add and describe SND_PCM_FORMAT_{S, U}20
    pcm: route: Fix use_getput flag computation for 3 byte formats

Timer API

    timer: Proper reference of internal versioned symbols

Topology API

    a set of fixes to reduce gcc warnings
    topology: Fix parsing config with multiple hw_configs
    topology: Fix to skip writing of header for compound elements

ALSA Lisp

    control: Proper reference of internal versioned functions
    Change FSF address (Franklin Street)

ALSA Server

    a set of fixes to reduce gcc warnings
    Change FSF address (Franklin Street)

Compatibility routines

    Change FSF address (Franklin Street)

Configuration

    conf: USB-Audio: Add second S/PDIF device on Phiree U2SX
    conf/ucm: Add chtrt5645-mono-speaker-analog-mic configuration
    core: Proper reference of internal snd_dlopen()
    conf/ucm: Add Gigabyte mobo UCM profile with dual HD-audio codecs
    conf/ucm: Add dual HD-audio codecs config for Lenovo
    conf/ucm: Rearrange Makefile.am
    configure.ac: build extra mixer modules conditionally
    Change snd_dlopen() function to return the error string

Documentation

    Change FSF address (Franklin Street)

Dynamic Loader helpers

    core: Proper reference of internal snd_dlopen()

External PCM I/O Plugin SDK

    pcm: ioplug: Provide hw_avail helper function for plugins
    pcm: ioplug: Use boundary for wrap around

Kernel Headers

    asound.h: add SNDRV_PCM_FORMAT_{S, U}20

Simple Abstraction Mixer Modules

    modules: smixer_python - add support for python3
    configure.ac: build extra mixer modules conditionally
    Change snd_dlopen() function to return the error string

Test/Example code

    test: correct emulation for channel-map TLV

1.1.5
Core

    Release v1.1.5
    conf/ucm: rt5651: Add UCM config for bytcr-rt5651
    snd_user_file: avoid use wordexp
    cleanup: fix poll.h includes
    Release v1.1.4.1
    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE

Control API

    ctl: deprecate APIs of dimensional information
    ctl: ext: Fail with error code if snd_ctl_ext_callback::read_event() callback is not defined
    cleanup: fix poll.h includes

PCM API

    pcm: softvol: add support for S24_LE
    cleanup: Use uint*_t instead of u_int*_t everythwere
    cleanup: fix poll.h includes
    pcm: hw: remove superfluous code to call of SNDRV_PCM_IOCTL_SYNC_PTR in snd_pcm_hw_forward()
    pcm: hw: add a helper function to issue avail_min without side-effects
    pcm: hw: add a helper function to issue appl_ptr without side-effects
    pcm: hw: add a helper function to request hwsync without side-effects
    pcm: hw: add a helper function just to query status data
    pcm: hw: add a helper function to query status/control data
    pcm: hw: minor refactoring for initialization of control data
    pcm: hw: fix to initialize function local variable
    pcm: hw: Call USER_PVERSION ioctl at open
    pcm: hw: maintain fallback mode for control data mapping independently
    pcm: hw: maintain fallback mode for status data mapping
    pcm: hw: allocate fallback buffer in advance of trials of mapping
    pcm: hw: deallocate fallback buffer when trials of unmapping finished
    pcm: hw: add an arrangement for initialization of appl_ptr/avail_min
    pcm: hw: add helper functions to map/unmap status/control data for runtime of PCM substream
    pcm: hw: Remove superfluous call of snd_pcm_set_appl_ptr()
    pcm: minor code cleanup for ioctl call
    pcm: obsolete 'mmap_emulation' parameter of snd_pcm_hw_open_fd()
    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

RawMidi API

    rawmidi: symbols: use rawmidi_virt only when available

Sequencer API

    seq: fix snd_seq_set_queue_tempo() usage example in the documentation
    cleanup: fix poll.h includes

Topology API

    alsa-lib: topology: fix DSP_B mode string
    topology: fix coverity issues
    topology: fix usage of SND_TPLG_INDEX_ALL when checking routes
    topology: Fix private data for BEs
    topology: improve verbose output for block output.
    topology: Add support for new widget types
    topology: Add parsing for rates from conf
    topology: disable alsa-lib topology debug output by default.
    topology: Add support for missing fields parser.

ALSA Server

    cleanup: fix poll.h includes

Compatibility routines

    cleanup: Use uint*_t instead of u_int*_t everythwere

Configuration

    conf/ucm: rt5651: Mute speakers on boot
    conf/ucm: rt5651: Add missing cdev
    conf/ucm: rt5651: Fix HiFi file name
    conf/ucm: rt5651: Add UCM config for bytcr-rt5651
    conf: HdmiLpeAudio: remove the "front" pcm definition
    conf: HdmiLpeAudio: add support for 3 devices
    conf/ucm: DB410c-HiFi: add CIC selection
    conf: USB-Audio: allow custom definitions for "default" devices
    conf: USB-Audio: fix dsnoop args for Audiophile USB card
    conf: Check the availability of PTHREAD_MUTEX_RECURSIVE

Filename helpers

    snd_user_file: avoid use wordexp

Kernel Headers

    topology: Add support for new widget types
    pcm: hw: Call USER_PVERSION ioctl at open

SHM helpers

    cleanup: fix poll.h includes

Test/Example code

    test: obsolete usage of APIs of dimensional information
    test/seq-decoder: enable timestamping for external subscribers
    test: apply optimization for v4.14 kernel about changes for TLV data handling on user-defined element set
    test: add a test for list operation to user-defined element sets

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
2021-05-12 14:12:13 +00:00
rillig
b49e05bea1 audio: align variable assignments and directives
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 21:09:12 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
jperkin
ec312e4b5e Fix build on SunOS (no dirent->d_type). 2017-06-27 15:51:39 +00:00
wiz
8939715fa4 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-06-19 20:46:31 +00:00
wiz
0a78478526 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-05-29 12:42:25 +00:00
jperkin
4d3ae10e9e Include limits.h for PATH_MAX on SunOS. 2017-03-28 09:10:56 +00:00
wiz
b30de5d7d0 Remove obsolete patch (after 1.1.3 update) 2017-02-23 07:54:08 +00:00
wiz
39b4d0202f 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-02-22 14:48:08 +00:00
wiz
d8a59c0b82 Include sys/time.h for struct timespec (build fix for NetBSD-7.99.59) 2017-01-17 15:21:05 +00:00
wiedi
ccb1e24567 fix int types on SunOS 2016-12-03 20:14:05 +00:00
jperkin
8a17ab8c5f Fix build on SunOS. 2016-06-03 15:45:43 +00:00
wiz
1b4fe7e36a 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-04-15 08:47:50 +00:00
jperkin
dee1e03ce6 Use OPSYSVARS. 2016-02-25 10:15:45 +00:00
wiz
937144c2d9 Update alsa-lib to 1.1.0:
Core

    Release v1.1.0
    support building w/out System V shared memory
    fix _GNU_SOURCE handling & header inclusion
    build: Do not try to detect cross-compiler
    core: add convenience macros to local.h
    conf: topology: Add topology file for broadwell audio DSP
    topology: autotools: Add build support for topology core
    Replace list.h with its own version
    Allow hint for ctl, hwdep, timer and seq
    conf/ucm: Add Makefile.am for broadwell-rt286 ucm config

Config API

    Replace unsafe characters with _ in card name

Control API

    control: Allow cset'ing specific values in the multi-value case
    Allow hint for ctl, hwdep, timer and seq
    namehint: Fix bad free with invalid iface name
    namehint: Fix the listing without device number
    namehint: Fix invalid list access in snd_device_name_hint()

HWDEP API

    hwdep: add FireWire digi00x/tascam driver support
    Allow hint for ctl, hwdep, timer and seq

PCM API

    support building w/out System V shared memory
    pcm: drop unused sys/shm.h inclusion
    move page helpers to common code
    pcm: dmix: Handle slave PCM xrun and unexpected states properly
    pcm: ladspa: Fix segfault due to a wrong channel reference
    pcm: route: Remove bogus ! in snd_config_get_id() checks
    pcm: ioplug,extplug: Fix logic errors in type checks
    pcm: Fix doxygen for two enums
    pcm: restore hw params on set latency failed
    pcm: add support for new STATUS_EXT ioctl
    pcm: add support for get/set_audio_htstamp_config
    pcm: add helper functions to query timestamping capabilities
    PCM: snd_pcm_xxxx_drain() maybe blocked after suspend and resume
    pcm: Fix snd_pcm_status() for dmix & co
    pcm: Don't assert in _snd_pcm_hw_params_internal()
    pcm: Remove assert() from snd_pcm_hw_params_slave()
    Allow hint for ctl, hwdep, timer and seq

RawMidi API

    Allow hint for ctl, hwdep, timer and seq

Timer API

    fix _GNU_SOURCE handling & header inclusion

Topology API

    topology: Add missing prototypes for new functions
    topology: remove little endian type from userspace header
    topology: Add C API support for PCM
    topology: Add C API support for BE and CC Links.
    topology: ABI - Change stream formats to a bitwise flag
    topology: ABI - Separate PCM & BE/CC link support and bump ABI version to 4
    topology: Add API to set a vendor specific version number
    topology: pcm: Remove unused variables
    topology: parser: Add missing return value to snd_tplg_set_manifest_data()
    topology: data: Fix wrong size check in tplg_parse_data_hex()
    topology: ctl: Fix access type checks
    topology: builder: Fix possibly uninitialized variable in write_elem_block()
    topology: A API calls to directly build topology data from templates
    topology: Add C templates structure for building topology from C programs
    core: add convenience macros to local.h
    topology: rename OBJECT_TYPE_ to SND_TPLG_TYPE_
    topology: print error prefix on error message.
    topology: treat all DAPM controls types the same when copying
    topology: update ABI to improve support for different TLV object types.
    topology: Add support for writing manifest private data.
    topology: Add element ID so we can look up references by name.
    topology: fix element object type is switch()
    topology: Fix typos
    topology: Fix missing inclusion of ctype.h
    topology: autotools: Add build support for topology core
    topology: Add binary file builder.
    topology: Add Channel map parser.
    topology: Add CTL parser
    topology: Add DAPM object parser
    topology: Add private data parser
    topology: Add operations parser
    topology: Add PCM parser.
    topology: Add text section parser.
    topology: Add topology core parser.

Use Case Manager API

    fix _GNU_SOURCE handling & header inclusion
    ucm: docs: Fix doxygen formatting for UCM main page.
    ucm: allow multiple devices in JackHWMute
    ucm: improve jack configuration documentation
    ucm: reformat snd_use_case_get() doc
    ucm: document some standard values

/include/Makefile.am

    topology: autotools: Add build support for topology core

/src/Makefile.am

    topology: autotools: Add build support for topology core

Configuration

    move page helpers to common code
    fix _GNU_SOURCE handling & header inclusion
    conf: topology: Add topology file for broadwell audio DSP
    Replace unsafe characters with _ in card name
    surround41/50.conf: Use chmap syntax for better flexibility
    conf/ucm: broadwell-rt286: change to set capture volume and capture device
    conf: Add hint descriptions to ctl, hwdep, seq and timer devices
    Allow hint for ctl, hwdep, timer and seq
    conf/ucm: broadwell-rt286: change to use the correct jack kcontrol name
    USB-audio: Sound Blaster HD iec958 is on device 1
    conf/ucm: Add Makefile.am for broadwell-rt286 ucm config
    conf/ucm: broadwell-rt286: add ucm config

Documentation

    topology: doxygen: Add doxygen support for topology core.
    docs: Add UCM link to main doxygen page.
    ucm: docs: fix doxygen exclude patch for UCM local header

Kernel Headers

    topology: ABI - Rename dai_elems to pcm_elems in manifest
    topology: ABI - Change stream formats to a bitwise flag
    topology: ABI - Use __le32 instead of __u32 in snd_soc_tplg_dapm_widget
    topology: ABI - Remove unused struct snd_soc_tplg_stream_config
    topology: ABI - Remove tdm_slot & dai_fmt from snd_soc_tplg_stream
    topology: ABI - Separate PCM & BE/CC link support and bump ABI version to 4
    topology: ABI - Add name element to snd_soc_tplg_stream
    hwdep: add FireWire digi00x/tascam driver support
    topology: Add ops support to byte control objects.
    topology: update ABI to improve support for different TLV object types.
    topology: uapi: Add UAPI headers for topology ABI
    Sync include/sound/asound.h with 4.1 kernel

SHM helpers

    support building w/out System V shared memory

Test/Example code

    test: audio_time: show report validity and accuracy
    test: fix audio_time with new get/set audio_tstamp_config
    test/pcm_min: Fix error messages
    test/pcm: Fix generated values with float PCM format
2016-02-18 15:15:57 +00:00
dholland
3a751027a4 Improve endian detection; should (with a bit of luck at least) fix
build on MacOS, OpenBSD, and Bitrig.

Note: There's enough stylized goop here that lots of packages will
need to know about that we should consider creating a USE_FEATURES for
sys/endian.h.
2015-11-07 19:43:56 +00:00
agc
b734eb2ebf Add SHA512 digests for distfiles for audio category
Problems found with existing distfiles:
	/pub/pkgsrc/distfiles/amp-0.7.6.tgz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz
	/pub/pkgsrc/distfiles/kid3-3.3.0.tar.gz
	/pub/pkgsrc/distfiles/libdca-0.0.5.tar.bz2
	/pub/pkgsrc/distfiles/mp3to.gz
	/pub/pkgsrc/distfiles/squeezeboxserver-7.5.1-noCPAN.tgz
No changes made to these file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:12:23 +00:00
rumko
9c2c235f19 audio/alsa-lib: on fbsd, we need sys/timespec.h for struct timespec
Ok@ wiz
2015-01-10 10:14:20 +00:00
jperkin
7df37958c1 Expand --version-script removals for SunOS back out into package Makefiles
rather than trying to consolidate into a single fnmatch.  There aren't that
many of them, and it will aid the integration of cwrappers which doesn't
support globs.
2014-09-10 15:59:33 +00:00
jperkin
308d619fff Remove SunOS BUILDLINK_TRANSFORM instances which remove -Wl,--* GNU ld
arguments, these are now handled globally by mk/platform/SunOS.mk
2014-08-28 10:58:18 +00:00
asau
205c0d4033 FreeBSD 10 lacks "versionsort" too. 2014-06-26 20:23:14 +00:00
asau
dbcb629774 Define "__u32" and "__u64" for FreeBSD to make the package build on FreeBSD 10. 2014-06-26 20:18:11 +00:00
jperkin
e2c1cc95ac Various SunOS fixes. 2014-06-16 14:09:03 +00:00
ryoon
0f7f196708 Update to 1.0.27.2
Changelog:
Changelog between 1.0.27.1 and 1.0.27.2 releases
Core
    Release v1.0.27.2
    Allow specifying the max number of cards

Control API
    Allow specifying the max number of cards

HWDEP API
    Allow specifying the max number of cards

PCM API
    pcm_direct: fix SEGFAULT when getgrnam_r() returns 0 and pgrp is NULL
    pcm_hw: Fix buffer overflow in chmap
    chmap: Always succeed setting the map to what it already is
    pcm_direct: fix the memory leak when parsing the slave definitions
    pcm_plugin: Fix return value of snd_pcm_rewind
    pcm_hw: Remove unused fields in struct
    pcm: Fix typo in documentation: PREPARE → PREPARED.

Use Case Manager API
    ucm: Fix segfault when device argument is missing from _sw{dev, mod}

Configuration
    Allow specifying the max number of cards


Changelog between 1.0.27 and 1.0.27.1 releases
Core
    Release v1.0.27.1
    Remove an obsolete macro in configure.in
    Add AM_MAINTAINER_MODE.
    conf/ucm: Set up for installation
    Add definition of __inline__ for non-GCC
    Use __inline__ for exported headers

Control API
    Use __inline__ for exported headers

PCM API
    Use __inline__ for exported headers
    bring pcm.h and pcm.c in sync with the kernel list
    pcm.c: fix indentation

RawMidi API
    Fix several spelling errors for “writable” and derivatives.

Sequencer API
    seqmid: restore sequencer address prefix match feature

ALSA Lisp
    Fix several spelling errors for “writable” and derivatives.

Configuration
    conf/ucm: DAISY-I2S: Set default filter mode for HiFi.
    conf/ucm: Set up for installation
    conf/ucm: tegraalc5632: add UCM config from Ubuntu
    conf/ucm: SDP4430: add UCM config from Ubuntu
    conf/ucm: PandaBoardES: add UCM config from Ubuntu
    conf/ucm: PandaBoard: add UCM config from Ubuntu
    conf/ucm: DAISY-I2S: add Samsung ARM Chromebook UCM config from ChromeOS
    conf - Add Scarlett 2i2 USB to S/PDIF blacklist

Dynamic Loader helpers
    Compile in the ALSA search path instead of relying on ld.so.conf.
    Fix doubly call of dlclose() in dlobj caching code

External PCM Filter Plugin SDK
    Use __inline__ for exported headers


Changelog between 1.0.26 and 1.0.27 releases
Core
    Release v1.0.27
    all places: doxygen cleanups
    Add sys/types.h to include list
    Add snd_lib_error_set_local() to install a thread-local error handler.
    configure: do not detect incorrect cross-compiler
    Fix endian check in local.h
    configure: Quite AM_CONDITIONAL() arguments
    Add workaround for conflicting snd_seq_event_t definitions
    Merge kernel uapi/sound/asound.h and asequencer.h

Control API
    control: enhance doc for snd_ctl_ascii_value_parse() function
    control, pcm: implement snd_ctl_abort() and snd_pcm_abort() functions
    Add workaround for conflicting IEC958 controls for HD-audio
    control: Simplify using snd_config_get_bool()
    snd_device_name_hint(): do not use global snd_config.
    snd_device_name_hint(): do not change the global error handler.
    Merge kernel uapi/sound/asound.h and asequencer.h
    Implement the channel mapping API

Mixer API
    all places: doxygen cleanups
    snd_mixer_poll_descriptors_revents should loop over pollfd
    mixer: Don't build simple_abst when no libdl is available
    Reduce compilation warnings

PCM API
    pcm: direct plugins: do more safe IPC semaphore handling
    all places: doxygen cleanups
    control, pcm: implement snd_ctl_abort() and snd_pcm_abort() functions
    pcm: fix typo, should be SND_PCM_STATE_PREPARED.
    pcm: fix and optimize snd_pcm_areas_copy function
    snd_pcm_direct_parse_open_conf(): use thread-safe getgrnam_r()
    PCM: Fix conflict of _snd_pcm_hw_params definitions
    PCM: shut up a compile "unused parameter" compile warning in pcm_multi.c
    PCM: Add more chmap definitions for UAC2
    Merge kernel uapi/sound/asound.h and asequencer.h
    PCM: Avoid busy loop in snd_pcm_write_areas() with rate plugin
    Reduce compilation warnings
    PCM: Fix memory leak for pcm empty and asym plugins
    pcm: support for audio timestamps
    PCM: Fix the invalid snd_pcm_close() calls in rate plugin
    PCM: Fix infinite loop in htimestamp of dmix, dsnoop and dshare plugins
    PCM: Fill SND_CHMAP_NA to silent channels in route plugin
    PCM: A few doxygen fixes for chmap stuff
    PCM: Fix the conversion from string to chmap position
    PCM: Define MONO and other channel map positions
    PCM: Use compounds for overriding / enhancing chmaps
    PCM: Add the missing query_chmaps for route plugin
    PCM: Add chmap options to hw and null plugins
    PCM: Add query_chmaps support to multi plugin
    PCM: Add snd_pcm_chmap_long_name()
    PCM: Add SND_CHMAP_API_VERSION definition
    PCM: Add string conversion helper functions for chmap
    PCM: Fix prefix for snd_pcm_chmap_type enum members
    PCM: Implement snd_pcm_query_chmaps_from_hw()
    PCM: Introduce snd_pcm_chmap_t and snd_pcm_chmap_query_t
    Add SND_CHMAP_NA and bit flag definitions
    Follow channel position definitions to mixer channel in mixer.h
    Define channel map position enum in pcm.h
    Cache the chmap operation errors
    Implement get_chmap/set_chmap for PCM extplug/ioplug plugins
    Implement get_chmap/set_chmap for PCM plug, route and multi plugins
    Implement the channel mapping API

Sequencer API
    Merge kernel uapi/sound/asound.h and asequencer.h
    Reduce compilation warnings

Timer API
    Merge kernel uapi/sound/asound.h and asequencer.h

Use Case Manager API
    ucm: Set uc_mgr->ctl to NULL after closing it.

ALSA Lisp
    Reduce compilation warnings

Configuration
    USB-audio: Add "HP Digital Stereo Headset" to SPDIF blacklist
    Add workaround for conflicting IEC958 controls for HD-audio
    conf: Fix a memory access violation resulting from improper error propogation
    conf: Add chmap definitions to TRIDENT and SI7018 configurations
    PCM: Use compounds for overriding / enhancing chmaps
    Add chmap override definitions for Emu10k1, Audigy and Audigy2 cards

Documentation
    all places: doxygen cleanups

Dynamic Loader helpers
    Optimize NULL check in snd_dlobj_cache_put()
    Clean up dlobj cache only when no user is present

Error handler
    Add snd_lib_error_set_local() to install a thread-local error handler.

External Control Plugin SDK
    all places: doxygen cleanups

External PCM Filter Plugin SDK
    PCM: Introduce snd_pcm_chmap_t and snd_pcm_chmap_query_t
    Implement get_chmap/set_chmap for PCM extplug/ioplug plugins

External PCM I/O Plugin SDK
    PCM: Introduce snd_pcm_chmap_t and snd_pcm_chmap_query_t
    Implement get_chmap/set_chmap for PCM extplug/ioplug plugins

Kernel Headers
    PCM: Add more chmap definitions for UAC2
    Merge kernel uapi/sound/asound.h and asequencer.h
    pcm: fix 64-bit SNDRV_PCM_IOCTL_STATUS ABI breakage
    pcm: support for audio timestamps
    PCM: Define MONO and other channel map positions
    Add SND_CHMAP_NA and bit flag definitions
    Follow channel position definitions to mixer channel in mixer.h
    Implement the channel mapping API

Test/Example code
    pcm: support for audio timestamps
    test: add audio_time
    test/chmap: Fix wrong malloc size
    PCM: Add string conversion helper functions for chmap
    Fix duplicated channel entry in test/chmap.c
    Add SND_CHMAP_NA and bit flag definitions
    Follow channel position definitions to mixer channel in mixer.h
    Add test/chmap program


Changelog between 1.0.25 and 1.0.26 releases
Core
    Release v1.0.26

Control API
    ucm: Improve cset command parsing
    control: Use strcpy() instead of stpcpy()
    hctl: Remove a useless assert
    Fix the binary compatibility of ext-ctl plugin with protocol 1.0.0
    tlv: improve robustness of raw value ranges
    control_external: Add ability to specify TLV data.

Mixer API
    mixer: Remove redundant CHECK_ENUM() from snd_mixer_selem_is_enum*()

PCM API
    PCM: plug: Move fast_ops copy after slave configuration.
    PCM: Allow to run older version of extplug plugin
    pcm_dsnoop: comment fall-through in next "case"
    pcm: add missing "break" in "switch"
    doc: Fix typo in PCM formats

Sequencer API
    seqmid - more descriptions on snd_seq_parse_address() behavior

Use Case Manager API
    ucm: Add const to execute_cset() argument
    ucm: Improve cset command parsing
    ucm: Return NULL from get_list0() and get_list20() in case of empty lists.
    ucm: Add missing pthread.h include
    build: Fallback to alphasort() if versionsort() isn't available
    ucm: Handle repeat device and modifier enables/disables

Configuration
    build: Fallback to alphasort() if versionsort() isn't available
    conf: Add more USB devices to S/PDIF blacklist
    Fix invalid long long format specifier
    alsa-lib conf: Add two more USB devices to iec958 blacklist
    alsa-lib conf: block S/PDIF access for Sennheiser USB headset
    USB-Audio: Fixup card name for Logitech web camera
    USB-Audio: Blacklist iec958 for some USB devices
    conf/pcm: Add support for Echo3G devices. Thanks to unimatrix.

External Control Plugin SDK
    Fix the binary compatibility of ext-ctl plugin with protocol 1.0.0
    control_external: Add ability to specify TLV data.

Test/Example code
    test/latency.c: Fix string argument to getopt_long, so now it handles -E and -B
    Fix invalid long long format specifier

Utils
    build: Disable another compile chack with --disable-alsatest


Changelog between 1.0.24 and 1.0.25 releases
Core
    Release v1.0.25
    Introduce --with-pkgconfdir, add 64-bit defaults to gitcompile
    conf: Allow for a directory to be given as a config file.
    configure: Fail when the user attempts to compile shared and static libs
    Release v1.0.24.1

Control API
    Document strdup allocation in snd_card_get_name family
    Improve snd_device_name_hint documentation
    control: add snd_ctl_elem_add_enumerated()
    Add snd_{ctl|pcm}_open_fallback() functions
    Fix missing error code in snd_ctl_hw_open()
    ctlparse: Respect softfloat configure option

Device Name API
    Remove docs for snd_names_list and snd_names_list_free

HWDEP API
    alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker.

Mixer API
    Fix compile warnings
    Fix alsa-lib to regard 3D control - Depth as Playback Controls

PCM API
    Improve hw_params documentation
    Search-and-replace improve documentation language
    pcm:mmap_emul: Fix sw_params and others in bypass mode
    src/pcm/pcm_mmap.c: add missing free
    src/pcm/pcm_multi.c: add missing free
    src/pcm/pcm_ladspa.c: add missing free
    src/pcm/pcm_rate.c: add missing free
    pcm: recalculate all rules after changing hw_params flags
    Add snd_{ctl|pcm}_open_fallback() functions
    alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker.

Use Case Manager API
    ucm: add another sequence 'msleep'
    ucm: tivial code style fix
    ucm: fix seg fault in execute_cset()
    UCM: get: Implement 'exact' value retrieval
    UCM: snd_use_case_get: Don't segfault when no current verb
    UCM: Allow querying of {Supported,Conflicting}Devices
    UCM: Disallow gets of undefined system properties
    UCM: Implement ConflictingDevices, add device list to devices
    UCM: Deprecate index on Section{Device,Modifier}
    UCM: Fix deadlock following failed get _verb
    UCM: Fix typo in error message
    UCM: fix memory leak when executing cset commands
    UCM: Fix LGPL licence ("how to receive" part referred GPL instead LGPL)
    UCM: Fix empty get_list - initialize returned pointer to NULL
    UCM: comment fixes and fix myvalue initialization fix in add_values()
    alsa-lib: ucm: allow values to be read from devices
    ucm: add more error messages for cdev and cset commands
    ucm: allow bind modifier to specific instances, other fixes
    ucm: make verb comments optional

Configuration
    conf: Allow for a directory to be given as a config file.
    Define "sysdefault" PCM and control
    emu10k1.conf - Fix no sound problem when using SB Live! Platinum
    Specficy subdevice 0 for front/surround* of HDA-Intel.conf
    alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker.
    HDA-Intel.conf - Fix low mic volume due to pulseaudio using "front" device for playback and capture
    EMU10K1.conf: Don't lock hook controls
    Fix typo in comment in surround71.conf
    Mark Heaphone {Center|LFE} control of emu10k1 conf as optional
    Conf: Fix channels of ICE1712 to 10/12
    alsa-lib: add LaCie Firewire Speakers/Griffin FireWave Surround driver

Kernel Headers
    control: add snd_ctl_elem_add_enumerated()
    asound.h: cosmetic changes for consistency with kernel asound.h
    asound.h: update for latest kernel
    Add RME RPM to HDSP_IO_Type.

Simple Abstraction Mixer Modules
    alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker.

Test/Example code
    Fix printf for size_t
    test/latency: print error message when 2 periods per buffer not supported
    ucm: allow bind modifier to specific instances, other fixes

Utils
    Introduce --with-pkgconfdir, add 64-bit defaults to gitcompile


Changelog between 1.0.22 and 1.0.24 releases
Core
    Release v1.0.24
    configure.in: don't rely on test -a, not all shells support it
    Version-check libtool correctly when doing an out-of-tree build
    ucm: Moved ucm to src/ucm subdirectory
    general: recoded snd_dlobj_ functions
    Check for thread-specific locale support

Control API
    ucm: ctlparse - always terminate cset buffer
    control: add ASCII parsers from amixer
    tlv: fix returned dB information for min-is-mute controls
    namehint: Another fix to properly evaluate hw devices
    namehint: Fix hw device evaluation (missing last device)
    general: recoded snd_dlobj_ functions
    namehint: Evaluate more possibilities for hw devices
    Memory leak in namehint.c
    tlv: Remove tailing tab after snd_ctl_get_dB_range function
    tlv: Handle 'holes' in SND_CTL_TLVT_DB_RANGE array
    tlv: Check out of range dB with SND_CTL_TLVT_DB_RANGE
    control: tlv: Check dB range only within the control's volume range

PCM API
    pcm: fix typo in snd_pcm_recover() error message
    pcm_plugin: fix delay
    pcm: add MMAP_EMUL to type names
    pcm_plugin: remove unused client_frames and slave_frames routines
    pcm: fix snd_pcm_avail_delay() function
    support for period wakeup disabling
    pcm: pass hw_params flags to slave
    pcm direct plugins: change timestamping in dsnoop
    general: recoded snd_dlobj_ functions
    Add missing support for 3-byte formats for 16bit put conversion
    pcm: Fixed typo (wrong deleted line) instroduced in the minperiodsize patch
    pcm: introduce defaults.pcm.compat to change the params choose behaviour
    pcm: add defaults.pcm.minperiodtime parsing
    pcm_plug: fix comparison always true
    pcm - ladspa: fix small memory leak in snd_pcm_ladspa_free_instances()

Sequencer API
    seq: Fix for snd_seq_parse_address()

Use Case Manager API
    ucm: fix switch device & modifier when no transition is found
    ucm: add snd_use_case_verb_list() inline function
    ucm: fix handling of cset with spaces in the control name
    ucm: only select modifier when supported device is enabled
    ucm: implement basic script exec functionality
    ucm: check the correct return value for modifier
    ucm: check for valid value list before dereference.
    ucm: remove unused code.
    ucm: make sure active modifier and device lists are initialised
    ucm: remove parse_device() and call parse_compound() directly
    ucm: modifiers names must be compound parse
    ucm: removed unused 'active' member in struct use_case_device
    ucm: initial implementation for cdev/cset
    ucm: CTL devices are only one per card (remove DEV from comments)
    ucm: add ValueDefaults section to the master file
    ucm: add cdev
    ucm: fix parser for sequences and fix wrong strcmp
    ucm: debug parser
    ucm: implemented card list feature
    ucm: unify snd_use_case_geti(), add snd_use_case_card_list() template
    ucm: cosmetic fix
    ucm: added implementation for other ucm parts, only card name list is missing
    ucm: Introduce "Value {}" section, more implementation work
    ucm: Moved ucm to src/ucm subdirectory
    ucm: Recode header to be more universal
    ucm: core - Add initial Use Case Manager support.
    ucm: header - ALSA Use Case Manager

/include/Makefile.am
    ucm: build - add build support for Use Case Manager

/src/Makefile.am
    ucm: Moved ucm to src/ucm subdirectory
    ucm: build - add build support for Use Case Manager

ALSA Lisp
    alisp - Fix a string format ambiguity

Configuration
    aliases.conf: add aliases for CMI8788-based cards
    USB-Audio.conf: fix Audiophile USB card name
    config file processing: rewrite the locking - use one recursive mutex
    Fix typo for surround PCMs in src/conf/cards/Loopback.conf
    Add Loopback.conf to define standard PCM devices for snd-aloop driver
    HDA-Intel: do not lock IEC958 Playback switch
    pcm: introduce defaults.pcm.compat to change the params choose behaviour
    pcm: add defaults.pcm.minperiodtime parsing
    HDA-Intel: present all 4 HDMI outputs instead of just the first one
    Use thread-safe locale functions if available

Documentation
    ucm: Moved ucm to src/ucm subdirectory
    ucm: build - add build support for Use Case Manager

Dynamic Loader helpers
    general: recoded snd_dlobj_ functions

Kernel Headers
    Update hdspm.h file from Adrian Knoth - final version
    Update hdspm.h file from Adrian Knoth
    Add hdspm.h kernel header to include/alsa/sound tree for the hdspmixer app
    support for period wakeup disabling

Test/Example code
    ucm: fix parser for sequences and fix wrong strcmp
    ucm: debug parser
    ucm: implemented card list feature
    test/latency: fix timediff calculation


Changelog between 1.0.20 and 1.0.23 releases
Core
    Release v1.0.23
    add atomic operations for Blackfin parts

Control API
    modem.conf Off-hook improve behavior

PCM API
    pcm_share plugin: fix pcm->monotonic setup in open() function
    pcm_hw - show errno codes
    pcm direct plugins: drain() call might be blocked when threads are used
    pcm_dmix: add support for S24_LE format
    Fix snd_pcm_sw_params_set_period_event() implementation
    pcm: fix read_areas and write_areas
    pcm: Fix the sound distortions for S24_3LE stream in pcm_softvol plugin
    pcm: Close event timer in pcm_hw plugin
2014-06-09 12:21:07 +00:00
asau
e4bb8095e9 Fix build on FreeBSD 9-10:
- malloc.h breaks actively on FreeBSD for a long time, use stdlib.h as suggested;
- treat FreeBSD uniformly with other BSD systems.
2014-03-25 23:06:07 +00:00
asau
2fead99d50 "user-destdir" is default these days 2012-09-11 23:59:21 +00:00
jperkin
867de54d94 Use __asm__ and __volatile__.
Fixes build on at least Solaris.
2012-08-02 12:52:33 +00:00
sbd
da4dfc7c38 In the blow commit changing the type of snd_pcm_format_silence* in pcm.h
from u_int*_t to uint*_t breaks the build on other OS's (namely Linux),
so wrap the change in an "#ifdef __sun" block.

---
   Module Name:	pkgsrc
   Committed By:	hans
   Date:		Wed Feb 15 19:43:51 UTC 2012

   Modified Files:
   	pkgsrc/audio/alsa-lib: Makefile distinfo
   	pkgsrc/audio/alsa-lib/patches: patch-ac patch-ad patch-ae patch-af
   	    patch-ai patch-aj patch-ak patch-am patch-ap patch-aq patch-ar
   	    patch-at patch-au patch-aw patch-ax patch-ay patch-az patch-ba
   	    patch-bb patch-bf patch-bg patch-bh patch-include_pcm.h
   Added Files:
   	pkgsrc/audio/alsa-lib/patches: patch-src_control_control__hw.c

   Log Message:
   Fix build on SunOS.
   Inspired by the patches used for the native package in OI.


   To generate a diff of this commit:
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/audio/alsa-lib/Makefile
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/audio/alsa-lib/distinfo
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/alsa-lib/patches/patch-ac \
       pkgsrc/audio/alsa-lib/patches/patch-ad \
       pkgsrc/audio/alsa-lib/patches/patch-ae \
       pkgsrc/audio/alsa-lib/patches/patch-af \
       pkgsrc/audio/alsa-lib/patches/patch-ai \
       pkgsrc/audio/alsa-lib/patches/patch-aj \
       pkgsrc/audio/alsa-lib/patches/patch-ak \
       pkgsrc/audio/alsa-lib/patches/patch-am \
       pkgsrc/audio/alsa-lib/patches/patch-ar \
       pkgsrc/audio/alsa-lib/patches/patch-at \
       pkgsrc/audio/alsa-lib/patches/patch-au \
       pkgsrc/audio/alsa-lib/patches/patch-ax \
       pkgsrc/audio/alsa-lib/patches/patch-ay \
       pkgsrc/audio/alsa-lib/patches/patch-az \
       pkgsrc/audio/alsa-lib/patches/patch-ba \
       pkgsrc/audio/alsa-lib/patches/patch-bb \
       pkgsrc/audio/alsa-lib/patches/patch-bf \
       pkgsrc/audio/alsa-lib/patches/patch-bh
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/alsa-lib/patches/patch-ap \
       pkgsrc/audio/alsa-lib/patches/patch-aw
   cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/audio/alsa-lib/patches/patch-aq \
       pkgsrc/audio/alsa-lib/patches/patch-bg
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/alsa-lib/patches/patch-include_pcm.h
   cvs rdiff -u -r0 -r1.1 \
       pkgsrc/audio/alsa-lib/patches/patch-src_control_control__hw.c
2012-03-08 04:04:19 +00:00
hans
f7c62f909a Fix build on SunOS.
Inspired by the patches used for the native package in OI.
2012-02-15 19:43:51 +00:00
sbd
94c824d33d Use a C not a c++ comment in alsa/pcm.h. The c++ comment causes a phrase
error with the file and the autoconf header usability test to fail.

Bump PKGREVISION
2012-01-02 04:06:24 +00:00
markd
0b0104f1d5 Add a builtin.mk 2011-02-25 20:17:41 +00:00
wiz
3a83a02857 Update to 1.0.22:
Core

    Release v1.0.22
    configure.in: fix --without-softfloat
    Define _GNU_SOURCE so that <fcntl.h> gives O_CLOEXEC
    Open device nodes with close-on-exec flag
    configure.in: Add m4 check for new AM_SILENT_RULES
    cvscompile: Remove in favour of gitcompile.
    Release v1.0.21a

  Control API

    Remove redefinition of _GNU_SOURCE and __USE_GNU
    Remove old commented-out FD_CLOEXEC code
    namehint: list card independent devices only once
    namehint: Allow snd_device_name_hint to search for CTL devices.
    namehint: add missing list->card initialization
    Fix corruption after snd_device_name_hint()
    hcontrol: fix compare_default function to handle also id.device
    and id.subdevice
    control: Remove unused variable.

  HWDEP API

    Remove old commented-out FD_CLOEXEC code

  Mixer API

    mixer: fix enum check
    simple_none.c uses HAVE_SOFT_FLOAT it has to include config.h
    Fix CHECK_ENUM() in simple.c
    mixer: Add Speaker and Beep names to the weight list

  PCM API

    Update pcm doc strings
    Remove old commented-out FD_CLOEXEC code
    pcm_rate_linear: Annotate unused function parameter to avoid
    compiler warnings.
    dmix - Fix snd_pcm_info()
    pcm_hw: Always use delay ioctl in snd_pcm_delay()
    PCM - Change the hw_params determination order

  RawMidi API

    Remove old commented-out FD_CLOEXEC code

  Sequencer API

    Remove old commented-out FD_CLOEXEC code

  Timer API

    Remove redefinition of _GNU_SOURCE and __USE_GNU
    Remove old commented-out FD_CLOEXEC code
    Defined symbols exposing the hrtimer to applications.

  ALSA Lisp

    alisp: Comment out an unused function to avoid compiler warnings.

  Configuration

    Change dmix.conf to accept user configuration from
    defaults.dmix.<driver_id>.xxx
    Revert "Fix driver conf parsing in
    snd_config_hook_load_for_all_cards()"

  Dynamic Loader helpers

    Remove redefinition of _GNU_SOURCE and __USE_GNU
    Cache libasound.so access in snd_dlopen

  Kernel Headers

    Defined symbols exposing the hrtimer to applications.
2010-02-16 15:40:06 +00:00
wiz
e0574da145 Update to 1.0.21a, set LICENSE.
Mixer API

    mixer: Add Speaker and Beep names to the weight lis

PCM API

    PCM - Change the hw_params determination orde

Configuration

    Change dmix.conf to accept user configuration from
    defaults.dmix.<driver_id>.xx
    Revert "Fix driver conf parsing in snd_config_hook_load_for_all_cards()
2009-10-31 02:36:10 +00:00
hasso
9af995e6aa Make it build on DragonFly and probably some others. 2009-09-06 05:15:22 +00:00
wiz
c588ffdb1b Update alsa packages to 1.0.21.
http://www.alsa-project.org/main/index.php/Changes_v1.0.18_v1.0.19
http://www.alsa-project.org/main/index.php/Changes_v1.0.19_v1.0.20
http://www.alsa-project.org/main/index.php/Changes_v1.0.20_v1.0.21
contain ~300kB of changes.
2009-08-31 14:25:49 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
651b15d3f0 Add missing RCS Id. 2009-01-28 05:40:11 +00:00
obache
bdd3069960 Need dl and pthread to build, add buildlink.
Exactly disable detection of python.
2009-01-28 05:38:53 +00:00