Commit graph

  • 5f527dc479 Add seq and rtptime params to record/flush with a view to using these for timing and device suspension Colin Guthrie 2008-06-09 21:59:41 +00:00
  • 651da7d095 Minor update to copywrite (I still plan to replace this completely but in the mean time....) Colin Guthrie 2008-06-09 21:59:00 +00:00
  • 7f0cf0c9ad Fix up a couple of values related to encoding overhead. Colin Guthrie 2008-06-03 23:07:48 +00:00
  • 13bc075875 A few related changes: Colin Guthrie 2008-05-26 23:43:51 +00:00
  • b93e9e80ec Keep track of the memblock pointer internally and do not rely on subsequent calls to pass it back in for unref'ing Colin Guthrie 2008-05-26 23:02:30 +00:00
  • 8108121fa7 Set forgotten keyword property Colin Guthrie 2008-05-26 21:10:08 +00:00
  • 6dc5e07977 Set the send buffer size to prevent rendering silence in amongst our good data (this should be more sophisticated but that can wait for a glitch-free port) Colin Guthrie 2008-05-26 21:05:53 +00:00
  • 6c1dd6e54b Move the encoding loop around a bit such that it does not grab the data and keep it for the next loop iteration. Colin Guthrie 2008-05-26 21:04:45 +00:00
  • 3767cdb6d1 Do tidy up on disconnection. Colin Guthrie 2008-05-11 17:02:19 +00:00
  • 9216684691 Do not prefix internal function rtsp_exec. Colin Guthrie 2008-05-11 16:40:26 +00:00
  • eca94fee59 Don't try to free stack variables. Colin Guthrie 2008-05-11 16:38:33 +00:00
  • be73d378f5 unref the raw data memblock before requesting more data. Colin Guthrie 2008-05-11 15:43:56 +00:00
  • cb8c5a925f Some misc fixes. consts, base64 optimisation (not that it will be with us long anyway), and c comments Colin Guthrie 2008-05-11 15:34:37 +00:00
  • 4b7b7b15d7 Fix up IPv6 address format to enclose it in [] Colin Guthrie 2008-05-11 15:12:20 +00:00
  • d195d06da7 Change suggested by Lennart. Do not return a memchunk, instead pass in the pointer. Colin Guthrie 2008-05-11 15:06:14 +00:00
  • e00127fe24 Various changes suggested by Lennart. Colin Guthrie 2008-05-11 14:57:30 +00:00
  • ec9a618768 Listen to the on_close callback. This still causes asserts in the mainloop, so this is not a complete solution Colin Guthrie 2008-05-11 14:19:41 +00:00
  • 899492c315 Add a new callback structure to propigate when the RTSP connection dies Colin Guthrie 2008-05-11 14:18:48 +00:00
  • 5eecfa2e3f Move the ownership of the encoded data memchunk into the raop_client. Colin Guthrie 2008-05-11 13:35:01 +00:00
  • 4dd318519f Do not assert on NULL values of s. This means the connection was closed. This change somehow kills the mainloop with an assert, so I need to sort that out. Colin Guthrie 2008-05-11 13:32:09 +00:00
  • d51f5944b7 A very rough first version of the sink. Colin Guthrie 2008-05-11 12:21:32 +00:00
  • 264a1c2ffc Add more libraries to librtp now that it's doing a lot more. Colin Guthrie 2008-05-11 12:20:14 +00:00
  • f97c5debcc Properly duplicate the hostname passed in on connect. Colin Guthrie 2008-05-11 12:18:36 +00:00
  • 1fb046536a Combine pa_raop_client_new and pa_raop_client_connect (no point in having them separate) Colin Guthrie 2008-05-10 23:01:37 +00:00
  • 41e31ab204 Rename rtsp.{c,h} to rtsp_client.{c,h}. Colin Guthrie 2008-05-07 01:23:16 +00:00
  • e596f42f39 Wrap the io_callback to ensure that all data is written before asking for more. Colin Guthrie 2008-05-07 01:10:31 +00:00
  • 6510d97315 Use a more stateful response parser. Colin Guthrie 2008-05-07 00:35:10 +00:00
  • 22e299ad3e Add a pa_iochannel callback for when the RAOP connection connects. Colin Guthrie 2008-05-06 18:39:09 +00:00
  • 8fb58e3a90 Add a function for packing bits into a byte buffer. This will be needed when encoding the audio data in ALAC format. Colin Guthrie 2008-05-06 00:28:04 +00:00
  • 66cf1d1f66 Some minor tidyup to remove code now in raop client. Still nowhere near functional. Colin Guthrie 2008-05-06 00:25:37 +00:00
  • 20478a4544 Add a skeleton raop client which builds on the rtsp client. Colin Guthrie 2008-05-06 00:20:35 +00:00
  • d423605bd9 Move closer to an asynchronous structure (still some parsing code to be converted). Colin Guthrie 2008-05-06 00:17:17 +00:00
  • a0d3582fb1 Trivial change to allocate memory using pulse methods. Colin Guthrie 2008-05-06 00:14:33 +00:00
  • a08d733fd1 Fix svn properties and some minor indentation Colin Guthrie 2008-05-04 01:26:29 +00:00
  • 27ed970adf Convert the return values to fit with the rest of pulse 0 == success, < 0 == failure Colin Guthrie 2008-05-04 01:01:52 +00:00
  • 405cf720dc Convert to using pa_socket_client rather than using blocking IO. Colin Guthrie 2008-05-04 00:43:31 +00:00
  • ce9a41ef06 Use _free rather than _destroy so as not to mix naming conventions. Colin Guthrie 2008-05-02 09:49:28 +00:00
  • 91edf9eaca Use pa_sprintf_malloc to do simple concatenation rather than using the higher overhead of pa_strbuf Colin Guthrie 2008-05-02 09:47:09 +00:00
  • 6570620cc3 Start the raop sink. It's based on pipe sink and isn't anywhere near finished. It does however compile. Colin Guthrie 2008-05-01 23:51:45 +00:00
  • fef102e35a Add a simple base64 library that will be used by the sink Colin Guthrie 2008-05-01 23:43:34 +00:00
  • 48477067ee Add a RTSP client impelmentation. Colin Guthrie 2008-05-01 23:40:19 +00:00
  • 8c1c565c86 Add a small lib to interpret and produce headers as used in http style requests. Colin Guthrie 2008-05-01 23:35:24 +00:00
  • 068afb3478 define 0dB in PA as maximum amplification Lennart Poettering 2008-10-08 04:02:10 +02:00
  • a8dc2aaa82 enable flat volumes by default Lennart Poettering 2008-10-08 02:00:53 +02:00
  • 2dfc265483 Merge branch 'flatvol' Lennart Poettering 2008-10-08 00:15:18 +02:00
  • 37b8c45e2b query the sink volume outside of the loop because it might be quite expensive Lennart Poettering 2008-10-08 00:14:54 +02:00
  • 34f6a516b2 use pa_sink_set_volume() for changing the volume Lennart Poettering 2008-10-08 00:14:25 +02:00
  • b048ae9f78 check the maximum volume of all sink inputs instead of the average volume to avoid digital amplification in favour of attenuation Lennart Poettering 2008-10-08 00:13:53 +02:00
  • 404cf74332 some minor reformatting Lennart Poettering 2008-10-08 00:12:59 +02:00
  • 8bc58cc757 ignore sinks that do not carry decibel information Lennart Poettering 2008-10-08 00:12:15 +02:00
  • 776c8dec3c remove $Id$ Lennart Poettering 2008-10-08 00:10:56 +02:00
  • b6ccea3064 add a comment that pa_sink_input_set_volume and module-flat-volume.c are related Lennart Poettering 2008-10-08 00:10:01 +02:00
  • 9f4033d1c4 if a stream comes with now sensible properties attached, use common fallback db entry. Lennart Poettering 2008-10-08 00:08:51 +02:00
  • 68cc2996cc after calling PA_CORE_HOOK_SINK_SET_VOLUME hook, check again whether the volume changed Lennart Poettering 2008-10-07 22:47:32 +02:00
  • 46f73fb953 additional validity checks Lennart Poettering 2008-10-07 22:47:01 +02:00
  • e053fa03f7 if the channel map was modified due to PA_SINK_INPUT_FIX_CHANNELS, remap the specified volume properly Lennart Poettering 2008-10-07 22:46:18 +02:00
  • e1dbc75eb8 use pa_channel_map_init_extend() instead of pa_channel_map_init_auto() as channel map for sink inputs/source outputs in case no map is specified Lennart Poettering 2008-10-07 22:45:37 +02:00
  • ae83483cf0 modernize a few checks Lennart Poettering 2008-10-07 22:44:43 +02:00
  • 72024cda54 when the volume is changed make sure we send out a subscription event Lennart Poettering 2008-10-07 22:43:00 +02:00
  • 624f220aa6 instead of resetting virtual_volume unconditionally on initialization, do so only when no volume was set before Lennart Poettering 2008-10-07 22:42:13 +02:00
  • 5925d44013 Merge commit 'origin/master-tx' into master-tx Lennart Poettering 2008-10-07 21:38:06 +02:00
  • 3d7b76d159 Unload module-bluetooth-device if the remote device disconnects. Luiz Augusto von Dentz 2008-10-06 14:59:15 -03:00
  • c8a963af02 Initialize exit_idle_time to -1 instead of 0 when in system mode. Lennart Poettering 2008-10-07 02:00:07 +02:00
  • 1e513c3420 Initialize exit_idle_time to -1 instead of 0 when in system mode. Lennart Poettering 2008-10-07 02:00:07 +02:00
  • 80a79b15df flat-volume thingy Marc-Andre Lureau 2008-10-07 01:37:39 +03:00
  • 45412740b8 volume hooks Marc-Andre Lureau 2008-10-07 01:37:38 +03:00
  • fa93cb71e8 make distcheck pass v0.9.13 Lennart Poettering 2008-10-06 03:35:46 +02:00
  • e26ffc9b50 Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio Lennart Poettering 2008-10-06 02:39:36 +02:00
  • be667af03f Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio Lennart Poettering 2008-10-06 02:39:24 +02:00
  • 0274651f88 bump version and sonames Lennart Poettering 2008-10-06 02:37:59 +02:00
  • f64d6af0b7 Merge commit 'vudentz/master' Lennart Poettering 2008-10-06 02:28:17 +02:00
  • aa4373962c make sure we send a started messages when we are uncorking Lennart Poettering 2008-10-06 02:26:08 +02:00
  • 5996f59dd5 update module-tunnel for recent protocol changes Lennart Poettering 2008-10-05 23:02:25 +02:00
  • f728e9cce0 disable valgrind macro usage for now since valgrind generates a lot of spurious warnings as it seems Lennart Poettering 2008-10-05 22:51:25 +02:00
  • 6d52a41307 add missing include Lennart Poettering 2008-10-05 15:38:56 +02:00
  • a9c1bb3e85 substract the unused record buffer size from the overall size before calculating the space still left for recording Lennart Poettering 2008-10-04 02:13:39 +02:00
  • 83b1d7a305 get rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() now Lennart Poettering 2008-10-04 01:48:13 +02:00
  • da4ad5ed01 implement pa_sw_volume_divide() and pa_sw_cvolume_divide() Lennart Poettering 2008-10-04 01:40:41 +02:00
  • 87c8132ce3 increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s Lennart Poettering 2008-10-04 01:07:38 +02:00
  • 530b95fec5 don't call snd_pcm_drain() when we suspend because that might take awfully long with our long buffer sizes these days Lennart Poettering 2008-10-04 01:07:08 +02:00
  • 88130eb9e6 add missing inclusion Lennart Poettering 2008-10-04 01:06:35 +02:00
  • 82c46f2238 do not cleanup staticly allocated memory unless we are in valgrind mode Lennart Poettering 2008-10-04 00:14:02 +02:00
  • 3c193520ee show valgrind status on startup Lennart Poettering 2008-10-04 00:13:29 +02:00
  • 9b00664295 instead of checking for directly use new function pa_in_valgrind() Lennart Poettering 2008-10-04 00:13:05 +02:00
  • 8222f1200f add new API function pa_in_valgrind() to check for Lennart Poettering 2008-10-04 00:10:43 +02:00
  • fef63d77b4 Fix loading module-bluetooth-device with an invalid parameter. Luiz Augusto von Dentz 2008-10-03 18:04:53 -03:00
  • 0c998b0891 Replace handlers of deprecated Connected signals with new PropertyChanged. Luiz Augusto von Dentz 2008-10-03 12:15:26 -03:00
  • b205fcc17c Cleanup module-bluetooth-discover. Luiz Augusto von Dentz 2008-10-01 20:15:09 -03:00
  • 20f68bcc46 Fix Connected signal handler. Luiz Augusto von Dentz 2008-10-01 12:16:16 -03:00
  • 04677cb925 Fix match rule problems. Luiz Augusto von Dentz 2008-10-01 12:04:55 -03:00
  • 0be845f3a9 Remove PropertyChanged signal handler. Luiz Augusto von Dentz 2008-10-01 11:37:00 -03:00
  • 3b427b7014 Add signal handlers for Connected signals. Luiz Augusto von Dentz 2008-10-01 11:35:51 -03:00
  • 443ea47ee0 Add match rules for org.bluez.Headset and org.bluez.AudioSink. Luiz Augusto von Dentz 2008-10-01 11:29:50 -03:00
  • 7a1a147881 rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is useful only for software volumes Lennart Poettering 2008-10-03 22:21:27 +02:00
  • c0815deb4a allow - in sample names Lennart Poettering 2008-10-03 19:49:15 +02:00
  • 28af9944fe increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI Lennart Poettering 2008-10-03 17:45:55 +02:00
  • bde142c237 when checking the validity of a cvolume check whether all values are not -1 Lennart Poettering 2008-10-03 17:45:04 +02:00
  • c0a9e8bfb7 add missing calls to map file Lennart Poettering 2008-10-03 17:44:17 +02:00
  • ebb2ecbe12 add new API call pa_cvolume_compatible() Lennart Poettering 2008-10-03 17:43:40 +02:00
  • 619ed8a82d add new API call pa_cvolume_snprint_dB() Lennart Poettering 2008-10-03 17:42:38 +02:00