version.c File Reference

Version numbering for LAME. More...

#include <config.h>
#include "lame.h"
#include "machine.h"
#include "version.h"

Include dependency graph for version.c:

Go to the source code of this file.

Defines

#define STR(x)   #x
#define XSTR(x)   STR(x)

Functions

const char * get_lame_version (void)
const char * get_lame_short_version (void)
const char * get_lame_very_short_version (void)
const char * get_psy_version (void)
const char * get_lame_url (void)
void get_lame_version_numerical (lame_version_t *const lvp)
const char * get_lame_os_bitness (void)


Detailed Description

Version numbering for LAME.

Contains functions which describe the version of LAME.

Author:
A.L. Faber
Version:
$Id: version.c,v 1.28 2007/07/24 17:46:12 bouvigne Exp $

Definition in file version.c.


Define Documentation

#define STR (  )     #x

Stringify x.

Definition at line 46 of file version.c.

#define XSTR (  )     STR(x)

Stringify x, perform macro expansion.

Definition at line 48 of file version.c.

Referenced by get_lame_short_version(), get_lame_version(), get_lame_very_short_version(), get_mp3x_version(), and get_psy_version().


Function Documentation

const char* get_lame_os_bitness ( void   ) 

Definition at line 221 of file version.c.

Referenced by lame_print_config(), and lame_version_print().

const char* get_lame_short_version ( void   ) 

It's mainly for inclusion into the MP3 stream.

Parameters:
void 
Returns:
a pointer to the short version of the LAME version string.

Definition at line 90 of file version.c.

References LAME_MAJOR_VERSION, LAME_MINOR_VERSION, LAME_PATCH_VERSION, and XSTR.

Referenced by drain_into_ancillary().

const char* get_lame_url ( void   ) 

Parameters:
void 
Returns:
a pointer to a string which is a URL for the LAME website.

Definition at line 173 of file version.c.

References LAME_URL.

Referenced by lame_print_config(), lame_version_print(), and text_window().

const char* get_lame_version ( void   ) 

Parameters:
void 
Returns:
a pointer to a string which describes the version of LAME.

Definition at line 58 of file version.c.

References LAME_MAJOR_VERSION, LAME_MINOR_VERSION, LAME_PATCH_VERSION, and XSTR.

Referenced by id3tag_write_v2(), lame_print_config(), lame_version_print(), and text_window().

void get_lame_version_numerical ( lame_version_t *const   lvp  ) 

Writes the numerical representation of the version of LAME and GPSYCHO into lvp.

Parameters:
lvp 

Definition at line 189 of file version.c.

References lame_version_t::alpha, lame_version_t::beta, lame_version_t::features, LAME_MAJOR_VERSION, LAME_MINOR_VERSION, LAME_PATCH_VERSION, lame_version_t::major, lame_version_t::minor, lame_version_t::psy_alpha, PSY_ALPHA_VERSION, lame_version_t::psy_beta, PSY_BETA_VERSION, lame_version_t::psy_major, PSY_MAJOR_VERSION, lame_version_t::psy_minor, and PSY_MINOR_VERSION.

const char* get_lame_very_short_version ( void   ) 

It's used in the LAME VBR tag only.

Parameters:
void 
Returns:
a pointer to the short version of the LAME version string.

Definition at line 120 of file version.c.

References LAME_MAJOR_VERSION, LAME_MINOR_VERSION, and XSTR.

Referenced by PutLameVBR().

const char* get_psy_version ( void   ) 

Parameters:
void 
Returns:
a pointer to a string which describes the version of GPSYCHO.

Definition at line 148 of file version.c.

References PSY_ALPHA_VERSION, PSY_BETA_VERSION, PSY_MAJOR_VERSION, PSY_MINOR_VERSION, and XSTR.

Referenced by text_window().


Generated on Sun Dec 2 11:37:16 2007 for LAME by  doxygen 1.5.2