Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								72024cda54
								
							
						 | 
						
							
							
								
								when the volume is changed make sure we send out a subscription event
							
							
							
							
							
						 | 
						
							2008-10-07 22:43:00 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								624f220aa6
								
							
						 | 
						
							
							
								
								instead of resetting virtual_volume unconditionally on initialization, do so only when no volume was set before
							
							
							
							
							
						 | 
						
							2008-10-07 22:42:13 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								1e513c3420
								
							
						 | 
						
							
							
								
								Initialize exit_idle_time to -1 instead of 0  when in system mode.
							
							
							
							
							
							
							
							Spotted by Rafał Mużyło. 
							
						 | 
						
							2008-10-07 02:00:07 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Marc-Andre Lureau
								
							 
						 | 
						
							
							
							
							
								
							
							
								80a79b15df
								
							
						 | 
						
							
							
								
								flat-volume thingy
							
							
							
							
							
							
							
							Signed-off-by: Lennart Poettering <lennart@poettering.net> 
							
						 | 
						
							2008-10-07 01:54:35 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Marc-Andre Lureau
								
							 
						 | 
						
							
							
							
							
								
							
							
								45412740b8
								
							
						 | 
						
							
							
								
								volume hooks
							
							
							
							
							
							
							
							Signed-off-by: Lennart Poettering <lennart@poettering.net> 
							
						 | 
						
							2008-10-07 01:54:30 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								fa93cb71e8
								
							
						 | 
						
							
							
								
								make distcheck pass
							
							
							
							
							
						 | 
						
							2008-10-06 03:35:46 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								f64d6af0b7
								
							
						 | 
						
							
							
								
								Merge commit 'vudentz/master'
							
							
							
							
							
						 | 
						
							2008-10-06 02:28:17 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								aa4373962c
								
							
						 | 
						
							
							
								
								make sure we send a started messages when we are uncorking
							
							
							
							
							
						 | 
						
							2008-10-06 02:26:08 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								5996f59dd5
								
							
						 | 
						
							
							
								
								update module-tunnel for recent protocol changes
							
							
							
							
							
						 | 
						
							2008-10-05 23:02:25 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								f728e9cce0
								
							
						 | 
						
							
							
								
								disable valgrind macro usage for now since valgrind generates a lot of spurious warnings as it seems
							
							
							
							
							
						 | 
						
							2008-10-05 22:51:25 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								6d52a41307
								
							
						 | 
						
							
							
								
								add missing include
							
							
							
							
							
						 | 
						
							2008-10-05 15:38:56 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								a9c1bb3e85
								
							
						 | 
						
							
							
								
								substract the unused record buffer size from the overall size before calculating the space still left for recording
							
							
							
							
							
						 | 
						
							2008-10-04 02:13:39 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								83b1d7a305
								
							
						 | 
						
							
							
								
								get rid of pa_alsa_volume_divide() since we have pa_sw_volume_divide() now
							
							
							
							
							
						 | 
						
							2008-10-04 01:48:13 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								da4ad5ed01
								
							
						 | 
						
							
							
								
								implement pa_sw_volume_divide() and pa_sw_cvolume_divide()
							
							
							
							
							
						 | 
						
							2008-10-04 01:40:41 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								87c8132ce3
								
							
						 | 
						
							
							
								
								increase suspend timeout to 5s so that it is always longer then the default tsched buffer size of 2s
							
							
							
							
							
						 | 
						
							2008-10-04 01:07:38 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								530b95fec5
								
							
						 | 
						
							
							
								
								don't call snd_pcm_drain() when we suspend because that might take awfully long with our long buffer sizes these days
							
							
							
							
							
						 | 
						
							2008-10-04 01:07:08 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								88130eb9e6
								
							
						 | 
						
							
							
								
								add missing inclusion
							
							
							
							
							
						 | 
						
							2008-10-04 01:06:35 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								82c46f2238
								
							
						 | 
						
							
							
								
								do not cleanup staticly allocated memory unless we are in valgrind mode
							
							
							
							
							
						 | 
						
							2008-10-04 00:14:02 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								3c193520ee
								
							
						 | 
						
							
							
								
								show valgrind status on startup
							
							
							
							
							
						 | 
						
							2008-10-04 00:13:29 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								9b00664295
								
							
						 | 
						
							
							
								
								instead of checking for  directly use new function pa_in_valgrind()
							
							
							
							
							
						 | 
						
							2008-10-04 00:13:05 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								8222f1200f
								
							
						 | 
						
							
							
								
								add new API function pa_in_valgrind() to check for
							
							
							
							
							
						 | 
						
							2008-10-04 00:10:43 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								fef63d77b4
								
							
						 | 
						
							
							
								
								Fix loading module-bluetooth-device with an invalid parameter.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								0c998b0891
								
							
						 | 
						
							
							
								
								Replace handlers of deprecated Connected signals with new PropertyChanged.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								b205fcc17c
								
							
						 | 
						
							
							
								
								Cleanup module-bluetooth-discover.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								20f68bcc46
								
							
						 | 
						
							
							
								
								Fix Connected signal handler.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								04677cb925
								
							
						 | 
						
							
							
								
								Fix match rule problems.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								0be845f3a9
								
							
						 | 
						
							
							
								
								Remove PropertyChanged signal handler.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								3b427b7014
								
							
						 | 
						
							
							
								
								Add signal handlers for Connected signals.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Luiz Augusto von Dentz
								
							 
						 | 
						
							
							
							
							
								
							
							
								443ea47ee0
								
							
						 | 
						
							
							
								
								Add match rules for org.bluez.Headset and org.bluez.AudioSink.
							
							
							
							
							
						 | 
						
							2008-10-03 18:07:07 -03:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								7a1a147881
								
							
						 | 
						
							
							
								
								rename pa_cvolume_snprint_dB to pa_sw_cvolume_snprint_dB since it is
							
							
							
							
							
							
							
							useful only for software volumes 
							
						 | 
						
							2008-10-03 22:21:27 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								c0815deb4a
								
							
						 | 
						
							
							
								
								allow - in sample names
							
							
							
							
							
						 | 
						
							2008-10-03 19:49:15 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								28af9944fe
								
							
						 | 
						
							
							
								
								increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI
							
							
							
							
							
						 | 
						
							2008-10-03 17:45:55 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								bde142c237
								
							
						 | 
						
							
							
								
								when checking the validity of a cvolume check whether all values are not -1
							
							
							
							
							
						 | 
						
							2008-10-03 17:45:04 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								c0a9e8bfb7
								
							
						 | 
						
							
							
								
								add missing calls to map file
							
							
							
							
							
						 | 
						
							2008-10-03 17:44:17 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								ebb2ecbe12
								
							
						 | 
						
							
							
								
								add new API call pa_cvolume_compatible()
							
							
							
							
							
						 | 
						
							2008-10-03 17:43:40 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								619ed8a82d
								
							
						 | 
						
							
							
								
								add new API call pa_cvolume_snprint_dB()
							
							
							
							
							
						 | 
						
							2008-10-03 17:42:38 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								be77bcd9ad
								
							
						 | 
						
							
							
								
								add new API call pa_cvolume_init()
							
							
							
							
							
						 | 
						
							2008-10-03 17:16:55 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								db975c7127
								
							
						 | 
						
							
							
								
								extend documentation for pa_channel_map_init()
							
							
							
							
							
						 | 
						
							2008-10-03 17:15:43 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								2367212ec3
								
							
						 | 
						
							
							
								
								make a few casts explicit to remove compiler warnings
							
							
							
							
							
						 | 
						
							2008-10-03 17:14:58 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								7c2cb77583
								
							
						 | 
						
							
							
								
								a bit of late pa_bool_t'ization
							
							
							
							
							
						 | 
						
							2008-10-03 17:14:35 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								d56f3751fe
								
							
						 | 
						
							
							
								
								treat a channel map only then as compatible with a sample spec if it is valid
							
							
							
							
							
						 | 
						
							2008-10-03 17:14:02 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								891989896d
								
							
						 | 
						
							
							
								
								add new API function pa_sample_spec_init()
							
							
							
							
							
						 | 
						
							2008-10-03 17:13:17 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								8a50105fe0
								
							
						 | 
						
							
							
								
								if a volume or channel map is invalid show so when printing it
							
							
							
							
							
						 | 
						
							2008-10-03 15:16:26 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								33b186e74d
								
							
						 | 
						
							
							
								
								user lrint() and friends in inner loops instead of normal C casts to speed up a few things
							
							
							
							
							
						 | 
						
							2008-10-03 02:34:59 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								1bb5e58fb3
								
							
						 | 
						
							
							
								
								use PA_FLOAT32_SWAP where useful
							
							
							
							
							
						 | 
						
							2008-10-03 02:33:44 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								7d442e3276
								
							
						 | 
						
							
							
								
								optimize mixing routines a bit by pulling the multiplication with the global volume out of the inner loop by applying it first to the per-stream volumes
							
							
							
							
							
						 | 
						
							2008-10-03 01:53:34 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								a0f4ffd3e1
								
							
						 | 
						
							
							
								
								make sure we call pa_sink_process_rewind() if a rewind was requested under all circumstances
							
							
							
							
							
						 | 
						
							2008-10-02 03:07:54 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								ea82dec294
								
							
						 | 
						
							
							
								
								when we mix into a 16bit accumulator make sure we clamp before we scale with a volume to avoid range faults when multiplying
							
							
							
							
							
						 | 
						
							2008-10-02 02:29:56 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								08cf9db0d1
								
							
						 | 
						
							
							
								
								properly parse response to pa_stream_set_buffer_attr() calls. closes #370
							
							
							
							
							
						 | 
						
							2008-10-02 01:15:58 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Lennart Poettering
								
							 
						 | 
						
							
							
							
							
								
							
							
								54afcf2598
								
							
						 | 
						
							
							
								
								inform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty
							
							
							
							
							
						 | 
						
							2008-10-02 01:02:31 +02:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 |