mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Change MIN/MAX to PA_MIN/PA_MAX
This commit is contained in:
		
							parent
							
								
									27bc1ea423
								
							
						
					
					
						commit
						88a21e9677
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -323,8 +323,8 @@ static int bt_a2dp_init(struct userdata *u) {
 | 
			
		|||
//    if (cfg->has_bitpool)
 | 
			
		||||
//        min_bitpool = max_bitpool = cfg->bitpool;
 | 
			
		||||
//    else {
 | 
			
		||||
    min_bitpool = MAX(MIN_BITPOOL, cap->min_bitpool);
 | 
			
		||||
    max_bitpool = MIN(default_bitpool(cap->frequency, cap->channel_mode), cap->max_bitpool);
 | 
			
		||||
    min_bitpool = PA_MAX(MIN_BITPOOL, cap->min_bitpool);
 | 
			
		||||
    max_bitpool = PA_MIN(default_bitpool(cap->frequency, cap->channel_mode), cap->max_bitpool);
 | 
			
		||||
//    }
 | 
			
		||||
 | 
			
		||||
    cap->min_bitpool = min_bitpool;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue