mirror of
				https://github.com/onyx-and-iris/voicemeeter.git
				synced 2025-10-30 22:31:44 +00:00 
			
		
		
		
	return int from ins,outs in device
This commit is contained in:
		
							parent
							
								
									7e480c7082
								
							
						
					
					
						commit
						df83f9c15f
					
				| @ -12,13 +12,13 @@ func newDevice() *device { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // Ins returns the total number of physical input devices | // Ins returns the total number of physical input devices | ||||||
| func (d *device) Ins() uint64 { | func (d *device) Ins() int { | ||||||
| 	return get_num_devices("in") | 	return int(get_num_devices("in")) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // Ins returns the total number of physical input devices | // Ins returns the total number of physical input devices | ||||||
| func (d *device) Outs() uint64 { | func (d *device) Outs() int { | ||||||
| 	return get_num_devices("out") | 	return int(get_num_devices("out")) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (d *device) Input(i int) devDesc { | func (d *device) Input(i int) devDesc { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user