Ignore:
Timestamp:
09/17/07 18:41:38 (17 years ago)
Author:
r2d
Message:

added version info for mpcdec and mpcgain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcdec/mpcdec.c

    r339 r344  
    4545#endif
    4646
     47#define MPCDEC_MAJOR 0
     48#define MPCDEC_MINOR 9
     49#define MPCDEC_BUILD 0
     50
     51#define _cat(a,b,c) #a"."#b"."#c
     52#define cat(a,b,c) _cat(a,b,c)
     53#define MPCDEC_VERSION cat(MPCDEC_MAJOR,MPCDEC_MINOR,MPCDEC_BUILD)
     54
     55const char    About []        = "mpcdec - musepack (mpc) decoder v" MPCDEC_VERSION " (C) 2006-2007 MDT\nBuilt " __DATE__ " " __TIME__ "\n";
     56
     57
    4758t_wav_uint32 mpc_wav_output_write(void* p_user_data, void const* p_buffer, t_wav_uint32 p_bytes)
    4859{
     
    105116        int c;
    106117
    107     printf("mpcdec - musepack (mpc) decoder sample application\n");
     118    printf(About);
    108119
    109120        while ((c = getopt(argc , argv, "ihc")) != -1) {
Note: See TracChangeset for help on using the changeset viewer.