mirror of
				https://github.com/owntone/owntone-server.git
				synced 2025-10-29 15:55:02 -04:00 
			
		
		
		
	Win32 cleanups for aiff support.
This commit is contained in:
		
							parent
							
								
									1948eef43d
								
							
						
					
					
						commit
						0b9505e63b
					
				| @ -27,6 +27,8 @@ | ||||
| #include <string.h> | ||||
| #include <fcntl.h> | ||||
| 
 | ||||
| #include <sys/types.h> | ||||
| 
 | ||||
| #include "err.h" | ||||
| #include "mp3-scanner.h" | ||||
| 
 | ||||
| @ -122,7 +124,7 @@ int scan_get_aifinfo(char *filename, MP3FILE *pmp3) { | ||||
|     int done=0; | ||||
|     AIF_CHUNK_HEADER chunk; | ||||
|     AIF_IFF_HEADER iff_header; | ||||
|     size_t current_pos = 0; | ||||
|     long current_pos = 0; | ||||
| 
 | ||||
|     DPRINTF(E_DBG,L_SCAN,"Getting AIFF file info\n"); | ||||
| 
 | ||||
|  | ||||
| @ -32,6 +32,13 @@ | ||||
| # define FALSE 0 | ||||
| #endif | ||||
| 
 | ||||
| typedef UINT8       uint8_t; | ||||
| typedef INT8        int8_t; | ||||
| typedef UINT16      uint16_t; | ||||
| typedef INT16       int16_t; | ||||
| typedef UINT32      uint32_t; | ||||
| typedef INT32       int32_t; | ||||
| 
 | ||||
| /* Funtion fixups */ | ||||
| #define snprintf _snprintf | ||||
| #define vsnprintf _vsnprintf | ||||
|  | ||||
| @ -186,6 +186,9 @@ | ||||
| 			<File | ||||
| 				RelativePath="..\src\scan-aac.c"> | ||||
| 			</File> | ||||
| 			<File | ||||
| 				RelativePath="..\src\scan-aif.c"> | ||||
| 			</File> | ||||
| 			<File | ||||
| 				RelativePath="..\src\scan-flac.c"> | ||||
| 			</File> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user