<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/audio_out, branch 1.1.13</title>
<subtitle>xine-lib git mirror
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/'/>
<entry>
<title>Replacement JACK plugin</title>
<updated>2008-06-14T15:29:28+00:00</updated>
<author>
<name>Ed Wildgoose</name>
<email>lists@wildgooses.com</email>
</author>
<published>2008-06-14T15:29:28+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=e2af4baad07a84b3d139f532c059fec856f379ab'/>
<id>e2af4baad07a84b3d139f532c059fec856f379ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up reporting of supported formats by the ALSA &amp; OSS output plugins.</title>
<updated>2008-06-12T19:55:44+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-06-12T19:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=cf6f5debd57c2cba3ad63a8d697d656b54cb94da'/>
<id>cf6f5debd57c2cba3ad63a8d697d656b54cb94da</id>
<content type='text'>
Adjust translations for the spacing changes etc. which this introduces.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjust translations for the spacing changes etc. which this introduces.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use size_t to keep the value returned by strlen().</title>
<updated>2008-05-09T19:54:58+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T19:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=16a41a85516f6055918887938e9dd3f3f9fbcf28'/>
<id>16a41a85516f6055918887938e9dd3f3f9fbcf28</id>
<content type='text'>
When using a variable to store the result of strlen(), make sure its
type is size_t just like the function returns, rather than using a
smaller type like int.

--HG--
extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using a variable to store the result of strlen(), make sure its
type is size_t just like the function returns, rather than using a
smaller type like int.

--HG--
extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid memset() on newly allocated memory areas.</title>
<updated>2008-05-07T18:27:54+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T18:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=ed72565137c93ab0385a10036d234f5f4dd1b960'/>
<id>ed72565137c93ab0385a10036d234f5f4dd1b960</id>
<content type='text'>
If needed, use calloc() to allocate the area so that it's already
reset by the time it returns.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If needed, use calloc() to allocate the area so that it's already
reset by the time it returns.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use asprintf() rather than malloc() + sprintf().</title>
<updated>2008-05-07T15:49:47+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T15:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c3744b6736ce45c1c700b7f026fb0acfb0069a6d'/>
<id>c3744b6736ce45c1c700b7f026fb0acfb0069a6d</id>
<content type='text'>
Using asprintf() instead of malloc() + sprintf() reduces the lines of
code in xine-lib (moving the allocation to the C library or asprintf
replacement), makes it safer to access the string and can also improve
performance whenever the value returned by a function was used as
parameter, as before it had to run the function twice in almost every
case (once for strlen(), once for sprintf()).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using asprintf() instead of malloc() + sprintf() reduces the lines of
code in xine-lib (moving the allocation to the C library or asprintf
replacement), makes it safer to access the string and can also improve
performance whenever the value returned by a function was used as
parameter, as before it had to run the function twice in almost every
case (once for strlen(), once for sprintf()).
</pre>
</div>
</content>
</entry>
<entry>
<title>xine_xmalloc() deprecation: replace its use with static and non-zero size.</title>
<updated>2008-05-07T14:59:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=88d23a2dbabf419ab4014b449be119a741aa54f5'/>
<id>88d23a2dbabf419ab4014b449be119a741aa54f5</id>
<content type='text'>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure that muting/unmuting the audio without setting the volume does not put the volume to zero.</title>
<updated>2008-04-14T19:29:43+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-04-14T19:29:43+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=333f8c6b59d9f94de1564840fa4475a313e4afa8'/>
<id>333f8c6b59d9f94de1564840fa4475a313e4afa8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test for pulseaudio 0.9.7 to determine which muting method to use.</title>
<updated>2008-04-11T14:20:10+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-04-11T14:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=41573e618cf0989673677daefd1be7871506d0ef'/>
<id>41573e618cf0989673677daefd1be7871506d0ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove an unnecessary volume scale conversion.</title>
<updated>2008-04-11T14:02:57+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-04-11T14:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=ce8b89d12b5c2d53f56d8a2325afeacc6cc61b4d'/>
<id>ce8b89d12b5c2d53f56d8a2325afeacc6cc61b4d</id>
<content type='text'>
The value being converted is already of the correct type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The value being converted is already of the correct type.
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated PulseAudio driver (fixup)</title>
<updated>2008-04-04T00:35:40+00:00</updated>
<author>
<name>Lennart Poettering</name>
<email>mzkvar@0pointer.de</email>
</author>
<published>2008-04-04T00:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=0950e968cef5be4d9d38ad59b27bbfcc238e7d3e'/>
<id>0950e968cef5be4d9d38ad59b27bbfcc238e7d3e</id>
<content type='text'>
The problem was basically that detection if PA was available happened in
open() instead of open_plugin().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was basically that detection if PA was available happened in
open() instead of open_plugin().
</pre>
</div>
</content>
</entry>
</feed>
