1 /* 2 * Version numbering for LAME. 3 * 4 * Copyright (c) 1999 A.L. Faber 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Library General Public 8 * License as published by the Free Software Foundation; either 9 * version 2 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Library General Public License for more details. 15 * 16 * You should have received a copy of the GNU Library General Public 17 * License along with this library; if not, write to the 18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 * Boston, MA 02111-1307, USA. 20 */ 21 22 #ifndef LAME_VERSION_H 23 #define LAME_VERSION_H 24 25 # include <stdio.h> 26 27 /* 28 * To make a string from a token, use the # operator: 29 * 30 * #define __STR(x) #x 31 * #define STR(x) __STR(x) 32 */ 33 34 # define LAME_URL "http://www.mp3dev.org/" 35 36 # define LAME_MAJOR_VERSION 3 /* Major version number */ 37 # define LAME_MINOR_VERSION 88 /* Minor version number */ 38 # define LAME_ALPHA_VERSION 0 /* Patch level of alpha version, otherwise zero */ 39 # define LAME_BETA_VERSION 1 /* Patch level of beta version, otherwise zero */ 40 41 # define PSY_MAJOR_VERSION 0 /* Major version number */ 42 # define PSY_MINOR_VERSION 85 /* Minor version number */ 43 # define PSY_ALPHA_VERSION 0 /* Set number if this is an alpha version, otherwise zero */ 44 # define PSY_BETA_VERSION 0 /* Set number if this is a beta version, otherwise zero */ 45 46 # define MP3X_MAJOR_VERSION 0 /* Major version number */ 47 # define MP3X_MINOR_VERSION 82 /* Minor version number */ 48 # define MP3X_ALPHA_VERSION 0 /* Set number if this is an alpha version, otherwise zero */ 49 # define MP3X_BETA_VERSION 0 /* Set number if this is a beta version, otherwise zero */ 50 51 const char* get_lame_version ( void ); 52 const char* get_lame_short_version ( void ); 53 const char* get_psy_version ( void ); 54 const char* get_mp3x_version ( void ); 55 const char* get_lame_url ( void ); 56 void get_lame_version_numerical ( lame_version_t *const lvp ); 57 58 #endif /* LAME_VERSION_H */ 59 60 /* End of version.h */ 61