Ignore:
Timestamp:
11/11/06 18:19:44 (17 years ago)
Author:
r2d
Message:
  • added "EI" and "RG" blocks in output
  • updated "SI" block according to the spec
  • added "SE" block at the end of the stream
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/r2d/src/mppenc.h

    r78 r116  
    106106// FIXME : put in lib header
    107107void         Init_SV8             ( mpc_encoder_t* );
    108 void WriteHeader_SV8 ( mpc_encoder_t*e, const unsigned int  MaxBand,
     108void writeStreamInfo ( mpc_encoder_t*e,
     109                                           const unsigned int  MaxBand,
    109110                                           const unsigned int  MS_on,
    110111                                           const unsigned int  SamplesCount,
    111                                            const unsigned int  StreamVersion,
    112                                            const unsigned int  PNS_on,
    113112                                           const unsigned int  SampleFreq,
    114113                                           const unsigned int  ChannelCount);
     114void writeEncoderInfo ( mpc_encoder_t * e,
     115                                                const int profile,
     116                                                const int PNS_on,
     117                                                const int version_major,
     118                                                const int version_minor,
     119                                                const int version_implement,
     120                                                const int version_build );
     121void writeGainInfo ( mpc_encoder_t * e );
    115122void writeBlock ( mpc_encoder_t * e, const char * key, const mpc_bool_t addCRC);
    116123void writeMagic(mpc_encoder_t * e);
     
    152159void   SendQuitMessage     ( void );
    153160void   SendModeMessage     ( const int );
    154 void   SendStartupMessage  ( const char*, const int, const char* );
     161void   SendStartupMessage  ( const char*, const int);
    155162void   SendProgressMessage ( const int, const float, const float );
    156163#else
     
    160167# define SendQuitMessage()              (void)0
    161168# define SendModeMessage(x)             (void)0
    162 # define SendStartupMessage(x,y,s)      (void)0
     169# define SendStartupMessage(x,y      (void)0
    163170# define SendProgressMessage(x,y,z)     (void)0
    164171#endif /* _WIN32 */
Note: See TracChangeset for help on using the changeset viewer.