<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/audio/rate_template.h, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/audio/rate_template.h?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/audio/rate_template.h?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-11T08:17:08+00:00</updated>
<entry>
<title>audio: prevent an integer overflow in resampling code</title>
<updated>2022-10-11T08:17:08+00:00</updated>
<author>
<name>Volker Rümelin</name>
</author>
<published>2022-09-23T18:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b6d93282ccac79e42d87d02652db353894cd1db9'/>
<id>urn:sha1:b6d93282ccac79e42d87d02652db353894cd1db9</id>
<content type='text'>
There are corner cases where rate-&gt;opos can overflow. For
example, if QEMU is started with -audiodev pa,id=audio0,
out.frequency=11025 -device ich9-intel-hda -device hda-duplex,
audiodev=audio0 and the guest plays audio with a sampling
frequency of 44100Hz, rate-&gt;opos will overflow after 27.05h
and the audio stream will be silent for a long time.

To prevent a rate-&gt;opos and also a rate-&gt;ipos overflow, both
are wrapped around after a short time. The wrap around point
rate-&gt;ipos &gt;= 0x10001 is an arbitrarily selected value and can
be any small value, 0 and 1 included.

The comment that an ipos overflow will result in an infinite
loop has been removed, because in this case the resampling code
only generates no more output samples and the audio stream stalls.
However, there is no infinite loop.

Signed-off-by: Volker Rümelin &lt;vr_qemu@t-online.de&gt;
Message-Id: &lt;20220923183640.8314-12-vr_qemu@t-online.de&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>audio: use size_t where makes sense</title>
<updated>2019-08-21T07:13:37+00:00</updated>
<author>
<name>Kővágó, Zoltán</name>
</author>
<published>2019-08-18T23:06:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7520462bc1eeda2f724ec84ff16338053b728920'/>
<id>urn:sha1:7520462bc1eeda2f724ec84ff16338053b728920</id>
<content type='text'>
Signed-off-by: Kővágó, Zoltán &lt;DirtY.iCE.hu@gmail.com&gt;
Message-id: c5193e687fc6cc0f60cb3e90fe69ddf2027d0df1.1566168923.git.DirtY.iCE.hu@gmail.com
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>audio: st_rate_flow exist a infinite loop</title>
<updated>2017-07-17T09:08:59+00:00</updated>
<author>
<name>Peng Hao</name>
</author>
<published>2017-07-15T14:14:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=facd0e97737a41b0bed072a95dcc3eb863c7667f'/>
<id>urn:sha1:facd0e97737a41b0bed072a95dcc3eb863c7667f</id>
<content type='text'>
If a voice recording equipment is opened for a long time(several days)
in windows guest, rate-&gt;ipos will overflow and rate-&gt;opos will never
have a chance to change. It will result to a infinite loop.

Signed-off-by: Peng Hao &lt;peng.hao2@zte.com.cn&gt;
Signed-off-by: Wang Yechao &lt;wang.yechao255@zte.com.cn&gt;
Message-id: 1500128061-20849-1-git-send-email-peng.hao2@zte.com.cn
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>Make audio violate POSIX less</title>
<updated>2008-12-03T22:48:44+00:00</updated>
<author>
<name>malc</name>
</author>
<published>2008-12-03T22:48:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1ea879e5580f63414693655fcf0328559cdce138'/>
<id>urn:sha1:1ea879e5580f63414693655fcf0328559cdce138</id>
<content type='text'>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
</content>
</entry>
<entry>
<title>rate converter fix (malc)</title>
<updated>2006-07-04T16:47:58+00:00</updated>
<author>
<name>bellard</name>
</author>
<published>2006-07-04T16:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6c270db74181e313bdbd602e1273e0ebd090366b'/>
<id>urn:sha1:6c270db74181e313bdbd602e1273e0ebd090366b</id>
<content type='text'>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2038 c046a42c-6fe2-441c-8c8c-71466251a162
</content>
</entry>
<entry>
<title>audio merge (malc)</title>
<updated>2005-11-05T18:55:28+00:00</updated>
<author>
<name>bellard</name>
</author>
<published>2005-11-05T18:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c0fe3827ea18f7d29550f2ff2495cec2fe7a3d94'/>
<id>urn:sha1:c0fe3827ea18f7d29550f2ff2495cec2fe7a3d94</id>
<content type='text'>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1601 c046a42c-6fe2-441c-8c8c-71466251a162
</content>
</entry>
<entry>
<title>merged 15a_aqemu.patch audio patch (malc)</title>
<updated>2005-10-30T18:58:22+00:00</updated>
<author>
<name>bellard</name>
</author>
<published>2005-10-30T18:58:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1d14ffa97eacd3cb722271eaf6f093038396eac4'/>
<id>urn:sha1:1d14ffa97eacd3cb722271eaf6f093038396eac4</id>
<content type='text'>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1584 c046a42c-6fe2-441c-8c8c-71466251a162
</content>
</entry>
</feed>
