mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	EMU10K1.conf: Don't lock hook controls
Locking the controls in hooks causes a BUSY error when multiple streams are opened, typically in PulseAudio. Better not to touch the locking in hooks in such a case. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
		
							parent
							
								
									7ed19bbc9a
								
							
						
					
					
						commit
						16f716eadd
					
				
					 1 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
					@ -21,7 +21,7 @@ EMU10K1.pcm.front.0 {
 | 
				
			||||||
				interface PCM
 | 
									interface PCM
 | 
				
			||||||
				name "EMU10K1 PCM Send Volume"
 | 
									name "EMU10K1 PCM Send Volume"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
									value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -29,7 +29,7 @@ EMU10K1.pcm.front.0 {
 | 
				
			||||||
				# for compatibility with older drivers
 | 
									# for compatibility with older drivers
 | 
				
			||||||
				name "EMU10K1 PCM Send Volume"
 | 
									name "EMU10K1 PCM Send Volume"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
									value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -37,7 +37,7 @@ EMU10K1.pcm.front.0 {
 | 
				
			||||||
				interface PCM
 | 
									interface PCM
 | 
				
			||||||
				name "EMU10K1 PCM Send Routing"
 | 
									name "EMU10K1 PCM Send Routing"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
 | 
									value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -45,7 +45,7 @@ EMU10K1.pcm.front.0 {
 | 
				
			||||||
				# for compatibility with older drivers
 | 
									# for compatibility with older drivers
 | 
				
			||||||
				name "EMU10K1 PCM Send Routing"
 | 
									name "EMU10K1 PCM Send Routing"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
 | 
									value [ 8 9 0 0 8 9 0 0 8 9 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -72,7 +72,7 @@ EMU10K1.pcm.rear.0 {
 | 
				
			||||||
				interface PCM
 | 
									interface PCM
 | 
				
			||||||
				name "EMU10K1 PCM Send Volume"
 | 
									name "EMU10K1 PCM Send Volume"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
 | 
									value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -80,7 +80,7 @@ EMU10K1.pcm.rear.0 {
 | 
				
			||||||
				# for compatibility with older drivers
 | 
									# for compatibility with older drivers
 | 
				
			||||||
				name "EMU10K1 PCM Send Volume"
 | 
									name "EMU10K1 PCM Send Volume"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
 | 
									value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -133,7 +133,7 @@ EMU10K1.pcm.center_lfe.0 {
 | 
				
			||||||
				interface PCM
 | 
									interface PCM
 | 
				
			||||||
				name "EMU10K1 PCM Send Volume"
 | 
									name "EMU10K1 PCM Send Volume"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
									value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -141,7 +141,7 @@ EMU10K1.pcm.center_lfe.0 {
 | 
				
			||||||
				# for compatibility with older drivers
 | 
									# for compatibility with older drivers
 | 
				
			||||||
				name "EMU10K1 PCM Send Volume"
 | 
									name "EMU10K1 PCM Send Volume"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
									value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -149,7 +149,7 @@ EMU10K1.pcm.center_lfe.0 {
 | 
				
			||||||
				interface PCM
 | 
									interface PCM
 | 
				
			||||||
				name "EMU10K1 PCM Send Routing"
 | 
									name "EMU10K1 PCM Send Routing"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
 | 
									value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -157,7 +157,7 @@ EMU10K1.pcm.center_lfe.0 {
 | 
				
			||||||
				# for compatibility with older drivers
 | 
									# for compatibility with older drivers
 | 
				
			||||||
				name "EMU10K1 PCM Send Routing"
 | 
									name "EMU10K1 PCM Send Routing"
 | 
				
			||||||
				index { @func private_pcm_subdevice }
 | 
									index { @func private_pcm_subdevice }
 | 
				
			||||||
				lock true
 | 
									# lock true
 | 
				
			||||||
				optional true
 | 
									optional true
 | 
				
			||||||
				value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
 | 
									value [ 6 7 0 0 6 7 0 0 6 7 0 0 ]
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue