mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	modules: clean up USAGE arguments
use () to mark optional arguments to avoid confusion with arrays. Add some more optional arguments.
This commit is contained in:
		
							parent
							
								
									3decaa6457
								
							
						
					
					
						commit
						07e6f44e58
					
				
					 24 changed files with 200 additions and 200 deletions
				
			
		| 
						 | 
				
			
			@ -371,14 +371,14 @@ static int roc_source_setup(struct module_roc_source_data *data)
 | 
			
		|||
static const struct spa_dict_item module_roc_source_info[] = {
 | 
			
		||||
	{ PW_KEY_MODULE_AUTHOR, "Sanchayan Maity <sanchayan@asymptotic.io>" },
 | 
			
		||||
	{ PW_KEY_MODULE_DESCRIPTION, "roc source" },
 | 
			
		||||
	{ PW_KEY_MODULE_USAGE,	"source.name=<name for the source> "
 | 
			
		||||
				"resampler.profile=<empty>|disable|high|medium|low "
 | 
			
		||||
				"fec.code=<empty>|disable|rs8m|ldpc "
 | 
			
		||||
				"sess.latency.msec=<target network latency in milliseconds> "
 | 
			
		||||
				"local.ip=<local receiver ip> "
 | 
			
		||||
				"local.source.port=<local receiver port for source packets> "
 | 
			
		||||
				"local.repair.port=<local receiver port for repair packets> "
 | 
			
		||||
				"source.props= { key=value ... }" },
 | 
			
		||||
	{ PW_KEY_MODULE_USAGE,	"( source.name=<name for the source> ) "
 | 
			
		||||
				"( resampler.profile=<empty>|disable|high|medium|low ) "
 | 
			
		||||
				"( fec.code=<empty>|disable|rs8m|ldpc ) "
 | 
			
		||||
				"( sess.latency.msec=<target network latency in milliseconds> ) "
 | 
			
		||||
				"( local.ip=<local receiver ip> ) "
 | 
			
		||||
				"( local.source.port=<local receiver port for source packets> ) "
 | 
			
		||||
				"( local.repair.port=<local receiver port for repair packets> ) "
 | 
			
		||||
				"( source.props= { key=value ... } ) " },
 | 
			
		||||
	{ PW_KEY_MODULE_VERSION, PACKAGE_VERSION },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue