mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	volume: document when arguments of certain functions may overlap
This commit is contained in:
		
							parent
							
								
									caa7928972
								
							
						
					
					
						commit
						ffeb1b81ba
					
				
					 1 changed files with 8 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -213,11 +213,13 @@ int pa_cvolume_channels_equal_to(const pa_cvolume *a, pa_volume_t v) PA_GCC_PURE
 | 
			
		|||
pa_volume_t pa_sw_volume_multiply(pa_volume_t a, pa_volume_t b) PA_GCC_CONST;
 | 
			
		||||
 | 
			
		||||
/** Multiply two per-channel volumes and return the result in
 | 
			
		||||
 * *dest. This is only valid for software volumes! */
 | 
			
		||||
 * *dest. This is only valid for software volumes! a, b and dest may
 | 
			
		||||
 * point to the same structure. */
 | 
			
		||||
pa_cvolume *pa_sw_cvolume_multiply(pa_cvolume *dest, const pa_cvolume *a, const pa_cvolume *b);
 | 
			
		||||
 | 
			
		||||
/** Multiply a per-channel volume with a scalar volume and return the
 | 
			
		||||
 * result in *dest. This is only valid for software volumes! \since
 | 
			
		||||
 * result in *dest. This is only valid for software volumes! a
 | 
			
		||||
 * and dest may point to the same structure. \since
 | 
			
		||||
 * 0.9.16 */
 | 
			
		||||
pa_cvolume *pa_sw_cvolume_multiply_scalar(pa_cvolume *dest, const pa_cvolume *a, pa_volume_t b);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -228,11 +230,13 @@ pa_cvolume *pa_sw_cvolume_multiply_scalar(pa_cvolume *dest, const pa_cvolume *a,
 | 
			
		|||
pa_volume_t pa_sw_volume_divide(pa_volume_t a, pa_volume_t b) PA_GCC_CONST;
 | 
			
		||||
 | 
			
		||||
/** Divide two per-channel volumes and return the result in
 | 
			
		||||
 * *dest. This is only valid for software volumes! \since 0.9.13 */
 | 
			
		||||
 * *dest. This is only valid for software volumes! a, b
 | 
			
		||||
 * and dest may point to the same structure. \since 0.9.13 */
 | 
			
		||||
pa_cvolume *pa_sw_cvolume_divide(pa_cvolume *dest, const pa_cvolume *a, const pa_cvolume *b);
 | 
			
		||||
 | 
			
		||||
/** Divide a per-channel volume by a scalar volume and return the
 | 
			
		||||
 * result in *dest. This is only valid for software volumes! \since
 | 
			
		||||
 * result in *dest. This is only valid for software volumes! a
 | 
			
		||||
 * and dest may point to the same structure. \since
 | 
			
		||||
 * 0.9.16 */
 | 
			
		||||
pa_cvolume *pa_sw_cvolume_divide_scalar(pa_cvolume *dest, const pa_cvolume *a, pa_volume_t b);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue