openharmony_ci
b03597f7cc
!18 修改license file路径
...
Merge pull request !18 from 许学海/master
2023-12-13 07:14:59 +00:00
许学海
bbd5c8b20c
update BUILD.gn.
...
Signed-off-by: 许学海 <xuxuehai2@huawei.com>
2023-12-13 06:19:07 +00:00
openharmony_ci
79adbc2231
!15 fix: oat check repair
...
Merge pull request !15 from whoselittlelion/master
2023-08-28 07:29:38 +00:00
whoselittlelion
c86299ed2b
fix: oat check repair
...
Signed-off-by: whoselittlelion <humin16@huawei.com>
2023-08-28 15:23:42 +08:00
openharmony_ci
beee0ae9ca
!14 fix: oat check repair
...
Merge pull request !14 from whoselittlelion/master
2023-08-28 06:20:56 +00:00
whoselittlelion
8b0725d9e8
fix: oat check repair
...
Signed-off-by: whoselittlelion <humin16@huawei.com>
2023-08-28 11:54:22 +08:00
openharmony_ci
8ced658934
!13 [Bug]: 【SBOM数据治理】【合规】OAT.xml 不准确并清理告警
...
Merge pull request !13 from mayongzhi/master
2023-07-25 12:24:34 +00:00
m00804696
5f2d65fe3c
commit libs oat
...
Signed-off-by: m00804696 <mayongzhi1@huawei.com>
2023-07-06 16:15:46 +08:00
openharmony_ci
cf65034fd9
!12 fix : Change the installation path of libsound library
...
Merge pull request !12 from chenhaifan/master
2023-01-11 02:39:42 +00:00
chenhaifan
30a218f124
fix:Change the installation path of libsound library
...
Signed-off-by: chenhaifan <chenhaifan2@huawei.com>
2023-01-11 09:53:10 +08:00
openharmony_ci
24957872a6
!11 fix: Modify the subsystem and part name
...
Merge pull request !11 from AllenRiemann/alsa_dev
2022-10-17 06:46:14 +00:00
vb6174
42609530b8
fix: Modify the subsystem and part name
...
Signed-off-by: vb6174 <zhangyunhu@huawei.com>
2022-10-11 10:27:21 +08:00
openharmony_ci
411684ad09
!10 update compile feature TAG drivers_peripheral_audio_alsa_lib
...
Merge pull request !10 from vb6174/master
2022-08-06 09:46:57 +00:00
vb6174
32b22f84f9
fix:update docs description whith the component modificati
...
Signed-off-by: vb6174 <zhangyunhu@huawei.com>
2022-08-06 16:24:24 +08:00
openharmony_ci
a74ae092ff
!9 modify audio part name
...
Merge pull request !9 from crescenthe/master
2022-06-23 10:27:40 +00:00
crescent
74627ea541
modify audio part name
...
Signed-off-by: crescent <sunhehe@huawei.com>
2022-06-22 06:24:02 +00:00
openharmony_ci
ef197506e3
!8 docs:update alsa-lib readme
...
Merge pull request !8 from zenglifeng/dev_doc
2022-06-21 01:46:31 +00:00
zenglifeng
60e3381d32
The alsa-lib documentation is updated
...
Signed-off-by: zenglifeng <zenglifeng2@huawei.com>
2022-06-21 09:17:51 +08:00
openharmony_ci
45e2e0c704
!7 task:add README_zh
...
Merge pull request !7 from vb6174/master
2022-06-18 03:59:49 +00:00
vb6174
9f99209eac
task: add README_zh.md
...
Signed-off-by: vb6174 <zhangyunhu@huawei.com>
2022-06-09 03:02:05 +00:00
vb6174
a97dd40d2b
!6 feat: Porting the third-party library alsa-lib
...
Merge pull request !6 from zenglifeng/alsa_lib_dev
2022-06-05 11:56:17 +00:00
zenglifeng
6878fd2cde
Porting the third-party library alsa-lib, add head file
...
Signed-off-by: zenglifeng <zenglifeng2@huawei.com>
2022-06-05 19:16:33 +08:00
vb6174
a82c337dca
!5 add OAT.xml and update README.OpenSource
...
Merge pull request !5 from vb6174/master
2022-06-02 04:06:08 +00:00
vb6174
a98718b822
add OAT.xml and update README.OpenSource
...
Signed-off-by: vb6174 <zhangyunhu@huawei.com>
2022-06-02 01:29:54 +00:00
NickYang
5dbc5dde78
!4 add README.OpenSource for alsa-lib
...
Merge pull request !4 from vb6174/master
2022-05-31 12:21:11 +00:00
vb6174
30b1c87660
add README.OpenSource
...
Signed-off-by: vb6174 <zhangyunhu@huawei.com>
2022-05-31 12:11:12 +00:00
vb6174
5ae37962f2
!3 Porting the third-party library alsa-lib
...
Merge pull request !3 from zenglifeng/master
2022-05-19 01:49:29 +00:00
zenglifeng
39280c6f22
Porting the third-party library alsa-lib
...
Signed-off-by: zenglifeng <zenglifeng2@huawei.com>
2022-05-18 11:17:05 +08:00
Jaroslav Kysela
85b3c276d2
Release v1.2.6
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-12-06 11:17:27 +01:00
Jaroslav Kysela
2623e4bb76
ucm: add initial doxygen documenation
...
This is an attempt to explain the UCM in a more verbose way.
BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/103
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-12-01 10:33:44 +01:00
Jaroslav Kysela
ebb8a6c7a1
conf: introduce snd_config_load_string()
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-12-01 10:18:58 +01:00
Jaroslav Kysela
a95942f1af
conf: confeval - fix _to_integer error code
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-30 14:42:12 +01:00
Jaroslav Kysela
327bd5f28b
conf: fix test/lsb/config.c
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-30 14:41:14 +01:00
Jaroslav Kysela
9b53b1f0fb
conf: improve simple integer math expressions - brackets
...
Add brackets to the simple math expressions like:
$[($a+($val+100))/2]
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-30 14:35:58 +01:00
Jaroslav Kysela
7b6da9ee6d
ucm: add ${eval:EXPR} substitution (Syntax 5)
...
It is useful to do simple integer math in UCM configurations, too.
Use snd_config_evaluate_string() string for this job.
Example:
${eval:1+1}
${eval:100*$var1}
${eval:$[$var2+1]/5}
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-30 14:22:39 +01:00
Jaroslav Kysela
bf528b9066
conf: add possibility to evaluate simple integer math expressions
...
It is useful to use the math expressions for the values in configuration.
This patch adds a simple expression evaluation routines (integer only).
The syntax is simplified unix shell (bash) style.
Examples:
$[1 + 1]
$[$[2 + 2] / $var1]
$[0xa0 | 0x05]
As a bonus, the variable substitutions were more abstracted.
The function snd_config_expand_custom() was introduced to be used
for example in the topology pre-precessor.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-30 11:33:35 +01:00
Jaroslav Kysela
32d332b786
conf: add safe_strtoll_base() like safe_strtol_base()
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-29 15:01:32 +01:00
Jaroslav Kysela
7ffe3d4162
ucm: fix parsing of the internal hexadecimal card identifier (2)
...
I forgot to change the passed variable name.
Fixes: 050f18c5
("ucm: fix parsing of the internal hexadecimal card identifier")
Fixes: https://github.com/alsa-project/alsa-lib/issues/188
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-12 17:27:39 +01:00
Jaroslav Kysela
050f18c525
ucm: fix parsing of the internal hexadecimal card identifier
...
Too many code was removed.
Fixes: f547b2e3
("conf: introduce safe_strtol_base()")
Fixes: https://github.com/alsa-project/alsa-lib/issues/188
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-12 16:00:59 +01:00
Jaroslav Kysela
ea5481296f
ucm: fix DeviceModifier parser
...
The bellow commit caused regression for the SectionModifier parser. Revert
the single line change.
Fixes: 251bc204
("ucm: implement RenameDevice and RemoveDevice verb management")
Fixes: https://github.com/alsa-project/alsa-lib/issues/167
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-07 18:41:43 +01:00
Jaroslav Kysela
faee7f678d
pcm: softvol - mark _snd_pcm_parse_control_id as static
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-02 11:04:43 +01:00
Jaroslav Kysela
f0d540f851
pcm: partially revert "pcm: softvol - make snd_pcm_parse_control_id private"
...
This reverts partially commit b9a4997e92
.
It seems that we have have some users for this very specific function.
Mark it deprecated and keep the softvol implementation separate,
so we can remove this function easily in future.
Fixes: https://github.com/alsa-project/alsa-lib/issues/186
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-02 11:00:35 +01:00
Jaroslav Kysela
5fab157a59
topology: do not call strtol directly
...
Introduce safe_strtol_base() function and redirects all
strtol calls there. Also, improve error and value handling
in callers.
BugLink: https://github.com/alsa-project/alsa-lib/issues/187
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-02 10:45:51 +01:00
Jaroslav Kysela
f547b2e35f
conf: introduce safe_strtol_base()
...
It is useful to parse hexadecimal strings, too.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-11-02 10:41:11 +01:00
Jaroslav Kysela
0e2b167e93
configure: bumb version to 1.2.6pre1 (for alsactl/alsa-utils)
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-10-28 12:13:44 +02:00
Jaroslav Kysela
23198a72cd
ucm: suppress the no device (no UCM card) errors on request
...
It seems that users are confused when the UCM configuration
is not ready for the particular hardware. Actually, we don't
allow a fine grained message classification in alsa-lib and
UCM API. Allow suppression of this specific type of messages
on the application request (typically alsactl).
BugLink: https://github.com/alsa-project/alsa-utils/issues/111
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-10-28 11:52:08 +02:00
Jaroslav Kysela
a6a22d82a0
rawmidi: allocate the read buffer in the params call
...
It is better to allocate the read buffer for the framing stream
in the params setup call.
Suggested-by: David Henningsson <coding@diwic.se>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-10-28 08:40:20 +02:00
Jaroslav Kysela
392d5b06f8
rawmidi: free framing read bufffer when the framing mode becomes inactive
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-10-28 08:40:20 +02:00
Jaroslav Kysela
c932c1e7ab
rawmidi: add support for SNDRV_RAWMIDI_IOCTL_USER_PVERSION
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-10-28 08:40:20 +02:00
Jaroslav Kysela
c578e80d6f
rawmidi: return ENOTSUP when timestamp reads are not supported by plugins
...
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-10-28 08:40:20 +02:00