From 87c116f21d2f963319433bb9f6bdafd43c4f190b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 22 2019 20:27:28 +0000 Subject: import alsa-lib-1.1.8-1.el7 --- diff --git a/.alsa-lib.metadata b/.alsa-lib.metadata new file mode 100644 index 0000000..6ee4083 --- /dev/null +++ b/.alsa-lib.metadata @@ -0,0 +1 @@ +018523741f0b78ad5aa928202c11e6694a8c10c2 SOURCES/alsa-lib-1.1.8.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8e86abe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/alsa-lib-1.1.8.tar.bz2 diff --git a/SOURCES/alsa-lib-1.1.0-config.patch b/SOURCES/alsa-lib-1.1.0-config.patch new file mode 100644 index 0000000..76aaa8e --- /dev/null +++ b/SOURCES/alsa-lib-1.1.0-config.patch @@ -0,0 +1,40 @@ +--- alsa-lib-1.1.0/src/conf/alsa.conf.config 2016-01-12 13:07:56.904218949 +0100 ++++ alsa-lib-1.1.0/src/conf/alsa.conf 2016-01-12 13:09:16.164164628 +0100 +@@ -73,8 +73,7 @@ + defaults.pcm.compat 0 + defaults.pcm.minperiodtime 5000 # in us + defaults.pcm.ipc_key 5678293 +-defaults.pcm.ipc_gid audio +-defaults.pcm.ipc_perm 0660 ++defaults.pcm.ipc_perm 0600 + defaults.pcm.dmix.max_periods 0 + defaults.pcm.dmix.rate 48000 + defaults.pcm.dmix.format "unchanged" +diff -ruNp alsa-lib-1.0.17.orig/src/conf/pcm/dmix.conf alsa-lib-1.0.17/src/conf/pcm/dmix.conf +--- alsa-lib-1.0.17.orig/src/conf/pcm/dmix.conf 2008-07-14 10:57:56.000000000 +0200 ++++ alsa-lib-1.0.17/src/conf/pcm/dmix.conf 2008-07-21 11:51:45.000000000 +0200 +@@ -41,10 +41,6 @@ pcm.!dmix { + @func refer + name defaults.pcm.ipc_key + } +- ipc_gid { +- @func refer +- name defaults.pcm.ipc_gid +- } + ipc_perm { + @func refer + name defaults.pcm.ipc_perm +diff -ruNp alsa-lib-1.0.17.orig/src/conf/pcm/dsnoop.conf alsa-lib-1.0.17/src/conf/pcm/dsnoop.conf +--- alsa-lib-1.0.17.orig/src/conf/pcm/dsnoop.conf 2008-07-14 10:57:56.000000000 +0200 ++++ alsa-lib-1.0.17/src/conf/pcm/dsnoop.conf 2008-07-21 11:51:45.000000000 +0200 +@@ -41,10 +41,6 @@ pcm.!dsnoop { + @func refer + name defaults.pcm.ipc_key + } +- ipc_gid { +- @func refer +- name defaults.pcm.ipc_gid +- } + ipc_perm { + @func refer + name defaults.pcm.ipc_perm diff --git a/SOURCES/alsa-lib-1.1.8-post.patch b/SOURCES/alsa-lib-1.1.8-post.patch new file mode 100644 index 0000000..d933464 --- /dev/null +++ b/SOURCES/alsa-lib-1.1.8-post.patch @@ -0,0 +1,626 @@ +From 9c1439a76cea33d2cec65a42d499230d2f9a5205 Mon Sep 17 00:00:00 2001 +From: Takashi Iwai +Date: Wed, 9 Jan 2019 12:02:56 +0100 +Subject: [PATCH 1/7] pcm: Preserve period_event in snd_pcm_hw_sw_params() call + +snd_pcm_hw_sw_params() in pcm_hw.c tries to abuse the reserved bits +for passing period_Event flag. In this hackish way, we clear the +reserved bits at beginning, and restore before returning. However, +the code paths that return earlier don't restore the value, hence when +user calls this function twice, it may pass an unexpected value. + +This patch fixes the failure, restoring the value always before +returning from the function. + +Reported-by: Jamey Sharp +Signed-off-by: Takashi Iwai +--- + src/pcm/pcm_hw.c | 22 +++++++++++++--------- + 1 file changed, 13 insertions(+), 9 deletions(-) + +diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c +index 59a24200..91370a88 100644 +--- a/src/pcm/pcm_hw.c ++++ b/src/pcm/pcm_hw.c +@@ -496,7 +496,7 @@ static int snd_pcm_hw_hw_free(snd_pcm_t *pcm) + static int snd_pcm_hw_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t * params) + { + snd_pcm_hw_t *hw = pcm->private_data; +- int fd = hw->fd, err; ++ int fd = hw->fd, err = 0; + int old_period_event = sw_get_period_event(params); + sw_set_period_event(params, 0); + if ((snd_pcm_tstamp_t) params->tstamp_mode == pcm->tstamp_mode && +@@ -508,22 +508,25 @@ static int snd_pcm_hw_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t * params) + params->silence_size == pcm->silence_size && + old_period_event == hw->period_event) { + hw->mmap_control->avail_min = params->avail_min; +- return issue_avail_min(hw); ++ err = issue_avail_min(hw); ++ goto out; + } + if (params->tstamp_type == SND_PCM_TSTAMP_TYPE_MONOTONIC_RAW && + hw->version < SNDRV_PROTOCOL_VERSION(2, 0, 12)) { + SYSMSG("Kernel doesn't support SND_PCM_TSTAMP_TYPE_MONOTONIC_RAW"); +- return -EINVAL; ++ err = -EINVAL; ++ goto out; + } + if (params->tstamp_type == SND_PCM_TSTAMP_TYPE_MONOTONIC && + hw->version < SNDRV_PROTOCOL_VERSION(2, 0, 5)) { + SYSMSG("Kernel doesn't support SND_PCM_TSTAMP_TYPE_MONOTONIC"); +- return -EINVAL; ++ err = -EINVAL; ++ goto out; + } + if (ioctl(fd, SNDRV_PCM_IOCTL_SW_PARAMS, params) < 0) { + err = -errno; + SYSMSG("SNDRV_PCM_IOCTL_SW_PARAMS failed (%i)", err); +- return err; ++ goto out; + } + if ((snd_pcm_tstamp_type_t) params->tstamp_type != pcm->tstamp_type) { + if (hw->version < SNDRV_PROTOCOL_VERSION(2, 0, 12)) { +@@ -532,20 +535,21 @@ static int snd_pcm_hw_sw_params(snd_pcm_t *pcm, snd_pcm_sw_params_t * params) + if (ioctl(fd, SNDRV_PCM_IOCTL_TSTAMP, &on) < 0) { + err = -errno; + SNDMSG("TSTAMP failed\n"); +- return err; ++ goto out; + } + } + pcm->tstamp_type = params->tstamp_type; + } +- sw_set_period_event(params, old_period_event); + hw->mmap_control->avail_min = params->avail_min; + if (hw->period_event != old_period_event) { + err = snd_pcm_hw_change_timer(pcm, old_period_event); + if (err < 0) +- return err; ++ goto out; + hw->period_event = old_period_event; + } +- return 0; ++ out: ++ sw_set_period_event(params, old_period_event); ++ return err; + } + + static int snd_pcm_hw_channel_info(snd_pcm_t *pcm, snd_pcm_channel_info_t * info) +-- +2.20.1 + + +From d8013619c942dd996c32337a9ade429bfaf455ee Mon Sep 17 00:00:00 2001 +From: Hui Wang +Date: Tue, 27 Nov 2018 09:36:28 +0800 +Subject: [PATCH 2/7] conf/ucm: Add a UCM profile for Dell WD19 Dock USB-audio + +USB-audio device on Dell WD19 docking station provides two individual +output PCM streams, one for headphone Jack and another for speaker out +Jack. A UCM profile gives the proper roles for these. + +Signed-off-by: Hui Wang +Signed-off-by: Jaroslav Kysela +--- + .../ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf | 5 ++++ + src/conf/ucm/Dell-WD19-Dock/HiFi.conf | 26 +++++++++++++++++++ + src/conf/ucm/Dell-WD19-Dock/Makefile.am | 4 +++ + 3 files changed, 35 insertions(+) + create mode 100644 src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf + create mode 100644 src/conf/ucm/Dell-WD19-Dock/HiFi.conf + create mode 100644 src/conf/ucm/Dell-WD19-Dock/Makefile.am + +diff --git a/src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf b/src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf +new file mode 100644 +index 00000000..465ff550 +--- /dev/null ++++ b/src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf +@@ -0,0 +1,5 @@ ++Comment "USB-audio on Dell WD19 docking station" ++SectionUseCase."HiFi" { ++ File "HiFi.conf" ++ Comment "Default" ++} +diff --git a/src/conf/ucm/Dell-WD19-Dock/HiFi.conf b/src/conf/ucm/Dell-WD19-Dock/HiFi.conf +new file mode 100644 +index 00000000..e1427a79 +--- /dev/null ++++ b/src/conf/ucm/Dell-WD19-Dock/HiFi.conf +@@ -0,0 +1,26 @@ ++SectionDevice."Headphone" { ++ Comment "Headphone" ++ ++ Value { ++ PlaybackChannels "2" ++ PlaybackPCM "hw:Dock,0" ++ } ++} ++ ++SectionDevice."Speaker" { ++ Comment "Speaker" ++ ++ Value { ++ PlaybackChannels "2" ++ PlaybackPCM "hw:Dock,1" ++ } ++} ++ ++SectionDevice."Mic" { ++ Comment "Microphone" ++ ++ Value { ++ CaptureChannels "2" ++ CapturePCM "hw:Dock,0" ++ } ++} +diff --git a/src/conf/ucm/Dell-WD19-Dock/Makefile.am b/src/conf/ucm/Dell-WD19-Dock/Makefile.am +new file mode 100644 +index 00000000..6549ae1b +--- /dev/null ++++ b/src/conf/ucm/Dell-WD19-Dock/Makefile.am +@@ -0,0 +1,4 @@ ++alsaconfigdir = @ALSA_CONFIG_DIR@ ++ucmdir = $(alsaconfigdir)/ucm/Dell-WD19-Dock ++ucm_DATA = Dell-WD19-Dock.conf HiFi.conf ++EXTRA_DIST = $(ucm_DATA) +-- +2.20.1 + + +From 0862458c1339eec025330b39d5199481c335673c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Fri, 25 Jan 2019 12:09:31 +0100 +Subject: [PATCH 3/7] Revert "conf/ucm: Add a UCM profile for Dell WD19 Dock + USB-audio" + +This reverts commit d8013619c942dd996c32337a9ade429bfaf455ee. + +The USB driver defines identical profile as for WD15. + +Signed-off-by: Jaroslav Kysela +--- + .../ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf | 5 ---- + src/conf/ucm/Dell-WD19-Dock/HiFi.conf | 26 ------------------- + src/conf/ucm/Dell-WD19-Dock/Makefile.am | 4 --- + 3 files changed, 35 deletions(-) + delete mode 100644 src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf + delete mode 100644 src/conf/ucm/Dell-WD19-Dock/HiFi.conf + delete mode 100644 src/conf/ucm/Dell-WD19-Dock/Makefile.am + +diff --git a/src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf b/src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf +deleted file mode 100644 +index 465ff550..00000000 +--- a/src/conf/ucm/Dell-WD19-Dock/Dell-WD19-Dock.conf ++++ /dev/null +@@ -1,5 +0,0 @@ +-Comment "USB-audio on Dell WD19 docking station" +-SectionUseCase."HiFi" { +- File "HiFi.conf" +- Comment "Default" +-} +diff --git a/src/conf/ucm/Dell-WD19-Dock/HiFi.conf b/src/conf/ucm/Dell-WD19-Dock/HiFi.conf +deleted file mode 100644 +index e1427a79..00000000 +--- a/src/conf/ucm/Dell-WD19-Dock/HiFi.conf ++++ /dev/null +@@ -1,26 +0,0 @@ +-SectionDevice."Headphone" { +- Comment "Headphone" +- +- Value { +- PlaybackChannels "2" +- PlaybackPCM "hw:Dock,0" +- } +-} +- +-SectionDevice."Speaker" { +- Comment "Speaker" +- +- Value { +- PlaybackChannels "2" +- PlaybackPCM "hw:Dock,1" +- } +-} +- +-SectionDevice."Mic" { +- Comment "Microphone" +- +- Value { +- CaptureChannels "2" +- CapturePCM "hw:Dock,0" +- } +-} +diff --git a/src/conf/ucm/Dell-WD19-Dock/Makefile.am b/src/conf/ucm/Dell-WD19-Dock/Makefile.am +deleted file mode 100644 +index 6549ae1b..00000000 +--- a/src/conf/ucm/Dell-WD19-Dock/Makefile.am ++++ /dev/null +@@ -1,4 +0,0 @@ +-alsaconfigdir = @ALSA_CONFIG_DIR@ +-ucmdir = $(alsaconfigdir)/ucm/Dell-WD19-Dock +-ucm_DATA = Dell-WD19-Dock.conf HiFi.conf +-EXTRA_DIST = $(ucm_DATA) +-- +2.20.1 + + +From 7442c8b9be91ef576871eed5efce9499fcdeab4a Mon Sep 17 00:00:00 2001 +From: Srinivas Kandagatla +Date: Tue, 29 Jan 2019 10:48:28 +0000 +Subject: [PATCH 4/7] ucm: Add ucm files for DB820c board + +DB820c board is based of MSM8996 Qualcomm SoC, which has support for both +Digital and Analog audio. Digital audio is over HDMI and analog is over +WCD9335 codec via SLIMbus. + +Board itself has HDMI port, a 3.5mm audio Jack and an Audio expansion +connector. +This patch adds support for HDMI port and 3.5mm jack. + +Signed-off-by: Srinivas Kandagatla +Signed-off-by: Takashi Iwai +--- + configure.ac | 1 + + src/conf/ucm/DB820c/DB820c.conf | 9 +++ + src/conf/ucm/DB820c/HDMI | 37 +++++++++++ + src/conf/ucm/DB820c/HiFi | 110 ++++++++++++++++++++++++++++++++ + src/conf/ucm/DB820c/Makefile.am | 4 ++ + src/conf/ucm/Makefile.am | 1 + + 6 files changed, 162 insertions(+) + create mode 100644 src/conf/ucm/DB820c/DB820c.conf + create mode 100644 src/conf/ucm/DB820c/HDMI + create mode 100644 src/conf/ucm/DB820c/HiFi + create mode 100644 src/conf/ucm/DB820c/Makefile.am + +diff --git a/configure.ac b/configure.ac +index a0c346ef..e9e1a369 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -747,6 +747,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ + src/conf/ucm/cube-i1_TF-Defaultstring-CherryTrailCR/Makefile \ + src/conf/ucm/DAISY-I2S/Makefile \ + src/conf/ucm/DB410c/Makefile \ ++ src/conf/ucm/DB820c/Makefile \ + src/conf/ucm/Dell-WD15-Dock/Makefile \ + src/conf/ucm/GoogleNyan/Makefile \ + src/conf/ucm/gpd-win-pocket-rt5645/Makefile \ +diff --git a/src/conf/ucm/DB820c/DB820c.conf b/src/conf/ucm/DB820c/DB820c.conf +new file mode 100644 +index 00000000..58b7ff4e +--- /dev/null ++++ b/src/conf/ucm/DB820c/DB820c.conf +@@ -0,0 +1,9 @@ ++SectionUseCase."HiFi" { ++ File "HiFi" ++ Comment "HiFi quality Music." ++} ++ ++SectionUseCase."HDMI" { ++ File "HDMI" ++ Comment "HDMI output." ++} +diff --git a/src/conf/ucm/DB820c/HDMI b/src/conf/ucm/DB820c/HDMI +new file mode 100644 +index 00000000..39b28692 +--- /dev/null ++++ b/src/conf/ucm/DB820c/HDMI +@@ -0,0 +1,37 @@ ++# Use case configuration for DB820c board. ++# Author: Srinivas Kandagatla ++ ++SectionVerb { ++ EnableSequence [ ++ cdev "hw:0" ++ cset "name='HDMI Mixer MultiMedia1' 1" ++ ] ++ ++ DisableSequence [ ++ cdev "hw:0" ++ cset "name='HDMI Mixer MultiMedia1' 0" ++ ] ++ Value { ++ TQ "HiFi" ++ PlaybackPCM "plughw:0,0" ++ } ++} ++ ++SectionDevice."HDMI-stereo" { ++ #Name "HDMI-stereo" ++ Comment "HDMI Digital Stereo Output" ++ ++ EnableSequence [ ++ cdev "hw:0" ++ cset "name='HDMI Mixer MultiMedia1' 1" ++ ] ++ ++ DisableSequence [ ++ cdev "hw:0" ++ cset "name='HDMI Mixer MultiMedia1' 0" ++ ] ++ ++ Value { ++ PlaybackChannels "2" ++ } ++} +diff --git a/src/conf/ucm/DB820c/HiFi b/src/conf/ucm/DB820c/HiFi +new file mode 100644 +index 00000000..4457329f +--- /dev/null ++++ b/src/conf/ucm/DB820c/HiFi +@@ -0,0 +1,110 @@ ++# Use case configuration for DB820c board. ++# Author: Srinivas Kandagatla ++ ++SectionVerb { ++ ++ EnableSequence [ ++ cdev "hw:0" ++ cset "name='SLIM RX0 MUX' ZERO" ++ cset "name='SLIM RX1 MUX' ZERO" ++ cset "name='SLIM RX2 MUX' ZERO" ++ cset "name='SLIM RX3 MUX' ZERO" ++ cset "name='SLIM RX4 MUX' ZERO" ++ cset "name='SLIM RX5 MUX' AIF4_PB" ++ cset "name='SLIM RX6 MUX' AIF4_PB" ++ cset "name='SLIM RX7 MUX' ZERO" ++ cset "name='RX INT1_2 MUX' RX5" ++ cset "name='RX INT2_2 MUX' RX6" ++ ## gain to 0dB ++ cset "name='RX5 Digital Volume' 68" ++ ## gain to 0dB ++ cset "name='RX6 Digital Volume' 68" ++ cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 1" ++ cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 1" ++ cset "name='RX INT1 DEM MUX' CLSH_DSM_OUT" ++ cset "name='RX INT2 DEM MUX' CLSH_DSM_OUT" ++ cset "name='AIF1_CAP Mixer SLIM TX0' 1" ++ cset "name='SLIM TX0 MUX' DEC0" ++ cset "name='ADC2 Volume' 12" ++ cset "name='ADC MUX0' AMIC" ++ cset "name='AMIC MUX0' ADC2" ++ ] ++ ++ DisableSequence [ ++ cdev "hw:0" ++ cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 0" ++ cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 0" ++ ] ++ ++ # ALSA PCM ++ Value { ++ # ALSA PCM device for HiFi ++ PlaybackPCM "plughw:0,1" ++ CapturePCM "plughw:0,2" ++ } ++} ++ ++SectionDevice."Headphones" { ++ Comment "Headphones playback" ++ ++ EnableSequence [ ++ cdev "hw:0" ++ cset "name='SLIM RX0 MUX' ZERO" ++ cset "name='SLIM RX1 MUX' ZERO" ++ cset "name='SLIM RX2 MUX' ZERO" ++ cset "name='SLIM RX3 MUX' ZERO" ++ cset "name='SLIM RX4 MUX' ZERO" ++ cset "name='SLIM RX5 MUX' AIF4_PB" ++ cset "name='SLIM RX6 MUX' AIF4_PB" ++ cset "name='SLIM RX7 MUX' ZERO" ++ cset "name='RX INT1_2 MUX' RX5" ++ cset "name='RX INT2_2 MUX' RX6" ++ ## gain to 0dB ++ cset "name='RX5 Digital Volume' 68" ++ ## gain to 0dB ++ cset "name='RX6 Digital Volume' 68" ++ cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 1" ++ cset "name='RX INT1 DEM MUX' CLSH_DSM_OUT" ++ cset "name='RX INT2 DEM MUX' CLSH_DSM_OUT" ++ ] ++ ++ DisableSequence [ ++ cdev "hw:0" ++ cset "name='RX5 Digital Volume' 0" ++ cset "name='RX6 Digital Volume' 0" ++ cset "name='SLIM RX5 MUX' ZERO" ++ cset "name='SLIM RX6 MUX' ZERO" ++ cset "name='SLIMBUS_6_RX Audio Mixer MultiMedia2' 0" ++ ] ++ ++ Value { ++ PlaybackChannels "2" ++ } ++} ++ ++SectionDevice."Handset" { ++ Comment "Headset Microphone" ++ ++ EnableSequence [ ++ cdev "hw:0" ++ cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 1" ++ cset "name='AIF1_CAP Mixer SLIM TX0' 1" ++ cset "name='SLIM TX0 MUX' DEC0" ++ cset "name='ADC2 Volume' 12" ++ cset "name='ADC MUX0' AMIC" ++ cset "name='AMIC MUX0' ADC2" ++ ] ++ ++ DisableSequence [ ++ cdev "hw:0" ++ cset "name='MultiMedia3 Mixer SLIMBUS_0_TX' 0" ++ cset "name='AIF1_CAP Mixer SLIM TX0' 0" ++ cset "name='AMIC MUX0' ZERO" ++ cset "name='SLIM TX0 MUX' ZERO" ++ cset "name='ADC2 Volume' 0" ++ ] ++ ++ Value { ++ CaptureChannels "1" ++ } ++} +diff --git a/src/conf/ucm/DB820c/Makefile.am b/src/conf/ucm/DB820c/Makefile.am +new file mode 100644 +index 00000000..16e985e5 +--- /dev/null ++++ b/src/conf/ucm/DB820c/Makefile.am +@@ -0,0 +1,4 @@ ++alsaconfigdir = @ALSA_CONFIG_DIR@ ++ucmdir = $(alsaconfigdir)/ucm/DB820c ++ucm_DATA = DB820c.conf HDMI HiFi ++EXTRA_DIST = $(ucm_DATA) +diff --git a/src/conf/ucm/Makefile.am b/src/conf/ucm/Makefile.am +index ee850ee6..e9f88ed6 100644 +--- a/src/conf/ucm/Makefile.am ++++ b/src/conf/ucm/Makefile.am +@@ -31,6 +31,7 @@ chtrt5650 \ + cube-i1_TF-Defaultstring-CherryTrailCR \ + DAISY-I2S \ + DB410c \ ++DB820c \ + Dell-WD15-Dock \ + GoogleNyan \ + gpd-win-pocket-rt5645 \ +-- +2.20.1 + + +From 4d9374e61d23a5fc219ec172fe9613017f9ae79c Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Sun, 3 Feb 2019 12:37:41 +0100 +Subject: [PATCH 5/7] ucm: bytcr/PlatformEnableSeq.conf update some comments + +Commit f91cc3c7d6b7 ("Update chtrt5645 ucm variants to use +bytcr/PlatformEnableSeq.conf component") updated the +following 2 comments: + + # codec0_out settings (used if SSP2 is connected to aif1) + # modem_out settings (used if SSP0 is connected to aif2) + +Specifically it added the " to aif1" resp. " to aif2" part of the comments. + +This is not correct, AIF1 / AIF2 are something which is present on +Realtek codecs only, and either one can be used indepedent of +SSP0 or SSP2 being used (the comments in the chtrt5645 UCM profile +before this change were wrong / outdated). + +Besides there not being any relationship between SSP0 or SSP2 being +used, bytcr/PlatformEnableSeq.conf is also used with other codecs, +e.g. the ESS8316 codec where this is not applicable at all. + +Therefor this commit removes the " to aif?" part of the comments again +to avoid confusing people reading this in the future. + +Cc: Russell Parker +Signed-off-by: Hans de Goede +Signed-off-by: Takashi Iwai +--- + src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf b/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf +index 6f5e899c..b5ee2b41 100644 +--- a/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf ++++ b/src/conf/ucm/platforms/bytcr/PlatformEnableSeq.conf +@@ -29,7 +29,7 @@ cset "name='pcm0_in Gain 0 Volume' 0" + cset "name='pcm1_in Gain 0 Switch' off" + cset "name='pcm1_in Gain 0 Volume' 0%" + +-# codec0_out settings (used if SSP2 is connected to aif1) ++# codec0_out settings (used if SSP2 is connected) + cset "name='codec_out0 mix 0 codec_in0 Switch' off" + cset "name='codec_out0 mix 0 codec_in1 Switch' off" + cset "name='codec_out0 mix 0 media_loop1_in Switch' off" +@@ -40,7 +40,7 @@ cset "name='codec_out0 mix 0 sprot_loop_in Switch' off" + cset "name='codec_out0 Gain 0 Switch' on" + cset "name='codec_out0 Gain 0 Volume' 0" + +-# modem_out settings (used if SSP0 is connected to aif2) ++# modem_out settings (used if SSP0 is connected) + cset "name='modem_out mix 0 codec_in0 Switch' off" + cset "name='modem_out mix 0 codec_in1 Switch' off" + cset "name='modem_out mix 0 media_loop1_in Switch' off" +-- +2.20.1 + + +From 7cea8c156204ebae7c0dc60801dde5ddfa5bb7d0 Mon Sep 17 00:00:00 2001 +From: Brendan Shanks +Date: Mon, 11 Feb 2019 11:51:26 -0800 +Subject: [PATCH 6/7] pcm: dshare: Fix overflow when slave_hw_ptr rolls over + boundary +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +In snd_pcm_dshare_sync_area() when 'slave_hw_ptr' rolls over +'slave_boundary', the wrong variable is checked ('dshare->slave_hw_ptr' vs +the local 'slave_hw_ptr'). In some cases, this results in 'slave_hw_ptr' +not rolling over correctly. 'slave_size' and 'size' are then much too +large, and the for loop blocks for several minutes copying samples. + +This was likely only triggered on 32-bit systems, since the PCM boundary +is computed based on LONG_MAX and is much larger on 64-bit systems. + +This same change was made to pcm_dmix in commit +6c7f60f7a982fdba828e4530a9d7aa0aa2b704ae ("Fix boundary overlap”) from +June 2005. + +Signed-off-by: Brendan Shanks +Signed-off-by: Takashi Iwai +--- + src/pcm/pcm_dshare.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/pcm/pcm_dshare.c b/src/pcm/pcm_dshare.c +index 2bb735fe..f135b5df 100644 +--- a/src/pcm/pcm_dshare.c ++++ b/src/pcm/pcm_dshare.c +@@ -121,7 +121,7 @@ static void snd_pcm_dshare_sync_area(snd_pcm_t *pcm) + */ + slave_hw_ptr -= slave_hw_ptr % dshare->slave_period_size; + slave_hw_ptr += dshare->slave_buffer_size; +- if (dshare->slave_hw_ptr > dshare->slave_boundary) ++ if (slave_hw_ptr >= dshare->slave_boundary) + slave_hw_ptr -= dshare->slave_boundary; + if (slave_hw_ptr < dshare->slave_appl_ptr) + slave_size = slave_hw_ptr + (dshare->slave_boundary - dshare->slave_appl_ptr); +-- +2.20.1 + + +From deb07a0b208225393efc6347556310f3d8adb54d Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Fri, 1 Mar 2019 12:43:19 +0100 +Subject: [PATCH 7/7] test/latency: use frame bytes correctly in writebuf() + +Reported-by: Alessandro Lapini +Signed-off-by: Jaroslav Kysela +--- + test/latency.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/test/latency.c b/test/latency.c +index e926856b..ddd5a7af 100644 +--- a/test/latency.c ++++ b/test/latency.c +@@ -374,6 +374,7 @@ long readbuf(snd_pcm_t *handle, char *buf, long len, size_t *frames, size_t *max + long writebuf(snd_pcm_t *handle, char *buf, long len, size_t *frames) + { + long r; ++ int frame_bytes = (snd_pcm_format_width(format) / 8) * channels; + + while (len > 0) { + r = snd_pcm_writei(handle, buf, len); +@@ -383,7 +384,7 @@ long writebuf(snd_pcm_t *handle, char *buf, long len, size_t *frames) + if (r < 0) + return r; + // showstat(handle, 0); +- buf += r * 4; ++ buf += r * frame_bytes; + len -= r; + *frames += r; + } +-- +2.20.1 + diff --git a/SOURCES/asound.conf b/SOURCES/asound.conf new file mode 100644 index 0000000..da7ab7c --- /dev/null +++ b/SOURCES/asound.conf @@ -0,0 +1,3 @@ +# +# Place your global alsa-lib configuration here... +# diff --git a/SOURCES/modprobe-dist-alsa.conf b/SOURCES/modprobe-dist-alsa.conf new file mode 100644 index 0000000..cf31fa6 --- /dev/null +++ b/SOURCES/modprobe-dist-alsa.conf @@ -0,0 +1,9 @@ +# ALSA Sound Support +# +# We want to ensure that snd-seq is always loaded for those who want to use +# the sequencer interface, but we can't do this automatically through udev +# at the moment...so we have this rule (just for the moment). +# +# Remove the following line if you don't want the sequencer. + +install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-seq diff --git a/SOURCES/modprobe-dist-oss.conf b/SOURCES/modprobe-dist-oss.conf new file mode 100644 index 0000000..21f93cc --- /dev/null +++ b/SOURCES/modprobe-dist-oss.conf @@ -0,0 +1,8 @@ +# OSS Sound Support +# This has been disabled in F11 onwards because it can interfere with the +# PulseAudio sound service (a legacy OSS application can prevent PulseAudio +# applications from playing sound by preventing PulseAudio from (re-)opening +# the sound device). To re-enable support, copy this file to +# the /etc/modprobe.d directory. +# +install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss diff --git a/SPECS/alsa-lib.spec b/SPECS/alsa-lib.spec new file mode 100644 index 0000000..965d667 --- /dev/null +++ b/SPECS/alsa-lib.spec @@ -0,0 +1,484 @@ +#define prever rc3 +#define prever_dot .rc3 +#define postver a + +Summary: The Advanced Linux Sound Architecture (ALSA) library +Name: alsa-lib +Version: 1.1.8 +Release: 1%{?prever_dot}%{?dist} +License: LGPLv2+ +Group: System Environment/Libraries +URL: http://www.alsa-project.org/ + +Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}%{?postver}.tar.bz2 +Source10: asound.conf +Source11: modprobe-dist-alsa.conf +Source12: modprobe-dist-oss.conf +Patch0: alsa-lib-1.1.8-post.patch +Patch1: alsa-lib-1.1.0-config.patch + +BuildRequires: doxygen +BuildRequires: autoconf automake libtool +Requires(post): /sbin/ldconfig, coreutils + +%description +The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI +functionality to the Linux operating system. + +This package includes the ALSA runtime libraries to simplify application +programming and provide higher level functionality as well as support for +the older OSS API, providing binary compatibility for most OSS programs. + +%package devel +Summary: Development files from the ALSA library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI +functionality to the Linux operating system. + +This package includes the ALSA development libraries for developing +against the ALSA libraries and interfaces. + +%prep +%setup -q -n %{name}-%{version}%{?prever}%{?postver} +%patch0 -p1 -b .post +%patch1 -p1 -b .config +autoreconf -f -i + +%build +%configure --disable-aload --with-plugindir=%{_libdir}/alsa-lib --disable-alisp + +# Remove useless /usr/lib64 rpath on 64bit archs +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + +make %{?_smp_mflags} V=1 +make doc + +%install +make DESTDIR=%{buildroot} install + +# We need the library to be available even before /usr might be mounted +mkdir -p %{buildroot}/%{_lib} +mv %{buildroot}%{_libdir}/libasound.so.* %{buildroot}/%{_lib} +ln -snf ../../%{_lib}/libasound.so.2 %{buildroot}%{_libdir}/libasound.so + +# Install global configuration files +mkdir -p -m 755 %{buildroot}/etc +install -p -m 644 %{SOURCE10} %{buildroot}/etc + +# Install the modprobe files for ALSA +mkdir -p -m 755 %{buildroot}/lib/modprobe.d/ +install -p -m 644 %{SOURCE11} %{buildroot}/lib/modprobe.d/dist-alsa.conf +# bug#926973, place this file to the doc directory +mkdir -p -m 755 %{buildroot}%{_defaultdocdir}/%{name}/ +install -p -m 644 %{SOURCE12} %{buildroot}%{_defaultdocdir}/%{name}/modprobe-dist-oss.conf + +# Create UCM directory +mkdir -p %{buildroot}/%{_datadir}/alsa/ucm +# Remove all UCM files (should be selected by architecture) +rm -rf %{buildroot}/%{_datadir}/alsa/ucm/* +# Remove smixer .so modules +rm -rf %{buildroot}/%{_libdir}/alsa-lib/smixer + +#Remove libtool archives. +find %{buildroot} -name '*.la' -delete + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING TODO doc/asoundrc.txt +# file is as old as 0.2.0 / Red Hat bugzilla #510212 +#doc Changelog +%{_defaultdocdir}/%{name}/modprobe-dist-oss.conf +%config %{_sysconfdir}/asound.conf +/%{_lib}/libasound.so.* +%{_bindir}/aserver +#{_libdir}/alsa-lib/ +%{_datadir}/alsa/ +/lib/modprobe.d/dist-* + +%files devel +%defattr(-,root,root,-) +%doc doc/doxygen/ +%{_includedir}/alsa/ +%{_includedir}/sys/asoundlib.h +%{_libdir}/libasound.so +%{_libdir}/pkgconfig/alsa.pc +%{_datadir}/aclocal/alsa.m4 + +%changelog +* Mon Mar 11 2019 Jaroslav Kysela - 1.1.8-1 +- Updated to 1.1.8 +- Resolves: rhbz#1658083 + +* Tue May 22 2018 Jaroslav Kysela - 1.1.6-2 +- Updated to 1.1.6 +- Resolves: rhbz#1578680 + +* Sun Oct 22 2017 Jaroslav Kysela - 1.1.4.1-2 +- Updated to 1.1.4.1 +- Resolves: rhbz#1485645 + +* Wed Mar 1 2017 Jaroslav Kysela - 1.1.3-3 +- Updated to 1.1.3 +- Resolves: rhbz#1399508 + +* Mon Jun 6 2016 Jaroslav Kysela - 1.1.1-1 +- Updated to 1.1.1 +- Resolves: rhbz#1297932 + +* Tue Sep 16 2014 Jaroslav Kysela - 1.0.28-2 +- Fix minor coverity bug + +* Mon Sep 15 2014 Jaroslav Kysela - 1.0.28-1 +- Updated to 1.0.28 +- Resolves: rhbz#1112204 + +* Fri Jan 24 2014 Daniel Mach - 1.0.27.2-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.0.27.2-2 +- Mass rebuild 2013-12-27 + +* Mon Jul 08 2013 Jaroslav Kysela - 1.0.27.2-1 +- Updated to 1.0.27.2 + +* Thu May 30 2013 Jaroslav Kysela - 1.0.27.1-2 +- Fixed bug#953352 + +* Tue May 21 2013 Jaroslav Kysela - 1.0.27.1-1 +- Updated to 1.0.27.1 + +* Tue May 07 2013 Rex Dieter 1.0.27-3 +- pull in upstream fix for building in C90 mode + +* Thu Apr 11 2013 Jaroslav Kysela - 1.0.27-2 +- move dist-oss.conf to doc as modprobe-dist-oss.conf + +* Thu Apr 11 2013 Jaroslav Kysela - 1.0.27-1 +- Updated to 1.0.27 + +* Wed Apr 03 2013 Stephen Gallagher - 1.0.26-4 +- Add upstream patch to explicitly include sys/types.h + +* Wed Feb 13 2013 Fedora Release Engineering - 1.0.26-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Dec 3 2012 Peter Robinson 1.0.26-2 +- Create and own ucm directory so alsaucm doesn't crash. +- Cleanup and modernise spec + +* Thu Sep 6 2012 Jaroslav Kysela - 1.0.26-1 +- Updated to 1.0.26 + +* Thu Jul 26 2012 Michael Schwendt - 1.0.25-6 +- Don't package ancient ChangeLog that ends at alsa-lib 0.2.0 (#510212). + +* Wed Jul 18 2012 Fedora Release Engineering - 1.0.25-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed May 2 2012 Josh Boyer - 1.0.25-4 +- Install ALSA related module conf files + +* Wed Feb 1 2012 Jaroslav Kysela - 1.0.25-3 +- Remove the pulse audio configuration from /etc/asound.conf + +* Sat Jan 28 2012 Jaroslav Kysela - 1.0.25-1 +- Updated to 1.0.25 final + +* Thu Jan 12 2012 Fedora Release Engineering - 1.0.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 1.0.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jan 28 2011 Jaroslav Kysela - 1.0.24-1 +- Updated to 1.0.24 final + +* Tue Nov 9 2010 Jochen Schmitt 1.0.23-2 +- Set plugindir to %%{_libdir}/alsa-lib (bz#651507) + +* Fri Apr 16 2010 Jaroslav Kysela - 1.0.23-1 +- Updated to 1.0.23 final + +* Mon Dec 28 2009 Jaroslav Kysela - 1.0.22-1 +- Updated to 1.0.22 final +- Fix file descriptor leak in pcm_hw plugin +- Fix sound distortions for S24_LE - softvol plugin + +* Wed Sep 9 2009 Jaroslav Kysela - 1.0.21-3 +- Add Speaker and Beep control names to mixer weight list +- Fix redhat bug #521988 + +* Wed Sep 2 2009 Jaroslav Kysela - 1.0.21-1 +- Updated to 1.0.21 final + +* Fri Jul 24 2009 Fedora Release Engineering - 1.0.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed May 6 2009 Jaroslav Kysela - 1.0.20-1 +- Updated to 1.0.20 final + +* Mon Feb 23 2009 Fedora Release Engineering - 1.0.19-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 4 2009 Jaroslav Kysela - 1.0.19-2 +- Make doxygen documentation same for all architectures (bz#465205) + +* Tue Jan 20 2009 Jaroslav Kysela - 1.0.19-1 +- Updated to 1.0.19 final + +* Tue Nov 4 2008 Jaroslav Kysela - 1.0.18-7 +- Updated to 1.0.18 final + +* Wed Sep 10 2008 Jaroslav Kysela - 1.0.18-6.rc3 +- fix /etc directory issue + +* Wed Sep 10 2008 Jaroslav Kysela - 1.0.18-5.rc3 +- move alsactl.conf to alsa-utils package + +* Wed Sep 10 2008 Jaroslav Kysela - 1.0.18-4.rc3 +- fixed spec file +- fixed package version number (1.0.18-3.rc3 was tagged by accident) + +* Wed Sep 10 2008 Jaroslav Kysela - 1.0.18-1.rc3 +- updated to 1.0.18rc3 +- moved /etc/alsa configuration files back to /usr/share/alsa +- removed pulse default patch (moved to /etc/asound.conf) +- added /etc/asound.conf and /etc/alsa/alsactl.conf +- disable /dev/aload device checking (obsolete for 2.6 kernels) + +* Fri Aug 15 2008 Jaroslav Kysela - 1.0.17-3 +- updated to 1.0.17a + +* Mon Jul 21 2008 Jaroslav Kysela - 1.0.17-2 +- added four patches from upstream (to better support pulseaudio) + +* Mon Jul 21 2008 Jaroslav Kysela - 1.0.17-1 +- updated to 1.0.17 final + +* Thu Apr 3 2008 Jim Radford - 1.0.16-3 +- Fix multilib doxygen conflicts + +* Tue Feb 19 2008 Fedora Release Engineering - 1.0.16-2 +- Autorebuild for GCC 4.3 + +* Mon Feb 18 2008 Martin Stransky 1.0.16-1 +- updated to 1.0.16 final + +* Mon Oct 29 2007 Martin Stransky 1.0.15-1 +- updated to 1.0.15 final + +* Wed Oct 17 2007 Lennart Poettering 1.0.15-0.3.rc3 +- Add hook to /etc/alsa/alsa.conf so that /etc/alsa/default-pulse.conf + is loaded when it exists. This allows us to enable the pulse plugin by + default depending on whether it is installed or not. + +* Mon Oct 15 2007 Martin Stransky 1.0.15-0.3.rc3 +- updated to 1.0.15rc3 + +* Thu Sep 20 2007 Matthias Saou 1.0.15-0.2.rc2 +- Update License field. +- Use configdir instead of sysconfdir hacks (cleaner). +- Remove redundant optflags overriding. +- Switch to using main "version", and merge "postver" since this is the right + way of doing things (see NamingGuidelines#NonNumericRelease). +- Remove static library. +- Mark all of /etc/alsa as config, but not "noreplace". +- Remove useless rpath on 64bit archs. + +* Wed Sep 19 2007 Martin Stransky 1.0.15-0.1.rc2 +- updated to 1.0.15rc2 + +* Thu Aug 16 2007 Martin Stransky 1.0.14-3 +- updated to 1.0.14a + +* Wed Aug 15 2007 Lennart Poettering 1.0.14-2 +- fixed #251307 - fix plugindir directory specification +- fix build with newer glibc where open() is a macro + +* Wed Jul 25 2007 Martin Stransky 1.0.14-1 +- bumped release number +- fixed #246011 - alsa-lib should own /usr/lib/alsa-lib/smixer + +* Thu Jun 7 2007 Martin Stransky 1.0.14-0.5 +- new upstream + +* Tue Apr 10 2007 Martin Stransky 1.0.14-0.4.rc3 +- added fix for #233764 - unowned directories + +* Thu Mar 8 2007 Martin Stransky 1.0.14-0.3.rc3 +- new upstream + +* Fri Jan 19 2007 Martin Stransky 1.0.14-0.2.rc2 +- new upstream + +* Mon Dec 11 2006 Martin Stransky 1.0.14-0.1.rc1 +- new upstream + +* Fri Aug 25 2006 Martin Stransky 1.0.12-2 +- new upstream + +* Mon Aug 07 2006 Martin Stransky 1.0.12-1.rc2 +- new upstream + +* Thu Jul 20 2006 Martin Stransky 1.0.12-1.rc1 +- new upstream +- removed ainit (no longer needed in the new upstream) + +* Wed Jul 19 2006 Jesse Keating - 1.0.11-6.rc2 +- fix release for upgrade path + +* Wed Jul 12 2006 Jesse Keating - 1.0.11-3.rc2.2.1 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 1.0.11-3.rc2.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.0.11-3.rc2.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Feb 3 2006 Martin Stransky 1.0.11-3.rc2 +- fix for #179446 - don't remove old SHM memory/keys during login + +* Fri Jan 13 2006 Martin Stransky 1.0.11-2.rc2 +- fix for #169729 - Kernel update makes snd-atiixp-modem & slmodemd fail +- new ainit (0.7) should fix some problems with root users + +* Thu Jan 12 2006 Martin Stransky 1.0.11-1.rc2 +- new upstream version + +* Tue Jan 3 2006 Jesse Keating 1.0.10rf-4 +- rebuilt + +* Fri Dec 9 2005 Martin Stransky 1.0.10rf-3 +- rights for shared memory have been moved to config files + +* Fri Dec 2 2005 Martin Stransky 1.0.10rf-2 +- fix in spec file (#159046) + +* Thu Nov 24 2005 Martin Stransky 1.0.10rf-1 +- new upstream version + +* Tue Sep 27 2005 Martin Stransky 1.0.10rc1-2 +- fixes in config files, new ainit (for #166086) + +* Tue Sep 27 2005 Martin Stransky 1.0.10rc1-1 +- new upstream version + +* Wed Jul 20 2005 Martin Stransky 1.0.9rf-3 +- check for /var/run/console/console.lock (#162982) + +* Thu Jun 16 2005 Martin Stransky 1.0.9rf-2 +- fix for #159411 + +* Mon May 30 2005 Martin Stransky 1.0.9rf-1 +- New upstream version +- moved alsacard utility to alsa-utils + +* Fri May 27 2005 Martin Stransky 1.0.9rc4-2 +- alsacard utility for s-c-s + +* Tue May 24 2005 Bill Nottingham 1.0.9rc4-1 +- update to 1.0.9rc4 (#157180, #158547) + +* Wed May 18 2005 Martin Stransky 1.0.9rc2-5 +- fix for #130593 +- new ainit (dmix/dsnoop is default only for cards which really need it) +- fix dsnoop +- add fix for mixer (from https://bugs.gentoo.org/attachment.cgi?id=58918) + +* Wed May 04 2005 Than Ngo 1.0.9rc2-4 +- apply patch to fix artsd daemon crash #156592 + +* Tue May 3 2005 Martin Stransky 1.0.9rc2-3 +- fixed ainit (#156278, #156505) + +* Thu Apr 28 2005 David Woodhouse 1.0.9rc2-2 +- Fix bogus use of fgetc() in ainit. (#156278) + +* Fri Apr 22 2005 Martin Stransky 1.0.9rc2-1 +- updated to 1.0.9rc2 +- add ainit tool +- dmix is now default pcm device + +* Mon Mar 7 2005 Martin Stransky 1.0.8-4.devel +- gcc4 patch + +* Tue Feb 15 2005 Martin Stransky 1.0.8-3.devel +- add $RPM_OPT_FLAGS to CFLAGS + +* Fri Feb 11 2005 Martin Stransky 1.0.8-2.devel +- add alpha patch (#147388, thx to Sergey Tikhonov) +- fix alsa-mixer on ICH6 system (#146607) + +* Wed Jan 26 2005 Martin Stransky 1.0.8-1.devel +- update to 1.0.8 +- temporarily removed alsa-lib-1.0.7-asym-config.patch + +* Mon Jan 10 2005 Martin Stransky 1.0.7-3.devel +- fix #144518 - stack protection control + +* Sat Jan 08 2005 Colin Walters 1.0.7-2 +- New patch alsa-lib-1.0.7-asym-config.patch, sets up asym + in the default config file and makes it easy to make it + the default via an environment variable. Also increases the + default dmix buffer variables. +- Mark /etc/alsa/alsa.conf as a config file, and use sysconfdir + variable + +* Thu Jan 06 2005 Colin Walters 1.0.7-1 +- New upstream version + +* Tue Nov 30 2004 Bill Nottingham 1.0.6-6 +- fix bad assertion that trips up gstreamer (fixes GNOME bug #159647) +- undef gets in case it's a macro (#141423) + +* Thu Oct 14 2004 Bill Nottingham 1.0.6-3 +- move libraries & data to root fs, needed at boot time + +* Mon Aug 30 2004 Bill Nottingham 1.0.6-1 +- update to 1.0.6 + +* Fri Jul 2 2004 Bill Nottingham 1.0.5-1 +- update to 1.0.5 + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Mon May 17 2004 Colin Walters 1.0.4-1 +- New upstream version + +* Mon May 03 2004 Colin Walters 1.0.3a-2 +- Add patch to avoid assert()ing on errors + +* Thu Mar 11 2004 Bill Nottingham 1.0.3a-1 +- update to 1.0.3a + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jan 28 2004 Bill Nottingham 1.0.2-1 +- update to 1.0.2 + +* Thu Dec 11 2003 Bill Nottingham 1.0.0rc2-1 +- update to 1.0.0rc2 + +* Mon Dec 1 2003 Bill Nottingham 0.9.8-3 +- fix various specfile issues, including License: tag (#111153) + +* Wed Nov 26 2003 Than Ngo 0.9.8-2 +- fixed dependant libraries check on x86_64 + +* Tue Nov 4 2003 Bill Nottingham - 0.9.8-1 +- initial build, modify spec file from Matthias Saou