Blame libmp3lame/version.h

Packit 47f805
/*
Packit 47f805
 *      Version numbering for LAME.
Packit 47f805
 *
Packit 47f805
 *      Copyright (c) 1999 A.L. Faber
Packit 47f805
 *
Packit 47f805
 * This library is free software; you can redistribute it and/or
Packit 47f805
 * modify it under the terms of the GNU Library General Public
Packit 47f805
 * License as published by the Free Software Foundation; either
Packit 47f805
 * version 2 of the License, or (at your option) any later version.
Packit 47f805
 *
Packit 47f805
 * This library is distributed in the hope that it will be useful,
Packit 47f805
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 47f805
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 47f805
 * Library General Public License for more details.
Packit 47f805
 *
Packit 47f805
 * You should have received a copy of the GNU Library General Public
Packit 47f805
 * License along with this library; if not, write to the
Packit 47f805
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit 47f805
 * Boston, MA 02111-1307, USA.
Packit 47f805
 */
Packit 47f805
Packit 47f805
#ifndef LAME_VERSION_H
Packit 47f805
#define LAME_VERSION_H
Packit 47f805
Packit 47f805
Packit 47f805
/*
Packit 47f805
 * To make a string from a token, use the # operator:
Packit 47f805
 */
Packit 47f805
#ifndef STR
Packit 47f805
# define __STR(x)  #x
Packit 47f805
# define STR(x)    __STR(x)
Packit 47f805
#endif
Packit 47f805
Packit 47f805
# define LAME_URL              "http://lame.sf.net"
Packit 47f805
Packit 47f805
Packit 47f805
# define LAME_MAJOR_VERSION      3 /* Major version number */
Packit 47f805
# define LAME_MINOR_VERSION    100 /* Minor version number */
Packit 47f805
# define LAME_TYPE_VERSION       2 /* 0:alpha 1:beta 2:release */
Packit 47f805
# define LAME_PATCH_VERSION      0 /* Patch level */
Packit 47f805
# define LAME_ALPHA_VERSION     (LAME_TYPE_VERSION==0)
Packit 47f805
# define LAME_BETA_VERSION      (LAME_TYPE_VERSION==1)
Packit 47f805
# define LAME_RELEASE_VERSION   (LAME_TYPE_VERSION==2)
Packit 47f805
Packit 47f805
# define PSY_MAJOR_VERSION       1 /* Major version number */
Packit 47f805
# define PSY_MINOR_VERSION       0 /* Minor version number */
Packit 47f805
# define PSY_ALPHA_VERSION       0 /* Set number if this is an alpha version, otherwise zero */
Packit 47f805
# define PSY_BETA_VERSION        0 /* Set number if this is a beta version, otherwise zero */
Packit 47f805
Packit 47f805
#if LAME_ALPHA_VERSION
Packit 47f805
#define LAME_PATCH_LEVEL_STRING " alpha " STR(LAME_PATCH_VERSION)
Packit 47f805
#endif
Packit 47f805
#if LAME_BETA_VERSION
Packit 47f805
#define LAME_PATCH_LEVEL_STRING " beta " STR(LAME_PATCH_VERSION)
Packit 47f805
#endif
Packit 47f805
#if LAME_RELEASE_VERSION
Packit 47f805
#if LAME_PATCH_VERSION
Packit 47f805
#define LAME_PATCH_LEVEL_STRING " release " STR(LAME_PATCH_VERSION)
Packit 47f805
#else
Packit 47f805
#define LAME_PATCH_LEVEL_STRING ""
Packit 47f805
#endif
Packit 47f805
#endif
Packit 47f805
Packit 47f805
# define LAME_VERSION_STRING STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERSION) LAME_PATCH_LEVEL_STRING
Packit 47f805
Packit 47f805
#endif /* LAME_VERSION_H */
Packit 47f805
Packit 47f805
/* End of version.h */