<feed xmlns='http://www.w3.org/2005/Atom'>
<title>paraslash/alsa_write.c, branch v0.3</title>
<subtitle>paraslash - network audio streaming tools</subtitle>
<id>https://git.tue.mpg.de/cgit/paraslash/atom?h=v0.3</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/paraslash/atom?h=v0.3'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/'/>
<updated>2009-11-07T13:06:55Z</updated>
<entry>
<title>alsa: Avoid using 0 as a NULL pointer.</title>
<updated>2009-11-07T13:06:55Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-11-07T13:06:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=d7f96d2c7c718e3f7d4834fb25b6939a355a0e19'/>
<id>urn:sha1:d7f96d2c7c718e3f7d4834fb25b6939a355a0e19</id>
<content type='text'>
Found by sparse.
</content>
</entry>
<entry>
<title>Alsa timing improvements.</title>
<updated>2009-08-29T20:17:55Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-08-29T20:17:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=44b21efca6080fcc88830facd98e50e4c5e66505'/>
<id>urn:sha1:44b21efca6080fcc88830facd98e50e4c5e66505</id>
<content type='text'>
This moves the computation of the select timeout from
alsa_write_post_select() to alsa_write_pre_select(). The code now
computes when the next buffer underrun would occur and uses that
value to set the timeout for the next select call. This decreases
the number of writes to the alsa handle and therefore also the CPU
usage of para_write/para_audiod.
</content>
</entry>
<entry>
<title>Fix memory leaks in [alsa,file,oss]write.c.</title>
<updated>2009-07-19T12:16:42Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-07-19T12:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=678a55163f159783c688370b9b974a8a5e1fcd06'/>
<id>urn:sha1:678a55163f159783c688370b9b974a8a5e1fcd06</id>
<content type='text'>
Small and harmless but anyway.
</content>
</entry>
<entry>
<title>alsa_write: Avoid EAGAIN.</title>
<updated>2009-05-31T10:34:39Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-31T10:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=e7b866a338a22ad07c8e60d405616a8065be89b1'/>
<id>urn:sha1:e7b866a338a22ad07c8e60d405616a8065be89b1</id>
<content type='text'>
Before writing to the sound device, use snd_pcm_avail_update() to
check how many frames alsa will accept and write only that many
frames.
</content>
</entry>
<entry>
<title>Merge branch 'next'</title>
<updated>2009-05-07T17:03:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-07T17:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=318fbe90e08b6d9c5e781d9b517b670c5a1a04d7'/>
<id>urn:sha1:318fbe90e08b6d9c5e781d9b517b670c5a1a04d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix two gcc warnings.</title>
<updated>2009-05-04T11:12:17Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-04T11:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=813bec7dd99c3f5f43f046af0b1c87d70010dd19'/>
<id>urn:sha1:813bec7dd99c3f5f43f046af0b1c87d70010dd19</id>
<content type='text'>
mp3_afh.c:420: warning: comparison of distinct pointer types lacks a cast
alsa_write.c:119: warning: format '%zu' expects type 'size_t', but argument 4 has type 'int'
</content>
</entry>
<entry>
<title>Merge branch 'master' into next</title>
<updated>2009-05-03T17:09:16Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-03T17:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=343f3c63fc3a7f9ca4ba4163c9e4cf06cde8d0c3'/>
<id>urn:sha1:343f3c63fc3a7f9ca4ba4163c9e4cf06cde8d0c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Alsa fixes and cleanups.</title>
<updated>2009-05-03T16:11:22Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-03T16:11:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=9b5d9adba31e6d42b9dde81fcd3b6f8a0b16bcfc'/>
<id>urn:sha1:9b5d9adba31e6d42b9dde81fcd3b6f8a0b16bcfc</id>
<content type='text'>
This patch

- replaces the unused E_SND_PCM_INFO error by E_PHYSICAL_WIDTH,

- checks the return value of snd_pcm_format_physical_width() and returns
  -E_PHYSICAL_WIDTH if this causes bytes_per_frame being non-positive,

- introduces an upper bound for the start threshold. Without that
  change, playback could be delayed by several seconds on some alsa
  configurations (problem pointed out by Johannes Wörner, thanks).

- does not return early on input errors which could cause the last
  part of the audio stream being skipped.

- avoids calling snd_pcm_writei() with a frame count of zero which
  could happen with the old code in case there's more than zero but
  less than a full frame of audio data available.

- cleans up the documentation of struct private_alsa_write_data
</content>
</entry>
<entry>
<title>Merge branch 'master' into next</title>
<updated>2009-05-02T09:50:17Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-02T09:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=345e7b4adce741621a412c3845712e8540b572ad'/>
<id>urn:sha1:345e7b4adce741621a412c3845712e8540b572ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use only a single buffer pointer for filters/receivers.</title>
<updated>2009-05-02T09:46:46Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@systemlinux.org</email>
</author>
<published>2009-05-02T09:46:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/paraslash/commit/?id=0855a5fcdbebabacebee968939cf00bf3161cfaf'/>
<id>urn:sha1:0855a5fcdbebabacebee968939cf00bf3161cfaf</id>
<content type='text'>
This allows filters to change the output buffer size on the fly.
</content>
</entry>
</feed>
