Formatting pass
							parent
							
								
									7a754e1c90
								
							
						
					
					
						commit
						26dc361d31
					
				|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Runtime.InteropServices; | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| using System.Runtime.InteropServices; | ||||
| using MoonWorks.Math; | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| using MoonWorks.Math; | ||||
| 
 | ||||
| namespace MoonWorks.Audio | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| 
 | ||||
| namespace MoonWorks.Audio | ||||
| { | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| using System.Runtime.InteropServices; | ||||
| using MoonWorks.Math; | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| namespace MoonWorks.Audio | ||||
| namespace MoonWorks.Audio | ||||
| { | ||||
| 	public enum SoundState | ||||
| 	{ | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| using System.Runtime.InteropServices; | ||||
| 
 | ||||
| namespace MoonWorks.Audio | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| 
 | ||||
| namespace MoonWorks.Audio | ||||
| { | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Runtime.InteropServices; | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| using System; | ||||
| using System; | ||||
| using System.IO; | ||||
| 
 | ||||
| namespace MoonWorks.Audio | ||||
|  | @ -20,7 +20,8 @@ namespace MoonWorks.Audio | |||
| 			string filePath, | ||||
| 			bool is3D = false, | ||||
| 			bool loop = false | ||||
|         ) { | ||||
| 		) | ||||
| 		{ | ||||
| 			var fileHandle = FAudio.stb_vorbis_open_filename(filePath, out var error, IntPtr.Zero); | ||||
| 			if (error != 0) | ||||
| 			{ | ||||
|  | @ -59,7 +60,8 @@ namespace MoonWorks.Audio | |||
| 			out uint bufferOffset, | ||||
| 			out uint bufferLength, | ||||
| 			out bool reachedEnd | ||||
|         ) { | ||||
| 		) | ||||
| 		{ | ||||
| 			buffer = this.buffer; | ||||
| 
 | ||||
| 			/* NOTE: this function returns samples per channel, not total samples */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue