diff options
author | John Glover <j@johnglover.net> | 2012-07-02 19:33:32 +0100 |
---|---|---|
committer | John Glover <j@johnglover.net> | 2012-07-02 19:33:32 +0100 |
commit | af16463b5a877c1662328bc80cd10cc1c552c986 (patch) | |
tree | 7c93842a94a8a4c36238cc5da2bb336b62857844 /src/sms/sms.h | |
parent | 6386745c7c5edd99876181fded4f8e6543a2df45 (diff) | |
download | simpl-af16463b5a877c1662328bc80cd10cc1c552c986.tar.gz simpl-af16463b5a877c1662328bc80cd10cc1c552c986.tar.bz2 simpl-af16463b5a877c1662328bc80cd10cc1c552c986.zip |
[sms] Name header and data structs, no need for char parameter to sms_fillHeader.
Diffstat (limited to 'src/sms/sms.h')
-rw-r--r-- | src/sms/sms.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sms/sms.h b/src/sms/sms.h index 4e6e5c1..14399fc 100644 --- a/src/sms/sms.h +++ b/src/sms/sms.h @@ -58,7 +58,7 @@ * the documentation will be updated to reflect which members of the header * are useful in manipulations, and what functions to use for these manipulatinos */ -typedef struct +typedef struct SMSHeader { int iSmsMagic; /*!< identification constant */ int iHeadBSize; /*!< size in bytes of header */ @@ -88,7 +88,7 @@ typedef struct * pFSinPha is optional in the final output, but it is always used to construct the * residual signal. */ -typedef struct +typedef struct SMSData { sfloat *pSmsData; /*!< pointer to all SMS data */ int sizeData; /*!< size of all the data */ @@ -671,7 +671,7 @@ void sms_sineSynthFrame(SMS_Data *pSmsFrame, sfloat *pBuffer, void sms_initHeader(SMS_Header *pSmsHeader); int sms_getHeader(char *pChFileName, SMS_Header **ppSmsHeader, FILE **ppInputFile); -void sms_fillHeader(SMS_Header *pSmsHeader, SMS_AnalParams *pAnalParams, char *pProgramString); +void sms_fillHeader(SMS_Header *pSmsHeader, SMS_AnalParams *pAnalParams); int sms_writeHeader(char *pFileName, SMS_Header *pSmsHeader, FILE **ppOutSmsFile); int sms_writeFile(FILE *pSmsFile, SMS_Header *pSmsHeader); int sms_initFrame(int iCurrentFrame, SMS_AnalParams *pAnalParams, int sizeWindow); |