audiofile.h | audiofile.h | |||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
*/ | */ | |||
#ifndef AUDIOFILE_H | #ifndef AUDIOFILE_H | |||
#define AUDIOFILE_H | #define AUDIOFILE_H | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <aupvlist.h> | #include <aupvlist.h> | |||
#define LIBAUDIOFILE_MAJOR_VERSION 0 | #define LIBAUDIOFILE_MAJOR_VERSION 0 | |||
#define LIBAUDIOFILE_MINOR_VERSION 2 | #define LIBAUDIOFILE_MINOR_VERSION 2 | |||
#define LIBAUDIOFILE_MICRO_VERSION 4 | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" | extern "C" | |||
{ | { | |||
#endif /* __cplusplus */ | #endif /* __cplusplus */ | |||
typedef struct _AFvirtualfile AFvirtualfile; | typedef struct _AFvirtualfile AFvirtualfile; | |||
typedef struct _AFfilesetup *AFfilesetup; | typedef struct _AFfilesetup *AFfilesetup; | |||
typedef struct _AFfilehandle *AFfilehandle; | typedef struct _AFfilehandle *AFfilehandle; | |||
skipping to change at line 423 | skipping to change at line 424 | |||
int afGetFileFormat (AFfilehandle, int *version); | int afGetFileFormat (AFfilehandle, int *version); | |||
/* track */ | /* track */ | |||
void afInitTrackIDs (AFfilesetup, int *trackids, int trackCount); | void afInitTrackIDs (AFfilesetup, int *trackids, int trackCount); | |||
int afGetTrackIDs (AFfilehandle, int *trackids); | int afGetTrackIDs (AFfilehandle, int *trackids); | |||
/* track data: reading, writng, seeking, sizing frames */ | /* track data: reading, writng, seeking, sizing frames */ | |||
int afReadFrames (AFfilehandle, int track, void *buffer, int frameCount); | int afReadFrames (AFfilehandle, int track, void *buffer, int frameCount); | |||
int afWriteFrames (AFfilehandle, int track, const void *buffer, int frameCo unt); | int afWriteFrames (AFfilehandle, int track, const void *buffer, int frameCo unt); | |||
AFframecount afSeekFrame (AFfilehandle, int track, AFframecount frameoffset ); | AFframecount afSeekFrame (AFfilehandle, int track, AFframecount frameoffset ); | |||
AFfileoffset afTellFrame (AFfilehandle, int track); | AFframecount afTellFrame (AFfilehandle, int track); | |||
AFfileoffset afGetTrackBytes (AFfilehandle, int track); | AFfileoffset afGetTrackBytes (AFfilehandle, int track); | |||
float afGetFrameSize (AFfilehandle, int track, int expand3to4); | float afGetFrameSize (AFfilehandle, int track, int expand3to4); | |||
float afGetVirtualFrameSize (AFfilehandle, int track, int expand3to4); | float afGetVirtualFrameSize (AFfilehandle, int track, int expand3to4); | |||
/* track data: AES data */ | /* track data: AES data */ | |||
/* afInitAESChannelData is obsolete -- use afInitAESChannelDataTo() */ | /* afInitAESChannelData is obsolete -- use afInitAESChannelDataTo() */ | |||
void afInitAESChannelData (AFfilesetup, int track); /* obsolete */ | void afInitAESChannelData (AFfilesetup, int track); /* obsolete */ | |||
void afInitAESChannelDataTo (AFfilesetup, int track, int willBeData); | void afInitAESChannelDataTo (AFfilesetup, int track, int willBeData); | |||
int afGetAESChannelData (AFfilehandle, int track, unsigned char buf[24]); | int afGetAESChannelData (AFfilehandle, int track, unsigned char buf[24]); | |||
void afSetAESChannelData (AFfilehandle, int track, unsigned char buf[24]); | void afSetAESChannelData (AFfilehandle, int track, unsigned char buf[24]); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||