<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/alsa-utils.git, branch master</title>
<subtitle>git.alsa-project.org: http/alsa-utils.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/'/>
<entry>
<title>nhlt: add nhlt-dmic-info utility</title>
<updated>2023-05-16T13:54:05+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2023-05-16T13:38:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=ee3965f6fac6c8b003acb097191125070708cccb'/>
<id>ee3965f6fac6c8b003acb097191125070708cccb</id>
<content type='text'>
The microphone arrays for Intel platforms are described in the
ACPI NHLT table. This table is available in sysfs. Parse this
information and use a more common format (json) for output. This
information is usable for the further DSP processing.

Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The microphone arrays for Intel platforms are described in the
ACPI NHLT table. This table is available in sysfs. Parse this
information and use a more common format (json) for output. This
information is usable for the further DSP processing.

Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Release v1.2.9</title>
<updated>2023-05-04T07:16:17+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2023-05-04T07:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=7812ddb26566d86a8614c34a926447026bbd451a'/>
<id>7812ddb26566d86a8614c34a926447026bbd451a</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>alsa-info.sh: increase version to 0.5.3</title>
<updated>2023-05-03T14:41:26+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2023-05-03T14:41:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=1238ba1a7c500541d32bd21c837d3f9cc1133f25'/>
<id>1238ba1a7c500541d32bd21c837d3f9cc1133f25</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>alsa-info.sh: uname - reduce execs by four, and eliminate a logic bug</title>
<updated>2023-05-03T14:36:04+00:00</updated>
<author>
<name>wileyhy</name>
<email>84648683+wileyhy@users.noreply.github.com</email>
</author>
<published>2023-04-29T02:57:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=37e396cab4edd01384916e8310fae01ab67b53c3'/>
<id>37e396cab4edd01384916e8310fae01ab67b53c3</id>
<content type='text'>
Per `info uname`, `uname` always prints its data in the same order.
Also, "note that A &amp;&amp; B || C is not if-then-else. C may run when A is true."
https://www.shellcheck.net/wiki/SC2015

set -x; read -r KERNEL_VERSION &lt; &lt;(uname -v); smp=x; \
  [[ "$KERNEL_VERSION" = *SMP* ]] &amp;&amp; \
  { smp=y; readonly smp; false;} || smp=n; set -

  ... https://github.com/koalaman/shellcheck

Fixes: https://github.com/alsa-project/alsa-utils/pull/207
From: wileyhy @ github
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per `info uname`, `uname` always prints its data in the same order.
Also, "note that A &amp;&amp; B || C is not if-then-else. C may run when A is true."
https://www.shellcheck.net/wiki/SC2015

set -x; read -r KERNEL_VERSION &lt; &lt;(uname -v); smp=x; \
  [[ "$KERNEL_VERSION" = *SMP* ]] &amp;&amp; \
  { smp=y; readonly smp; false;} || smp=n; set -

  ... https://github.com/koalaman/shellcheck

Fixes: https://github.com/alsa-project/alsa-utils/pull/207
From: wileyhy @ github
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>alsa-info.sh: Update `test` '-a' and '-o' to '&amp;&amp;' and '||'</title>
<updated>2023-05-03T14:29:52+00:00</updated>
<author>
<name>wileyhy</name>
<email>84648683+wileyhy@users.noreply.github.com</email>
</author>
<published>2023-04-29T02:49:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=4588b2f8aebb00f94ecd9b6029ddb0de82fd6d94'/>
<id>4588b2f8aebb00f94ecd9b6029ddb0de82fd6d94</id>
<content type='text'>
lines 50, 103: in two compound ['s, replace '-a' with '] &amp;&amp; ['
  SC2166 – Prefer `[ p ] &amp;&amp; [ q ]` as `[ p -a q ]` is not well defined.
  SC2107 – Instead of `[ a &amp;&amp; b ]`, use `[ a ] &amp;&amp; [ b ]`.

line 45: in a compound test command, change '-o' to '|| test'
  SC1139 – Use `||` instead of `-o` between test commands.
  SC2109 – Instead of `[ a || b ]`, use `[ a ] || [ b ]`.

 ... https://github.com/koalaman/shellcheck

Fixes: https://github.com/alsa-project/alsa-utils/pull/206
From: wileyhy @ github
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lines 50, 103: in two compound ['s, replace '-a' with '] &amp;&amp; ['
  SC2166 – Prefer `[ p ] &amp;&amp; [ q ]` as `[ p -a q ]` is not well defined.
  SC2107 – Instead of `[ a &amp;&amp; b ]`, use `[ a ] &amp;&amp; [ b ]`.

line 45: in a compound test command, change '-o' to '|| test'
  SC1139 – Use `||` instead of `-o` between test commands.
  SC2109 – Instead of `[ a || b ]`, use `[ a ] || [ b ]`.

 ... https://github.com/koalaman/shellcheck

Fixes: https://github.com/alsa-project/alsa-utils/pull/206
From: wileyhy @ github
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arecord: use correct duration</title>
<updated>2023-05-03T14:26:22+00:00</updated>
<author>
<name>Tj</name>
<email>hacker@iam.tj</email>
</author>
<published>2023-04-15T09:25:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=42bba8ac6113710317cf19bafd5da246f72056bf'/>
<id>42bba8ac6113710317cf19bafd5da246f72056bf</id>
<content type='text'>
When a duration is specified but the the capture device cannot use the
requested sample rate and an alternative rate is used the duration
sample count must be (re)calculated.

Fixes: https://github.com/alsa-project/alsa-utils/pull/200
Signed-off-by: Tj &lt;hacker@iam.tj&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a duration is specified but the the capture device cannot use the
requested sample rate and an alternative rate is used the duration
sample count must be (re)calculated.

Fixes: https://github.com/alsa-project/alsa-utils/pull/200
Signed-off-by: Tj &lt;hacker@iam.tj&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>topology: pre-processor: fix regular expression flags</title>
<updated>2023-05-03T14:25:15+00:00</updated>
<author>
<name>Chao Song</name>
<email>chao.song@linux.intel.com</email>
</author>
<published>2023-03-13T05:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=52f6fb7f3386d4ecc1481d88bd0bd2b7e47c1332'/>
<id>52f6fb7f3386d4ecc1481d88bd0bd2b7e47c1332</id>
<content type='text'>
The REG_ICASE flag is a compile-time flag (cflags), it
should be used with regcomp() instead of regexec(). Also
add the REG_EXTENDED flag in this patch to make patterns
like 'tgl|adl' work.

Fixes: https://github.com/alsa-project/alsa-utils/pull/195
Signed-off-by: Chao Song &lt;chao.song@linux.intel.com&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The REG_ICASE flag is a compile-time flag (cflags), it
should be used with regcomp() instead of regexec(). Also
add the REG_EXTENDED flag in this patch to make patterns
like 'tgl|adl' work.

Fixes: https://github.com/alsa-project/alsa-utils/pull/195
Signed-off-by: Chao Song &lt;chao.song@linux.intel.com&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>alsa-info.sh: print ctl-led list from sysfs</title>
<updated>2023-03-24T08:07:43+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2023-03-24T08:07:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=ca503e3519b36cd6497e45d3b2fb633c6102e73b'/>
<id>ca503e3519b36cd6497e45d3b2fb633c6102e73b</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>alsaloop: fix loopcount condition</title>
<updated>2023-02-27T12:35:43+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2023-02-27T12:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=fd2e386b3ee660e4164fff6e6de33a25d024b041'/>
<id>fd2e386b3ee660e4164fff6e6de33a25d024b041</id>
<content type='text'>
BugLink: https://github.com/alsa-project/alsa-utils/issues/185
Fixes: e61f35b ("alsaloop: try adapt avail_min for playback to avoid 100% CPU usage")
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BugLink: https://github.com/alsa-project/alsa-utils/issues/185
Fixes: e61f35b ("alsaloop: try adapt avail_min for playback to avoid 100% CPU usage")
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>alsabat: improve error handling in bat_init()</title>
<updated>2023-02-27T12:23:28+00:00</updated>
<author>
<name>Jaroslav Kysela</name>
<email>perex@perex.cz</email>
</author>
<published>2023-02-27T12:23:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/alsa-utils.git/commit/?id=55bafb79383dd2247a30d8e30e243e651f7b287f'/>
<id>55bafb79383dd2247a30d8e30e243e651f7b287f</id>
<content type='text'>
Fix 'LC_ALL=C.UTF-8 ./alsabat' command.

Fixes: https://github.com/alsa-project/alsa-utils/issues/192
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix 'LC_ALL=C.UTF-8 ./alsabat' command.

Fixes: https://github.com/alsa-project/alsa-utils/issues/192
Signed-off-by: Jaroslav Kysela &lt;perex@perex.cz&gt;
</pre>
</div>
</content>
</entry>
</feed>
