mirror of
				https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
				synced 2025-11-04 06:11:46 +00:00 
			
		
		
		
	wdm, ks, mme and asio added to strip.device
This commit is contained in:
		
							parent
							
								
									42b17a7239
								
							
						
					
					
						commit
						6468270fd0
					
				@ -165,6 +165,46 @@ class Device : IStrip {
 | 
			
		||||
            return Write-Warning ("ERROR: $($this.identifier()).sr is read only")
 | 
			
		||||
        }
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    hidden $_wdm = $($this | Add-Member ScriptProperty 'wdm' `
 | 
			
		||||
        {
 | 
			
		||||
            return Write-Warning ("ERROR: $($this.identifier()).wdm is write only")
 | 
			
		||||
        } `
 | 
			
		||||
        {
 | 
			
		||||
            param($arg)
 | 
			
		||||
            return $this.Setter('wdm', $arg)
 | 
			
		||||
        }
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    hidden $_ks = $($this | Add-Member ScriptProperty 'ks' `
 | 
			
		||||
        {
 | 
			
		||||
            return Write-Warning ("ERROR: $($this.identifier()).ks is write only")
 | 
			
		||||
        } `
 | 
			
		||||
        {
 | 
			
		||||
            param($arg)
 | 
			
		||||
            return $this.Setter('ks', $arg)
 | 
			
		||||
        }
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    hidden $_mme = $($this | Add-Member ScriptProperty 'mme' `
 | 
			
		||||
        {
 | 
			
		||||
            return Write-Warning ("ERROR: $($this.identifier()).mme is write only")
 | 
			
		||||
        } `
 | 
			
		||||
        {
 | 
			
		||||
            param($arg)
 | 
			
		||||
            return $this.Setter('mme', $arg)
 | 
			
		||||
        }
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
    hidden $_asio = $($this | Add-Member ScriptProperty 'asio' `
 | 
			
		||||
        {
 | 
			
		||||
            return Write-Warning ("ERROR: $($this.identifier()).asio is write only")
 | 
			
		||||
        } `
 | 
			
		||||
        {
 | 
			
		||||
            param($arg)
 | 
			
		||||
            return $this.Setter('asio', $arg)
 | 
			
		||||
        }
 | 
			
		||||
    )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
class VirtualStrip : Strip {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user