Detailed changes v1.2.1.1 v1.2.1.2

From AlsaProject
Revision as of 19:13, 29 November 2019 by Perex (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Detailed changelog between 1.2.1.1 and 1.2.1.2 releases

Changelog between 1.2.1 and 1.2.1.2 releases

alsa-lib

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

BugLink: https://github.com/alsa-project/alsa-lib/issues/14

Topology API

- include/sound: sync with the kernel v5.4

Use Case Manager API

- ucm: add support for ControlEnum in ControlExists condition

Condition {
  Type ControlExists
  Control "name='Capture Input'"
  ControlEnum "Headphone Mic"
}

The result is true if the control exists, it is the enumerated
type and has the item with the ControlEnum text (name).

- 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

To my knowledge, no software is using the mixer element identifiers.
Rename them to be more consistent with the mixer API and add
Master element identifier and type.

- ucm: fix the cdev initialization sequence

The default values must be set before the defaults
UCM sequence is executed.

- ucm: remove the new-line for uc_error() calls - ucm: use-case.h - add <alsa/asoundlib.h> include

It is required for snd_ctl_elem_id_t and snd_mixer_selem_id_t.

- ucm: add ${CardDriver} substitution - ucm: implement ${sys:sysfs/path} substitution

Example:

Condition {
        Type String
        String1 "${sys:class/dmi/id/board_vendor}"
        String2 "LENOVO"
}

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

The header file alsa/topology.h is mandatory and needs to be checked,
too.

Detailed changelog between 1.2.1 and 1.2.1.2 releases

Changelog between 1.2.1 and 1.2.1.2 releases

alsa-ucm-conf

Configuration

- ucm2: remove the old SectionDevice syntax (additional .0) - ucm2: change 'Headphone' to 'Headphones'

It is more correct name and it is listed in use-case.h.

- sof-hda-dsp: Use more strict check for Input Source (ControlEnum) - sof-hda-dsp: use CardComponents to detect the four digital microphones - sof-hda-dsp: fix the default verbs

- do not set 'Capture Switch', it should be handled by the app
- disable the 'Auto-Mute Mode' in the driver
- remove JackHWMute for speaker, it is no longer valid

- sof-hda-dsp: add priority values - sof-hda-dsp: add support for mono microphone (HeadphoneMic = stereo, HeadsetMic = mono)

Idea-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>

- sof-hda-dsp: Return back HDMI devices to the HiFi verb - sof-hda-dsp: remove standalone Bass Speaker, fix mixer values

Use the mixer values MixerElem and MasterElem by the latest use-case.h.
Merge the Bass Speaker to Speaker. The standalone Speaker is unusable
on Lenovo Carbon X1 7th gen.

- treewide: Remove OutputDspName values

Those values are not defined in use-case.h.

- treewide: Remove JackName, JackType and JackSwitch values

Those values are not defined in use-case.h.

- sof-hda-dsp: rename PlaybackMixerId to PlaybackMixerID (per use-case.h) - SDP4430: fix ${CardID} -> ${CardId} typo - PAZ00: remove extra cdev - DB820c: fix HDMI.conf (remove cdev and fix PCM devices) - skylake-rt286: adapt more to ucm2 - chtrt5645: adapt to ucm2 - chtrt5650: adapt to ucm2 - cht-bsw-rt5672: adapt to ucm2 - cht-bsw-rt5672: adapt to ucm2 - bytcht-cx2072x: adapt to ucm2 - tegraalc5632: adapt to ucm2 - chtnau8824: adapt to ucm2 - kblrt5660: adapt to ucm2 - bytcht-es8316: adapt to ucm2 - bytcr-rt5651: adapt to ucm2 - bytcr-rt5640: adapt to ucm2 - platform/bytcr: move to ucm2 tree - ucm2: move HDAudio-*DualCodecs configs to the right card name directory