Win32 cleanups for aiff support.
This commit is contained in:
parent
1948eef43d
commit
0b9505e63b
|
@ -27,6 +27,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "err.h"
|
#include "err.h"
|
||||||
#include "mp3-scanner.h"
|
#include "mp3-scanner.h"
|
||||||
|
|
||||||
|
@ -122,7 +124,7 @@ int scan_get_aifinfo(char *filename, MP3FILE *pmp3) {
|
||||||
int done=0;
|
int done=0;
|
||||||
AIF_CHUNK_HEADER chunk;
|
AIF_CHUNK_HEADER chunk;
|
||||||
AIF_IFF_HEADER iff_header;
|
AIF_IFF_HEADER iff_header;
|
||||||
size_t current_pos = 0;
|
long current_pos = 0;
|
||||||
|
|
||||||
DPRINTF(E_DBG,L_SCAN,"Getting AIFF file info\n");
|
DPRINTF(E_DBG,L_SCAN,"Getting AIFF file info\n");
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,13 @@
|
||||||
# define FALSE 0
|
# define FALSE 0
|
||||||
#endif
|
#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 */
|
/* Funtion fixups */
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#define vsnprintf _vsnprintf
|
#define vsnprintf _vsnprintf
|
||||||
|
|
|
@ -186,6 +186,9 @@
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\scan-aac.c">
|
RelativePath="..\src\scan-aac.c">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\src\scan-aif.c">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\src\scan-flac.c">
|
RelativePath="..\src\scan-flac.c">
|
||||||
</File>
|
</File>
|
||||||
|
|
Loading…
Reference in New Issue