mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-10-29 05:40:25 -04:00 
			
		
		
		
	Added pcm.dmix definition
This commit is contained in:
		
							parent
							
								
									391a233abb
								
							
						
					
					
						commit
						bb15bea655
					
				
					 1 changed files with 25 additions and 1 deletions
				
			
		|  | @ -176,6 +176,30 @@ pcm.plug { | |||
| 	slave.pcm $SLAVE | ||||
| } | ||||
| 
 | ||||
| pcm.dmix { | ||||
| 	@args [ SLAVE FORMAT RATE ] | ||||
| 	@args.SLAVE { | ||||
| 		type string | ||||
| 		default "hw:0,0" | ||||
| 	} | ||||
| 	@args.FORMAT { | ||||
| 		type string | ||||
| 		default S16_LE | ||||
| 	} | ||||
| 	@args.RATE { | ||||
| 		type integer | ||||
| 		default 48000 | ||||
| 	} | ||||
| 	type dmix | ||||
| 	ipc_key 5678293 | ||||
| 	ipc_key_add_uid yes | ||||
| 	slave { | ||||
| 		pcm $SLAVE | ||||
| 		format $FORMAT | ||||
| 		rate $RATE | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| pcm.shm { | ||||
| 	@args [ SOCKET PCM ] | ||||
| 	@args.SOCKET { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jaroslav Kysela
						Jaroslav Kysela