Commit graph

19 commits

Author SHA1 Message Date
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
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
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
asau
205c0d4033 FreeBSD 10 lacks "versionsort" too. 2014-06-26 20:23:14 +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
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
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
obache
651b15d3f0 Add missing RCS Id. 2009-01-28 05:40:11 +00:00
hasso
e448c358b2 Fix loading modules on DragonFly. 2008-12-30 14:40:29 +00:00
hasso
9e7becee9c Make it build on DragonFly. 2008-12-25 13:18:00 +00:00
jmcneill
d3ef21e8ba Fix build, fix module loading on NetBSD. 2008-12-19 05:14:00 +00:00
jmcneill
693b8fdbcc Import alsa-lib version 1.0.18.
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system. ALSA has the following
significant features:

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