Pauli Virtanen 
								
							 
						 
						
							
							
							
							
								
							
							
								f3a9ebd569 
								
							 
						 
						
							
							
								
								audioconvert: resampler: change resample_phase() unit to input samples  
							
							 
							
							... 
							
							
							
							Report fractional delay in input samples instead of nsec at the nominal
input rate, as that is closer to what the value actually means. 
							
						 
						
							2025-01-19 17:11:13 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Pauli Virtanen 
								
							 
						 
						
							
							
							
							
								
							
							
								07f6dde3dd 
								
							 
						 
						
							
							
								
								audioconvert: add function to get phase to resampler API  
							
							 
							
							... 
							
							
							
							Support getting any fractional phase part of the resampler delay in its
API. 
							
						 
						
							2025-01-17 19:10:43 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Barnabás Pőcze 
								
							 
						 
						
							
							
							
							
								
							
							
								934ab3036e 
								
							 
						 
						
							
							
								
								treewide: use SPDX tags to specify copyright information  
							
							 
							
							... 
							
							
							
							SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev  for more information. 
							
						 
						
							2023-02-16 10:54:48 +00:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								31f9e18edb 
								
							 
						 
						
							
							
								
								audioconvert: add resample.prefill option  
							
							 
							
							... 
							
							
							
							Add a resampler option to prefill the resampler with 0. This then
results in the resampler always outputing and consuming the same
amount of data instead of a short buffer in the beginning. 
							
						 
						
							2022-09-19 12:35:49 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								51f4f1fb69 
								
							 
						 
						
							
							
								
								audioconvert: expose the selected function names  
							
							 
							
							... 
							
							
							
							And debug them. 
							
						 
						
							2022-06-28 16:50:14 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								0d1cef6b3a 
								
							 
						 
						
							
							
								
								audioconvert: move some things around  
							
							 
							
							... 
							
							
							
							To make it easier to add other implementations later.
Improve selection of resampler function 
							
						 
						
							2020-04-03 18:03:42 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								454e743d1a 
								
							 
						 
						
							
							
								
								resample: make quality configurable  
							
							 
							
							
							
						 
						
							2020-02-12 13:31:03 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								a6a7b3ab54 
								
							 
						 
						
							
							
								
								resample: add functions to calculate in/out length  
							
							 
							
							... 
							
							
							
							Add test for this as well 
							
						 
						
							2019-07-08 18:26:08 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								2912d2506f 
								
							 
						 
						
							
							
								
								audioconvert: improve resampler  
							
							 
							
							... 
							
							
							
							Also emit port info the the merger monitor ports.
Proxy params and buffers to the right monitor ports.
fmtconvert does not always have dsp ports
Increase resampler output buffer sizes so that we can up and downsample.
Fix little off by one in native resampler.
Fix passthrough in speex resampler. 
							
						 
						
							2019-04-23 17:34:27 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								dc01b294a2 
								
							 
						 
						
							
							
								
								resample: return the number of consumed samples  
							
							 
							
							... 
							
							
							
							We need to return the number of consumed samples, even when we don't
start from the first sample in the buffer.
Add some more logging. 
							
						 
						
							2019-04-02 23:06:46 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								c8d3d475bb 
								
							 
						 
						
							
							
								
								audioconvert: handle more optimizations  
							
							 
							
							... 
							
							
							
							Compile an optimized library for the given CPU with the right flags,
then link it with the main library. 
							
						 
						
							2019-03-27 17:58:48 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								9c8913437b 
								
							 
						 
						
							
							
								
								audioconvert: add simple and faster resampler  
							
							 
							
							... 
							
							
							
							Add a sinc based resampler that, unlike speex, avoids memcpy and
works directly on the source data. It also allows for ssse3
optimizations and aligned loads. It will later switch to table
interpolation when doing variable rate. 
							
						 
						
							2019-03-26 12:58:26 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								f29d14fcc8 
								
							 
						 
						
							
							
								
								resample: Let the resampler object handle all channels  
							
							 
							
							... 
							
							
							
							Move the code to loop over all channels in the resampler itself.
This is better because the resampler can reuse its state for
each channel. 
							
						 
						
							2019-03-22 16:48:35 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								0a4ef3d2c0 
								
							 
						 
						
							
							
								
								resample: add SSE peaks resampler  
							
							 
							
							
							
						 
						
							2018-12-19 16:47:20 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Wim Taymans 
								
							 
						 
						
							
							
							
							
								
							
							
								5fa7e0f3eb 
								
							 
						 
						
							
							
								
								resample: add peaks resampler  
							
							 
							
							
							
						 
						
							2018-12-05 15:58:55 +01:00