Commit graph

43 commits

Author SHA1 Message Date
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
obache
2d2f018afc Marked as DESTDIR ready. 2009-01-28 05:14:50 +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