mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Added snd_*_open_lconf functions.
Some minor changes in config interface documentation.
This commit is contained in:
		
							parent
							
								
									f830a77334
								
							
						
					
					
						commit
						c33c5760ab
					
				
					 14 changed files with 145 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -211,6 +211,25 @@ int snd_rawmidi_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp,
 | 
			
		|||
	return snd_rawmidi_open_noupdate(inputp, outputp, snd_config, name, mode);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief Opens a new connection to the RawMidi interface using local configuration
 | 
			
		||||
 * \param inputp Returned input handle (NULL if not wanted)
 | 
			
		||||
 * \param outputp Returned output handle (NULL if not wanted)
 | 
			
		||||
 * \param name ASCII identifier of the RawMidi handle
 | 
			
		||||
 * \param mode Open mode
 | 
			
		||||
 * \param lconf Local configuration
 | 
			
		||||
 * \return 0 on success otherwise a negative error code
 | 
			
		||||
 *
 | 
			
		||||
 * Opens a new connection to the RawMidi interface specified with
 | 
			
		||||
 * an ASCII identifier and mode.
 | 
			
		||||
 */
 | 
			
		||||
int snd_rawmidi_open_lconf(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp,
 | 
			
		||||
			   const char *name, int mode, snd_config_t *lconf)
 | 
			
		||||
{
 | 
			
		||||
	assert((inputp || outputp) && name && lconf);
 | 
			
		||||
	return snd_rawmidi_open_noupdate(inputp, outputp, lconf, name, mode);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * \brief close RawMidi handle
 | 
			
		||||
 * \param rawmidi RawMidi handle
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue