mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Remove own "default" PCM config from GUS.conf
The system-wide default PCM config works now (by the fix of plug mmap_emul support), thus no card-specific hackish config is needed for GUS. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									d3a8e853fb
								
							
						
					
					
						commit
						56fa81fdab
					
				
					 1 changed files with 0 additions and 54 deletions
				
			
		| 
						 | 
					@ -17,57 +17,3 @@ GUS.pcm.front.0 {
 | 
				
			||||||
		card $CARD
 | 
							card $CARD
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}	
 | 
					}	
 | 
				
			||||||
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# First route with plug to drop mmap requirement.
 | 
					 | 
				
			||||||
# Then, use the mmap_emul plugin to allow using
 | 
					 | 
				
			||||||
# noninterleaved channels.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
!pcm.default {
 | 
					 | 
				
			||||||
	@args [ CARD DEV SUBDEV ]
 | 
					 | 
				
			||||||
	@args.CARD {
 | 
					 | 
				
			||||||
		type string
 | 
					 | 
				
			||||||
		default {
 | 
					 | 
				
			||||||
			@func getenv
 | 
					 | 
				
			||||||
			vars [
 | 
					 | 
				
			||||||
				ALSA_PCM_CARD
 | 
					 | 
				
			||||||
				ALSA_CARD
 | 
					 | 
				
			||||||
			]
 | 
					 | 
				
			||||||
			default {
 | 
					 | 
				
			||||||
				@func refer
 | 
					 | 
				
			||||||
				name defaults.pcm.card
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
	@args.DEV {
 | 
					 | 
				
			||||||
		type integer
 | 
					 | 
				
			||||||
		default {
 | 
					 | 
				
			||||||
			@func igetenv
 | 
					 | 
				
			||||||
			vars [
 | 
					 | 
				
			||||||
				ALSA_PCM_DEVICE
 | 
					 | 
				
			||||||
			]
 | 
					 | 
				
			||||||
			default {
 | 
					 | 
				
			||||||
				@func refer
 | 
					 | 
				
			||||||
				name defaults.pcm.device
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
	@args.SUBDEV {
 | 
					 | 
				
			||||||
		type integer
 | 
					 | 
				
			||||||
		default {
 | 
					 | 
				
			||||||
			@func refer
 | 
					 | 
				
			||||||
			name defaults.pcm.subdevice
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}		
 | 
					 | 
				
			||||||
	type plug
 | 
					 | 
				
			||||||
	slave.pcm {
 | 
					 | 
				
			||||||
		type mmap_emul
 | 
					 | 
				
			||||||
		slave.pcm {
 | 
					 | 
				
			||||||
			type hw
 | 
					 | 
				
			||||||
			card $CARD
 | 
					 | 
				
			||||||
			device $DEV
 | 
					 | 
				
			||||||
			subdevice $SUBDEV
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue