<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/alsa-lib.git/include/conf.h, branch master</title>
<subtitle>git.alsa-project.org: http/alsa-lib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/'/>
<entry>
<title>ucm: add ${evali:} substitution</title>
<updated>2022-05-13T14:10:51+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2022-05-12T16:33:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=d65b1c7b52503cd1ff22998eaf182d9c68f0c03e'/>
<id>d65b1c7b52503cd1ff22998eaf182d9c68f0c03e</id>
<content type='text'>
Example:

  Define.var1 2

  LibraryConfig.test.SubstiConfig {
          a "${evali:$var1+1}"
  }

Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example:

  Define.var1 2

  LibraryConfig.test.SubstiConfig {
          a "${evali:$var1+1}"
  }

Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: introduce snd_config_load_string()</title>
<updated>2021-12-01T09:18:58+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2021-12-01T09:14:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=ebb8a6c7a153541f1706d0e28e5d1e2774182df4'/>
<id>ebb8a6c7a153541f1706d0e28e5d1e2774182df4</id>
<content type='text'>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: add possibility to evaluate simple integer math expressions</title>
<updated>2021-11-30T10:33:35+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2021-11-29T13:57:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=bf528b90660543b0f3b75d1a9c91319d79be680f'/>
<id>bf528b90660543b0f3b75d1a9c91319d79be680f</id>
<content type='text'>
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 &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: add snd_config_make_path() function</title>
<updated>2021-05-13T09:02:41+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2021-05-13T09:02:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=1aef5a8f8a8c122262cf0eca739a63ce843d8fa6'/>
<id>1aef5a8f8a8c122262cf0eca739a63ce843d8fa6</id>
<content type='text'>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: add snd_config_is_empty() function</title>
<updated>2021-05-13T08:59:47+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2021-05-13T08:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=3050af4b90ff6ecf41c931164ab3010b5d248a91'/>
<id>3050af4b90ff6ecf41c931164ab3010b5d248a91</id>
<content type='text'>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: add snd_config_merge() function</title>
<updated>2021-04-13T07:23:06+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2021-04-09T16:11:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=4870358b2ff3b2ca28c67f4585b8d43466702464'/>
<id>4870358b2ff3b2ca28c67f4585b8d43466702464</id>
<content type='text'>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: introduce snd_config_get_card() function</title>
<updated>2021-02-26T20:08:28+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2021-02-24T18:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=19ad9bdc49154115c53313ff6251542a96f12a8a'/>
<id>19ad9bdc49154115c53313ff6251542a96f12a8a</id>
<content type='text'>
It's helper for the "card" entries parsing. It reduces
the code in most of open_hw functions.

Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's helper for the "card" entries parsing. It reduces
the code in most of open_hw functions.

Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: add snd_config_is_array() function</title>
<updated>2020-05-08T10:00:42+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2020-05-08T10:00:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=0c99c073d39c8446c9527f3e610801d2c1ecd831'/>
<id>0c99c073d39c8446c9527f3e610801d2c1ecd831</id>
<content type='text'>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>conf: implement snd_config_add_before() and snd_config_add_after()</title>
<updated>2019-11-14T15:56:05+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2019-11-14T15:56:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=4c021697f11dfcf74c68bbc7aed0f660f3c0dcb3'/>
<id>4c021697f11dfcf74c68bbc7aed0f660f3c0dcb3</id>
<content type='text'>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ucm: change the If block parsing</title>
<updated>2019-11-14T14:13:38+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2019-11-14T14:13:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-lib.git/commit/?id=4724158c0a0822c7497121312d18a7b3e4c5bc96'/>
<id>4724158c0a0822c7497121312d18a7b3e4c5bc96</id>
<content type='text'>
- evaluate always If before the other blocks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- evaluate always If before the other blocks
</pre>
</div>
</content>
</entry>
</feed>
