mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Fix member names of AudioFrame to match extension
				
					
				
			This commit is contained in:
		
							parent
							
								
									dfe226b933
								
							
						
					
					
						commit
						d8b29efe66
					
				
					 20 changed files with 154 additions and 136 deletions
				
			
		|  | @ -666,11 +666,11 @@ Ref<Texture2D> EditorAudioStreamPreviewPlugin::generate(const Ref<Resource> &p_f | |||
| 		} | ||||
| 
 | ||||
| 		for (int j = from; j < to; j++) { | ||||
| 			max = MAX(max, frames[j].l); | ||||
| 			max = MAX(max, frames[j].r); | ||||
| 			max = MAX(max, frames[j].left); | ||||
| 			max = MAX(max, frames[j].right); | ||||
| 
 | ||||
| 			min = MIN(min, frames[j].l); | ||||
| 			min = MIN(min, frames[j].r); | ||||
| 			min = MIN(min, frames[j].left); | ||||
| 			min = MIN(min, frames[j].right); | ||||
| 		} | ||||
| 
 | ||||
| 		int pfrom = CLAMP((min * 0.5 + 0.5) * h / 2, 0, h / 2) + h / 4; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 A Thousand Ships
						A Thousand Ships