]> code.delx.au - pulseaudio/commit
A few related changes:
authorColin Guthrie <pulse@colin.guthr.ie>
Mon, 26 May 2008 23:43:51 +0000 (23:43 +0000)
committerColin Guthrie <pulse@colin.guthr.ie>
Wed, 8 Oct 2008 19:32:09 +0000 (20:32 +0100)
commit13bc07587564977a64222f5a4075b7fa63ac5548
tree76e0376d857adb65454e52b326b42245b89c4603
parentb93e9e80ecbdc90c0bf6f90c5bd4aafcdb4d2488
A few related changes:

* Change the encode_sample routine to simply return normal memchunks allocated from the mempool.
* unref the memchunks returned from encode_sample when we are done with them.
* Create an encoded 'silence' sample and play this at all times to prevent hangup and to 'hog' the airtunes device

This now works and can be used as a regular sink albeit with a constant latency of about 8 seconds :s

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2485 fefdeb5f-60dc-0310-8127-8f9354f1896f
src/modules/module-raop-sink.c
src/modules/rtp/raop_client.c