summaryrefslogtreecommitdiffstats
path: root/src/modules/module-raop-sink.c
Commit message (Collapse)AuthorAgeFilesLines
* raop: Add call to pa_sink_set_max_request()Colin Guthrie2009-03-251-1/+10
| | | | This is just a copy from the ESD version which is a little crude, but will do for now.
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* raop: Allow for nice sink descriptions to be set (interpolated from avahi)Colin Guthrie2009-03-011-2/+7
|
* Remove references to trademarked terms.Colin Guthrie2009-02-221-3/+3
| | | | | | | | | According to http://www.apple.com/legal/trademark/appletmlist.html we could run into problems for using these terms without also displaying a corresponding disclaimer/attribution notice. This is difficult in the context of a headless server, so simply don't use such terms. In GUI apps which can enable this functionality we should use the relevant terminology, and display the appropriate attribution notices.
* Trivial typo in a commentColin Guthrie2009-02-031-1/+1
|
* Clean up volume/mute settings a bit.Colin Guthrie2009-02-031-37/+28
| | | | | As the APEX device only has one channel of volume (e.g. it's always matched) we emulate any variation in channel volumes in software. Remove the unnecessary callback defininitions.
* Fix the message processing for PA_SINK_MESSAGE_GET_LATENCY by returning ↵Colin Guthrie2009-01-271-1/+1
| | | | rather than breaking and falling through.
* move flat volume logic into the core. while doing so add n_volume_steps ↵Lennart Poettering2009-01-271-20/+12
| | | | field to sinks/sources
* include PA_SINK_INVALID_STATE in all switch/case statements to make gcc shut upLennart Poettering2009-01-221-0/+1
|
* rework module usage counter stuff to be pull basedLennart Poettering2009-01-151-0/+9
|
* Follow master change r34dd4a and fix shutdown when ↵Colin Guthrie2008-10-081-1/+1
| | | | --disallow-module-loading=1 is passed
* Make module-raop-sink/discover work with 0.9.11 APIColin Guthrie2008-10-081-22/+30
|
* Implement hardware volume control.Colin Guthrie2008-10-081-3/+72
| | | | This allows near instant change of volume when controlling the hardware but the stream volume still suffers from a sizable delay.
* Add Lennart back in to Copyright as I copied these files from his originals ↵Colin Guthrie2008-10-081-0/+1
| | | | | | and was a bit overzealous in changing things ;) git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2520 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Minor correction of help textColin Guthrie2008-10-081-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2518 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Still send silence when we are not doing anything else, but also flush the ↵Colin Guthrie2008-10-081-29/+82
| | | | | | | | | | | | | buffers correctly upon recovery from suspension. Close the RTP socket correctly after passing messages about. When not sending silence, the RTSP socket will be closed after some period of inactivity. I'm not sure why this is. Sending silence keeps things working and with the flushes after suspension we now get a better latency. As this relies on the auto-suspend feature, it's not exactly ideal. Typical latencies are currently about 3s which makes it more or less usuable for listening to music. If the connection is disconnected, it will reconnect but I've found that the second connection is silent. Hopefully the silence will prevent the first connection dropping. Refs #69 git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2504 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix up a couple of values related to encoding overhead.Colin Guthrie2008-10-081-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2497 fefdeb5f-60dc-0310-8127-8f9354f1896f
* A few related changes:Colin Guthrie2008-10-081-21/+58
| | | | | | | | | | * 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
* Set forgotten keyword propertyColin Guthrie2008-10-081-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2483 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Move the encoding loop around a bit such that it does not grab the data and ↵Colin Guthrie2008-10-081-10/+12
| | | | | | keep it for the next loop iteration. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2481 fefdeb5f-60dc-0310-8127-8f9354f1896f
* unref the raw data memblock before requesting more data.Colin Guthrie2008-10-081-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2408 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Change suggested by Lennart. Do not return a memchunk, instead pass in the ↵Colin Guthrie2008-10-081-1/+4
| | | | | | pointer. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2405 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Various changes suggested by Lennart.Colin Guthrie2008-10-081-2/+2
| | | | | | | Store the core* rather than just the mainloop as we can reuse the mempool without passing it in as an argument. const'ify and deconst'ify some vars git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2404 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Listen to the on_close callback. This still causes asserts in the mainloop, ↵Colin Guthrie2008-10-081-0/+9
| | | | | | so this is not a complete solution git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2403 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Move the ownership of the encoded data memchunk into the raop_client.Colin Guthrie2008-10-081-12/+5
| | | | | | This does not seem to fix the pool full messages so I'll have to try and suss that out. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2400 fefdeb5f-60dc-0310-8127-8f9354f1896f
* A very rough first version of the sink.Colin Guthrie2008-10-081-123/+267
| | | | | | | I can actually play music to my airport now (woot). Still very rough round the edges and I need to handle disconnects etc. but it's all good progress :) git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2398 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Some minor tidyup to remove code now in raop client. Still nowhere near ↵Colin Guthrie2008-10-081-67/+2
| | | | | | functional. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2367 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Start the raop sink. It's based on pipe sink and isn't anywhere near ↵Colin Guthrie2008-10-081-0/+417
finished. It does however compile. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2335 fefdeb5f-60dc-0310-8127-8f9354f1896f