mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Add PCM definitions dpl and dpl2
Add PCM definitions "dpl" and "dpl2" in pcm/dpl.conf. Include the file via <confdir:pcm/dpl.conf> for use.
This commit is contained in:
		
							parent
							
								
									8b79a92537
								
							
						
					
					
						commit
						04a5f529db
					
				
					 2 changed files with 45 additions and 1 deletions
				
			
		| 
						 | 
					@ -2,7 +2,8 @@ cfg_files = default.conf front.conf rear.conf center_lfe.conf side.conf\
 | 
				
			||||||
	    surround40.conf surround41.conf \
 | 
						    surround40.conf surround41.conf \
 | 
				
			||||||
	    surround50.conf surround51.conf \
 | 
						    surround50.conf surround51.conf \
 | 
				
			||||||
	    surround71.conf iec958.conf modem.conf \
 | 
						    surround71.conf iec958.conf modem.conf \
 | 
				
			||||||
	    dmix.conf dsnoop.conf
 | 
						    dmix.conf dsnoop.conf \
 | 
				
			||||||
 | 
						    dpl.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EXTRA_DIST = $(cfg_files)
 | 
					EXTRA_DIST = $(cfg_files)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										43
									
								
								src/conf/pcm/dpl.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								src/conf/pcm/dpl.conf
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,43 @@
 | 
				
			||||||
 | 
					pcm.!dpl {
 | 
				
			||||||
 | 
						@args [ SLAVE ]
 | 
				
			||||||
 | 
						@args.SLAVE {
 | 
				
			||||||
 | 
							type string
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						type route
 | 
				
			||||||
 | 
						slave.pcm $SLAVE
 | 
				
			||||||
 | 
						slave.channels 2
 | 
				
			||||||
 | 
						# input: FL/FR/SL/SR/C/LFE
 | 
				
			||||||
 | 
						# S=SL+SR, LFE not used
 | 
				
			||||||
 | 
						ttable.0.0 1
 | 
				
			||||||
 | 
						ttable.1.1 1
 | 
				
			||||||
 | 
						ttable.2.0 0.707
 | 
				
			||||||
 | 
						ttable.2.1 -0.707
 | 
				
			||||||
 | 
						ttable.3.0 0.707
 | 
				
			||||||
 | 
						ttable.3.1 -0.707
 | 
				
			||||||
 | 
						ttable.4.0 0.707
 | 
				
			||||||
 | 
						ttable.4.1 0.707
 | 
				
			||||||
 | 
						ttable.5.0 0
 | 
				
			||||||
 | 
						ttable.5.1 0
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pcm.!dpl2 {
 | 
				
			||||||
 | 
						@args [SLAVE]
 | 
				
			||||||
 | 
						@args.SLAVE {
 | 
				
			||||||
 | 
							type string
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						type route
 | 
				
			||||||
 | 
						slave.pcm $SLAVE
 | 
				
			||||||
 | 
						slave.channels 2
 | 
				
			||||||
 | 
						# input: FL/FR/SL/SR/C/LFE
 | 
				
			||||||
 | 
						# LFE not used
 | 
				
			||||||
 | 
						ttable.0.0 1
 | 
				
			||||||
 | 
						ttable.1.1 1
 | 
				
			||||||
 | 
						ttable.2.0 0.866
 | 
				
			||||||
 | 
						ttable.2.1 -0.5
 | 
				
			||||||
 | 
						ttable.3.0 0.5
 | 
				
			||||||
 | 
						ttable.3.1 -0.866
 | 
				
			||||||
 | 
						ttable.4.0 0.707
 | 
				
			||||||
 | 
						ttable.4.1 0.707
 | 
				
			||||||
 | 
						ttable.5.0 0
 | 
				
			||||||
 | 
						ttable.5.1 0
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue