diff --git a/lib-src/libmp3lame/lame.h b/lib-src/libmp3lame/lame.h new file mode 100644 index 000000000..5196690ff --- /dev/null +++ b/lib-src/libmp3lame/lame.h @@ -0,0 +1,1342 @@ +/* + * Interface to MP3 LAME encoding engine + * + * Copyright (c) 1999 Mark Taylor + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +/* $Id: lame.h,v 1.192 2017/08/31 14:14:46 robert Exp $ */ + +#ifndef LAME_LAME_H +#define LAME_LAME_H + +/* for size_t typedef */ +#include +/* for va_list typedef */ +#include +/* for FILE typedef, TODO: remove when removing lame_mp3_tags_fid */ +#include + +#if defined(__cplusplus) +extern "C" { +#endif + +typedef void (*lame_report_function)(const char *format, va_list ap); + +#if defined(WIN32) || defined(_WIN32) +#undef CDECL +#define CDECL __cdecl +#else +#define CDECL +#endif + +#define DEPRECATED_OR_OBSOLETE_CODE_REMOVED 1 + +typedef enum vbr_mode_e { + vbr_off=0, + vbr_mt, /* obsolete, same as vbr_mtrh */ + vbr_rh, + vbr_abr, + vbr_mtrh, + vbr_max_indicator, /* Don't use this! It's used for sanity checks. */ + vbr_default=vbr_mtrh /* change this to change the default VBR mode of LAME */ +} vbr_mode; + + +/* MPEG modes */ +typedef enum MPEG_mode_e { + STEREO = 0, + JOINT_STEREO, + DUAL_CHANNEL, /* LAME doesn't supports this! */ + MONO, + NOT_SET, + MAX_INDICATOR /* Don't use this! It's used for sanity checks. */ +} MPEG_mode; + +/* Padding types */ +typedef enum Padding_type_e { + PAD_NO = 0, + PAD_ALL, + PAD_ADJUST, + PAD_MAX_INDICATOR /* Don't use this! It's used for sanity checks. */ +} Padding_type; + + + +/*presets*/ +typedef enum preset_mode_e { + /*values from 8 to 320 should be reserved for abr bitrates*/ + /*for abr I'd suggest to directly use the targeted bitrate as a value*/ + ABR_8 = 8, + ABR_320 = 320, + + V9 = 410, /*Vx to match Lame and VBR_xx to match FhG*/ + VBR_10 = 410, + V8 = 420, + VBR_20 = 420, + V7 = 430, + VBR_30 = 430, + V6 = 440, + VBR_40 = 440, + V5 = 450, + VBR_50 = 450, + V4 = 460, + VBR_60 = 460, + V3 = 470, + VBR_70 = 470, + V2 = 480, + VBR_80 = 480, + V1 = 490, + VBR_90 = 490, + V0 = 500, + VBR_100 = 500, + + + + /*still there for compatibility*/ + R3MIX = 1000, + STANDARD = 1001, + EXTREME = 1002, + INSANE = 1003, + STANDARD_FAST = 1004, + EXTREME_FAST = 1005, + MEDIUM = 1006, + MEDIUM_FAST = 1007 +} preset_mode; + + +/*asm optimizations*/ +typedef enum asm_optimizations_e { + MMX = 1, + AMD_3DNOW = 2, + SSE = 3 +} asm_optimizations; + + +/* psychoacoustic model */ +typedef enum Psy_model_e { + PSY_GPSYCHO = 1, + PSY_NSPSYTUNE = 2 +} Psy_model; + + +/* buffer considerations */ +typedef enum buffer_constraint_e { + MDB_DEFAULT=0, + MDB_STRICT_ISO=1, + MDB_MAXIMUM=2 +} buffer_constraint; + + +struct lame_global_struct; +typedef struct lame_global_struct lame_global_flags; +typedef lame_global_flags *lame_t; + + + + +/*********************************************************************** + * + * The LAME API + * These functions should be called, in this order, for each + * MP3 file to be encoded. See the file "API" for more documentation + * + ***********************************************************************/ + + +/* + * REQUIRED: + * initialize the encoder. sets default for all encoder parameters, + * returns NULL if some malloc()'s failed + * otherwise returns pointer to structure needed for all future + * API calls. + */ +lame_global_flags * CDECL lame_init(void); +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* obsolete version */ +int CDECL lame_init_old(lame_global_flags *); +#endif + +/* + * OPTIONAL: + * set as needed to override defaults + */ + +/******************************************************************** + * input stream description + ***********************************************************************/ +/* number of samples. default = 2^32-1 */ +int CDECL lame_set_num_samples(lame_global_flags *, unsigned long); +unsigned long CDECL lame_get_num_samples(const lame_global_flags *); + +/* input sample rate in Hz. default = 44100hz */ +int CDECL lame_set_in_samplerate(lame_global_flags *, int); +int CDECL lame_get_in_samplerate(const lame_global_flags *); + +/* number of channels in input stream. default=2 */ +int CDECL lame_set_num_channels(lame_global_flags *, int); +int CDECL lame_get_num_channels(const lame_global_flags *); + +/* + scale the input by this amount before encoding. default=1 + (not used by decoding routines) +*/ +int CDECL lame_set_scale(lame_global_flags *, float); +float CDECL lame_get_scale(const lame_global_flags *); + +/* + scale the channel 0 (left) input by this amount before encoding. default=1 + (not used by decoding routines) +*/ +int CDECL lame_set_scale_left(lame_global_flags *, float); +float CDECL lame_get_scale_left(const lame_global_flags *); + +/* + scale the channel 1 (right) input by this amount before encoding. default=1 + (not used by decoding routines) +*/ +int CDECL lame_set_scale_right(lame_global_flags *, float); +float CDECL lame_get_scale_right(const lame_global_flags *); + +/* + output sample rate in Hz. default = 0, which means LAME picks best value + based on the amount of compression. MPEG only allows: + MPEG1 32, 44.1, 48khz + MPEG2 16, 22.05, 24 + MPEG2.5 8, 11.025, 12 + (not used by decoding routines) +*/ +int CDECL lame_set_out_samplerate(lame_global_flags *, int); +int CDECL lame_get_out_samplerate(const lame_global_flags *); + + +/******************************************************************** + * general control parameters + ***********************************************************************/ +/* 1=cause LAME to collect data for an MP3 frame analyzer. default=0 */ +int CDECL lame_set_analysis(lame_global_flags *, int); +int CDECL lame_get_analysis(const lame_global_flags *); + +/* + 1 = write a Xing VBR header frame. + default = 1 + this variable must have been added by a Hungarian notation Windows programmer :-) +*/ +int CDECL lame_set_bWriteVbrTag(lame_global_flags *, int); +int CDECL lame_get_bWriteVbrTag(const lame_global_flags *); + +/* 1=decode only. use lame/mpglib to convert mp3/ogg to wav. default=0 */ +int CDECL lame_set_decode_only(lame_global_flags *, int); +int CDECL lame_get_decode_only(const lame_global_flags *); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* 1=encode a Vorbis .ogg file. default=0 */ +/* DEPRECATED */ +int CDECL lame_set_ogg(lame_global_flags *, int); +int CDECL lame_get_ogg(const lame_global_flags *); +#endif + +/* + internal algorithm selection. True quality is determined by the bitrate + but this variable will effect quality by selecting expensive or cheap algorithms. + quality=0..9. 0=best (very slow). 9=worst. + recommended: 2 near-best quality, not too slow + 5 good quality, fast + 7 ok quality, really fast +*/ +int CDECL lame_set_quality(lame_global_flags *, int); +int CDECL lame_get_quality(const lame_global_flags *); + +/* + mode = 0,1,2,3 = stereo, jstereo, dual channel (not supported), mono + default: lame picks based on compression ration and input channels +*/ +int CDECL lame_set_mode(lame_global_flags *, MPEG_mode); +MPEG_mode CDECL lame_get_mode(const lame_global_flags *); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* + mode_automs. Use a M/S mode with a switching threshold based on + compression ratio + DEPRECATED +*/ +int CDECL lame_set_mode_automs(lame_global_flags *, int); +int CDECL lame_get_mode_automs(const lame_global_flags *); +#endif + +/* + force_ms. Force M/S for all frames. For testing only. + default = 0 (disabled) +*/ +int CDECL lame_set_force_ms(lame_global_flags *, int); +int CDECL lame_get_force_ms(const lame_global_flags *); + +/* use free_format? default = 0 (disabled) */ +int CDECL lame_set_free_format(lame_global_flags *, int); +int CDECL lame_get_free_format(const lame_global_flags *); + +/* perform ReplayGain analysis? default = 0 (disabled) */ +int CDECL lame_set_findReplayGain(lame_global_flags *, int); +int CDECL lame_get_findReplayGain(const lame_global_flags *); + +/* decode on the fly. Search for the peak sample. If the ReplayGain + * analysis is enabled then perform the analysis on the decoded data + * stream. default = 0 (disabled) + * NOTE: if this option is set the build-in decoder should not be used */ +int CDECL lame_set_decode_on_the_fly(lame_global_flags *, int); +int CDECL lame_get_decode_on_the_fly(const lame_global_flags *); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* DEPRECATED: now does the same as lame_set_findReplayGain() + default = 0 (disabled) */ +int CDECL lame_set_ReplayGain_input(lame_global_flags *, int); +int CDECL lame_get_ReplayGain_input(const lame_global_flags *); + +/* DEPRECATED: now does the same as + lame_set_decode_on_the_fly() && lame_set_findReplayGain() + default = 0 (disabled) */ +int CDECL lame_set_ReplayGain_decode(lame_global_flags *, int); +int CDECL lame_get_ReplayGain_decode(const lame_global_flags *); + +/* DEPRECATED: now does the same as lame_set_decode_on_the_fly() + default = 0 (disabled) */ +int CDECL lame_set_findPeakSample(lame_global_flags *, int); +int CDECL lame_get_findPeakSample(const lame_global_flags *); +#endif + +/* counters for gapless encoding */ +int CDECL lame_set_nogap_total(lame_global_flags*, int); +int CDECL lame_get_nogap_total(const lame_global_flags*); + +int CDECL lame_set_nogap_currentindex(lame_global_flags* , int); +int CDECL lame_get_nogap_currentindex(const lame_global_flags*); + + +/* + * OPTIONAL: + * Set printf like error/debug/message reporting functions. + * The second argument has to be a pointer to a function which looks like + * void my_debugf(const char *format, va_list ap) + * { + * (void) vfprintf(stdout, format, ap); + * } + * If you use NULL as the value of the pointer in the set function, the + * lame buildin function will be used (prints to stderr). + * To quiet any output you have to replace the body of the example function + * with just "return;" and use it in the set function. + */ +int CDECL lame_set_errorf(lame_global_flags *, lame_report_function); +int CDECL lame_set_debugf(lame_global_flags *, lame_report_function); +int CDECL lame_set_msgf (lame_global_flags *, lame_report_function); + + + +/* set one of brate compression ratio. default is compression ratio of 11. */ +int CDECL lame_set_brate(lame_global_flags *, int); +int CDECL lame_get_brate(const lame_global_flags *); +int CDECL lame_set_compression_ratio(lame_global_flags *, float); +float CDECL lame_get_compression_ratio(const lame_global_flags *); + + +int CDECL lame_set_preset( lame_global_flags* gfp, int ); +int CDECL lame_set_asm_optimizations( lame_global_flags* gfp, int, int ); + + + +/******************************************************************** + * frame params + ***********************************************************************/ +/* mark as copyright. default=0 */ +int CDECL lame_set_copyright(lame_global_flags *, int); +int CDECL lame_get_copyright(const lame_global_flags *); + +/* mark as original. default=1 */ +int CDECL lame_set_original(lame_global_flags *, int); +int CDECL lame_get_original(const lame_global_flags *); + +/* error_protection. Use 2 bytes from each frame for CRC checksum. default=0 */ +int CDECL lame_set_error_protection(lame_global_flags *, int); +int CDECL lame_get_error_protection(const lame_global_flags *); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* padding_type. 0=pad no frames 1=pad all frames 2=adjust padding(default) */ +int CDECL lame_set_padding_type(lame_global_flags *, Padding_type); +Padding_type CDECL lame_get_padding_type(const lame_global_flags *); +#endif + +/* MP3 'private extension' bit Meaningless. default=0 */ +int CDECL lame_set_extension(lame_global_flags *, int); +int CDECL lame_get_extension(const lame_global_flags *); + +/* enforce strict ISO compliance. default=0 */ +int CDECL lame_set_strict_ISO(lame_global_flags *, int); +int CDECL lame_get_strict_ISO(const lame_global_flags *); + + +/******************************************************************** + * quantization/noise shaping + ***********************************************************************/ + +/* disable the bit reservoir. For testing only. default=0 */ +int CDECL lame_set_disable_reservoir(lame_global_flags *, int); +int CDECL lame_get_disable_reservoir(const lame_global_flags *); + +/* select a different "best quantization" function. default=0 */ +int CDECL lame_set_quant_comp(lame_global_flags *, int); +int CDECL lame_get_quant_comp(const lame_global_flags *); +int CDECL lame_set_quant_comp_short(lame_global_flags *, int); +int CDECL lame_get_quant_comp_short(const lame_global_flags *); + +int CDECL lame_set_experimentalX(lame_global_flags *, int); /* compatibility*/ +int CDECL lame_get_experimentalX(const lame_global_flags *); + +/* another experimental option. for testing only */ +int CDECL lame_set_experimentalY(lame_global_flags *, int); +int CDECL lame_get_experimentalY(const lame_global_flags *); + +/* another experimental option. for testing only */ +int CDECL lame_set_experimentalZ(lame_global_flags *, int); +int CDECL lame_get_experimentalZ(const lame_global_flags *); + +/* Naoki's psycho acoustic model. default=0 */ +int CDECL lame_set_exp_nspsytune(lame_global_flags *, int); +int CDECL lame_get_exp_nspsytune(const lame_global_flags *); + +void CDECL lame_set_msfix(lame_global_flags *, double); +float CDECL lame_get_msfix(const lame_global_flags *); + + +/******************************************************************** + * VBR control + ***********************************************************************/ +/* Types of VBR. default = vbr_off = CBR */ +int CDECL lame_set_VBR(lame_global_flags *, vbr_mode); +vbr_mode CDECL lame_get_VBR(const lame_global_flags *); + +/* VBR quality level. 0=highest 9=lowest */ +int CDECL lame_set_VBR_q(lame_global_flags *, int); +int CDECL lame_get_VBR_q(const lame_global_flags *); + +/* VBR quality level. 0=highest 9=lowest, Range [0,...,10[ */ +int CDECL lame_set_VBR_quality(lame_global_flags *, float); +float CDECL lame_get_VBR_quality(const lame_global_flags *); + +/* Ignored except for VBR=vbr_abr (ABR mode) */ +int CDECL lame_set_VBR_mean_bitrate_kbps(lame_global_flags *, int); +int CDECL lame_get_VBR_mean_bitrate_kbps(const lame_global_flags *); + +int CDECL lame_set_VBR_min_bitrate_kbps(lame_global_flags *, int); +int CDECL lame_get_VBR_min_bitrate_kbps(const lame_global_flags *); + +int CDECL lame_set_VBR_max_bitrate_kbps(lame_global_flags *, int); +int CDECL lame_get_VBR_max_bitrate_kbps(const lame_global_flags *); + +/* + 1=strictly enforce VBR_min_bitrate. Normally it will be violated for + analog silence +*/ +int CDECL lame_set_VBR_hard_min(lame_global_flags *, int); +int CDECL lame_get_VBR_hard_min(const lame_global_flags *); + +/* for preset */ +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +int CDECL lame_set_preset_expopts(lame_global_flags *, int); +#endif + +/******************************************************************** + * Filtering control + ***********************************************************************/ +/* freq in Hz to apply lowpass. Default = 0 = lame chooses. -1 = disabled */ +int CDECL lame_set_lowpassfreq(lame_global_flags *, int); +int CDECL lame_get_lowpassfreq(const lame_global_flags *); +/* width of transition band, in Hz. Default = one polyphase filter band */ +int CDECL lame_set_lowpasswidth(lame_global_flags *, int); +int CDECL lame_get_lowpasswidth(const lame_global_flags *); + +/* freq in Hz to apply highpass. Default = 0 = lame chooses. -1 = disabled */ +int CDECL lame_set_highpassfreq(lame_global_flags *, int); +int CDECL lame_get_highpassfreq(const lame_global_flags *); +/* width of transition band, in Hz. Default = one polyphase filter band */ +int CDECL lame_set_highpasswidth(lame_global_flags *, int); +int CDECL lame_get_highpasswidth(const lame_global_flags *); + + +/******************************************************************** + * psycho acoustics and other arguments which you should not change + * unless you know what you are doing + ***********************************************************************/ + +/* only use ATH for masking */ +int CDECL lame_set_ATHonly(lame_global_flags *, int); +int CDECL lame_get_ATHonly(const lame_global_flags *); + +/* only use ATH for short blocks */ +int CDECL lame_set_ATHshort(lame_global_flags *, int); +int CDECL lame_get_ATHshort(const lame_global_flags *); + +/* disable ATH */ +int CDECL lame_set_noATH(lame_global_flags *, int); +int CDECL lame_get_noATH(const lame_global_flags *); + +/* select ATH formula */ +int CDECL lame_set_ATHtype(lame_global_flags *, int); +int CDECL lame_get_ATHtype(const lame_global_flags *); + +/* lower ATH by this many db */ +int CDECL lame_set_ATHlower(lame_global_flags *, float); +float CDECL lame_get_ATHlower(const lame_global_flags *); + +/* select ATH adaptive adjustment type */ +int CDECL lame_set_athaa_type( lame_global_flags *, int); +int CDECL lame_get_athaa_type( const lame_global_flags *); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* select the loudness approximation used by the ATH adaptive auto-leveling */ +int CDECL lame_set_athaa_loudapprox( lame_global_flags *, int); +int CDECL lame_get_athaa_loudapprox( const lame_global_flags *); +#endif + +/* adjust (in dB) the point below which adaptive ATH level adjustment occurs */ +int CDECL lame_set_athaa_sensitivity( lame_global_flags *, float); +float CDECL lame_get_athaa_sensitivity( const lame_global_flags* ); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* OBSOLETE: predictability limit (ISO tonality formula) */ +int CDECL lame_set_cwlimit(lame_global_flags *, int); +int CDECL lame_get_cwlimit(const lame_global_flags *); +#endif + +/* + allow blocktypes to differ between channels? + default: 0 for jstereo, 1 for stereo +*/ +int CDECL lame_set_allow_diff_short(lame_global_flags *, int); +int CDECL lame_get_allow_diff_short(const lame_global_flags *); + +/* use temporal masking effect (default = 1) */ +int CDECL lame_set_useTemporal(lame_global_flags *, int); +int CDECL lame_get_useTemporal(const lame_global_flags *); + +/* use temporal masking effect (default = 1) */ +int CDECL lame_set_interChRatio(lame_global_flags *, float); +float CDECL lame_get_interChRatio(const lame_global_flags *); + +/* disable short blocks */ +int CDECL lame_set_no_short_blocks(lame_global_flags *, int); +int CDECL lame_get_no_short_blocks(const lame_global_flags *); + +/* force short blocks */ +int CDECL lame_set_force_short_blocks(lame_global_flags *, int); +int CDECL lame_get_force_short_blocks(const lame_global_flags *); + +/* Input PCM is emphased PCM (for instance from one of the rarely + emphased CDs), it is STRONGLY not recommended to use this, because + psycho does not take it into account, and last but not least many decoders + ignore these bits */ +int CDECL lame_set_emphasis(lame_global_flags *, int); +int CDECL lame_get_emphasis(const lame_global_flags *); + + + +/************************************************************************/ +/* internal variables, cannot be set... */ +/* provided because they may be of use to calling application */ +/************************************************************************/ +/* version 0=MPEG-2 1=MPEG-1 (2=MPEG-2.5) */ +int CDECL lame_get_version(const lame_global_flags *); + +/* encoder delay */ +int CDECL lame_get_encoder_delay(const lame_global_flags *); + +/* + padding appended to the input to make sure decoder can fully decode + all input. Note that this value can only be calculated during the + call to lame_encoder_flush(). Before lame_encoder_flush() has + been called, the value of encoder_padding = 0. +*/ +int CDECL lame_get_encoder_padding(const lame_global_flags *); + +/* size of MPEG frame */ +int CDECL lame_get_framesize(const lame_global_flags *); + +/* number of PCM samples buffered, but not yet encoded to mp3 data. */ +int CDECL lame_get_mf_samples_to_encode( const lame_global_flags* gfp ); + +/* + size (bytes) of mp3 data buffered, but not yet encoded. + this is the number of bytes which would be output by a call to + lame_encode_flush_nogap. NOTE: lame_encode_flush() will return + more bytes than this because it will encode the reamining buffered + PCM samples before flushing the mp3 buffers. +*/ +int CDECL lame_get_size_mp3buffer( const lame_global_flags* gfp ); + +/* number of frames encoded so far */ +int CDECL lame_get_frameNum(const lame_global_flags *); + +/* + lame's estimate of the total number of frames to be encoded + only valid if calling program set num_samples +*/ +int CDECL lame_get_totalframes(const lame_global_flags *); + +/* RadioGain value. Multiplied by 10 and rounded to the nearest. */ +int CDECL lame_get_RadioGain(const lame_global_flags *); + +/* AudiophileGain value. Multipled by 10 and rounded to the nearest. */ +int CDECL lame_get_AudiophileGain(const lame_global_flags *); + +/* the peak sample */ +float CDECL lame_get_PeakSample(const lame_global_flags *); + +/* Gain change required for preventing clipping. The value is correct only if + peak sample searching was enabled. If negative then the waveform + already does not clip. The value is multiplied by 10 and rounded up. */ +int CDECL lame_get_noclipGainChange(const lame_global_flags *); + +/* user-specified scale factor required for preventing clipping. Value is + correct only if peak sample searching was enabled and no user-specified + scaling was performed. If negative then either the waveform already does + not clip or the value cannot be determined */ +float CDECL lame_get_noclipScale(const lame_global_flags *); + +/* returns the limit of PCM samples, which one can pass in an encode call + under the constrain of a provided buffer of size buffer_size */ +int CDECL lame_get_maximum_number_of_samples(lame_t gfp, size_t buffer_size); + + + + +/* + * REQUIRED: + * sets more internal configuration based on data provided above. + * returns -1 if something failed. + */ +int CDECL lame_init_params(lame_global_flags *); + + +/* + * OPTIONAL: + * get the version number, in a string. of the form: + * "3.63 (beta)" or just "3.63". + */ +const char* CDECL get_lame_version ( void ); +const char* CDECL get_lame_short_version ( void ); +const char* CDECL get_lame_very_short_version ( void ); +const char* CDECL get_psy_version ( void ); +const char* CDECL get_lame_url ( void ); +const char* CDECL get_lame_os_bitness ( void ); + +/* + * OPTIONAL: + * get the version numbers in numerical form. + */ +typedef struct { + /* generic LAME version */ + int major; + int minor; + int alpha; /* 0 if not an alpha version */ + int beta; /* 0 if not a beta version */ + + /* version of the psy model */ + int psy_major; + int psy_minor; + int psy_alpha; /* 0 if not an alpha version */ + int psy_beta; /* 0 if not a beta version */ + + /* compile time features */ + const char *features; /* Don't make assumptions about the contents! */ +} lame_version_t; +void CDECL get_lame_version_numerical(lame_version_t *); + + +/* + * OPTIONAL: + * print internal lame configuration to message handler + */ +void CDECL lame_print_config(const lame_global_flags* gfp); + +void CDECL lame_print_internals( const lame_global_flags *gfp); + + +/* + * input pcm data, output (maybe) mp3 frames. + * This routine handles all buffering, resampling and filtering for you. + * + * return code number of bytes output in mp3buf. Can be 0 + * -1: mp3buf was too small + * -2: malloc() problem + * -3: lame_init_params() not called + * -4: psycho acoustic problems + * + * The required mp3buf_size can be computed from num_samples, + * samplerate and encoding rate, but here is a worst case estimate: + * + * mp3buf_size in bytes = 1.25*num_samples + 7200 + * + * I think a tighter bound could be: (mt, March 2000) + * MPEG1: + * num_samples*(bitrate/8)/samplerate + 4*1152*(bitrate/8)/samplerate + 512 + * MPEG2: + * num_samples*(bitrate/8)/samplerate + 4*576*(bitrate/8)/samplerate + 256 + * + * but test first if you use that! + * + * set mp3buf_size = 0 and LAME will not check if mp3buf_size is + * large enough. + * + * NOTE: + * if gfp->num_channels=2, but gfp->mode = 3 (mono), the L & R channels + * will be averaged into the L channel before encoding only the L channel + * This will overwrite the data in buffer_l[] and buffer_r[]. + * +*/ +int CDECL lame_encode_buffer ( + lame_global_flags* gfp, /* global context handle */ + const short int buffer_l [], /* PCM data for left channel */ + const short int buffer_r [], /* PCM data for right channel */ + const int nsamples, /* number of samples per channel */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + const int mp3buf_size ); /* number of valid octets in this + stream */ + +/* + * as above, but input has L & R channel data interleaved. + * NOTE: + * num_samples = number of samples in the L (or R) + * channel, not the total number of samples in pcm[] + */ +int CDECL lame_encode_buffer_interleaved( + lame_global_flags* gfp, /* global context handlei */ + short int pcm[], /* PCM data for left and right + channel, interleaved */ + int num_samples, /* number of samples per channel, + _not_ number of samples in + pcm[] */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + int mp3buf_size ); /* number of valid octets in this + stream */ + + +/* as lame_encode_buffer, but for 'float's. + * !! NOTE: !! data must still be scaled to be in the same range as + * short int, +/- 32768 + */ +int CDECL lame_encode_buffer_float( + lame_global_flags* gfp, /* global context handle */ + const float pcm_l [], /* PCM data for left channel */ + const float pcm_r [], /* PCM data for right channel */ + const int nsamples, /* number of samples per channel */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + const int mp3buf_size ); /* number of valid octets in this + stream */ + +/* as lame_encode_buffer, but for 'float's. + * !! NOTE: !! data must be scaled to +/- 1 full scale + */ +int CDECL lame_encode_buffer_ieee_float( + lame_t gfp, + const float pcm_l [], /* PCM data for left channel */ + const float pcm_r [], /* PCM data for right channel */ + const int nsamples, + unsigned char * mp3buf, + const int mp3buf_size); +int CDECL lame_encode_buffer_interleaved_ieee_float( + lame_t gfp, + const float pcm[], /* PCM data for left and right + channel, interleaved */ + const int nsamples, + unsigned char * mp3buf, + const int mp3buf_size); + +/* as lame_encode_buffer, but for 'double's. + * !! NOTE: !! data must be scaled to +/- 1 full scale + */ +int CDECL lame_encode_buffer_ieee_double( + lame_t gfp, + const double pcm_l [], /* PCM data for left channel */ + const double pcm_r [], /* PCM data for right channel */ + const int nsamples, + unsigned char * mp3buf, + const int mp3buf_size); +int CDECL lame_encode_buffer_interleaved_ieee_double( + lame_t gfp, + const double pcm[], /* PCM data for left and right + channel, interleaved */ + const int nsamples, + unsigned char * mp3buf, + const int mp3buf_size); + +/* as lame_encode_buffer, but for long's + * !! NOTE: !! data must still be scaled to be in the same range as + * short int, +/- 32768 + * + * This scaling was a mistake (doesn't allow one to exploit full + * precision of type 'long'. Use lame_encode_buffer_long2() instead. + * + */ +int CDECL lame_encode_buffer_long( + lame_global_flags* gfp, /* global context handle */ + const long buffer_l [], /* PCM data for left channel */ + const long buffer_r [], /* PCM data for right channel */ + const int nsamples, /* number of samples per channel */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + const int mp3buf_size ); /* number of valid octets in this + stream */ + +/* Same as lame_encode_buffer_long(), but with correct scaling. + * !! NOTE: !! data must still be scaled to be in the same range as + * type 'long'. Data should be in the range: +/- 2^(8*size(long)-1) + * + */ +int CDECL lame_encode_buffer_long2( + lame_global_flags* gfp, /* global context handle */ + const long buffer_l [], /* PCM data for left channel */ + const long buffer_r [], /* PCM data for right channel */ + const int nsamples, /* number of samples per channel */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + const int mp3buf_size ); /* number of valid octets in this + stream */ + +/* as lame_encode_buffer, but for int's + * !! NOTE: !! input should be scaled to the maximum range of 'int' + * If int is 4 bytes, then the values should range from + * +/- 2147483648. + * + * This routine does not (and cannot, without loosing precision) use + * the same scaling as the rest of the lame_encode_buffer() routines. + * + */ +int CDECL lame_encode_buffer_int( + lame_global_flags* gfp, /* global context handle */ + const int buffer_l [], /* PCM data for left channel */ + const int buffer_r [], /* PCM data for right channel */ + const int nsamples, /* number of samples per channel */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + const int mp3buf_size ); /* number of valid octets in this + stream */ + +/* + * as above, but for interleaved data. + * !! NOTE: !! data must still be scaled to be in the same range as + * type 'int32_t'. Data should be in the range: +/- 2^(8*size(int32_t)-1) + * NOTE: + * num_samples = number of samples in the L (or R) + * channel, not the total number of samples in pcm[] + */ +int +lame_encode_buffer_interleaved_int( + lame_t gfp, + const int pcm [], /* PCM data for left and right + channel, interleaved */ + const int nsamples, /* number of samples per channel, + _not_ number of samples in + pcm[] */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + const int mp3buf_size ); /* number of valid octets in this + stream */ + + + +/* + * REQUIRED: + * lame_encode_flush will flush the intenal PCM buffers, padding with + * 0's to make sure the final frame is complete, and then flush + * the internal MP3 buffers, and thus may return a + * final few mp3 frames. 'mp3buf' should be at least 7200 bytes long + * to hold all possible emitted data. + * + * will also write id3v1 tags (if any) into the bitstream + * + * return code = number of bytes output to mp3buf. Can be 0 + */ +int CDECL lame_encode_flush( + lame_global_flags * gfp, /* global context handle */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + int size); /* number of valid octets in this stream */ + +/* + * OPTIONAL: + * lame_encode_flush_nogap will flush the internal mp3 buffers and pad + * the last frame with ancillary data so it is a complete mp3 frame. + * + * 'mp3buf' should be at least 7200 bytes long + * to hold all possible emitted data. + * + * After a call to this routine, the outputed mp3 data is complete, but + * you may continue to encode new PCM samples and write future mp3 data + * to a different file. The two mp3 files will play back with no gaps + * if they are concatenated together. + * + * This routine will NOT write id3v1 tags into the bitstream. + * + * return code = number of bytes output to mp3buf. Can be 0 + */ +int CDECL lame_encode_flush_nogap( + lame_global_flags * gfp, /* global context handle */ + unsigned char* mp3buf, /* pointer to encoded MP3 stream */ + int size); /* number of valid octets in this stream */ + +/* + * OPTIONAL: + * Normally, this is called by lame_init_params(). It writes id3v2 and + * Xing headers into the front of the bitstream, and sets frame counters + * and bitrate histogram data to 0. You can also call this after + * lame_encode_flush_nogap(). + */ +int CDECL lame_init_bitstream( + lame_global_flags * gfp); /* global context handle */ + + + +/* + * OPTIONAL: some simple statistics + * a bitrate histogram to visualize the distribution of used frame sizes + * a stereo mode histogram to visualize the distribution of used stereo + * modes, useful in joint-stereo mode only + * 0: LR left-right encoded + * 1: LR-I left-right and intensity encoded (currently not supported) + * 2: MS mid-side encoded + * 3: MS-I mid-side and intensity encoded (currently not supported) + * + * attention: don't call them after lame_encode_finish + * suggested: lame_encode_flush -> lame_*_hist -> lame_close + */ + +void CDECL lame_bitrate_hist( + const lame_global_flags * gfp, + int bitrate_count[14] ); +void CDECL lame_bitrate_kbps( + const lame_global_flags * gfp, + int bitrate_kbps [14] ); +void CDECL lame_stereo_mode_hist( + const lame_global_flags * gfp, + int stereo_mode_count[4] ); + +void CDECL lame_bitrate_stereo_mode_hist ( + const lame_global_flags * gfp, + int bitrate_stmode_count[14][4] ); + +void CDECL lame_block_type_hist ( + const lame_global_flags * gfp, + int btype_count[6] ); + +void CDECL lame_bitrate_block_type_hist ( + const lame_global_flags * gfp, + int bitrate_btype_count[14][6] ); + +#if (DEPRECATED_OR_OBSOLETE_CODE_REMOVED && 0) +#else +/* + * OPTIONAL: + * lame_mp3_tags_fid will rewrite a Xing VBR tag to the mp3 file with file + * pointer fid. These calls perform forward and backwards seeks, so make + * sure fid is a real file. Make sure lame_encode_flush has been called, + * and all mp3 data has been written to the file before calling this + * function. + * NOTE: + * if VBR tags are turned off by the user, or turned off by LAME because + * the output is not a regular file, this call does nothing + * NOTE: + * LAME wants to read from the file to skip an optional ID3v2 tag, so + * make sure you opened the file for writing and reading. + * NOTE: + * You can call lame_get_lametag_frame instead, if you want to insert + * the lametag yourself. +*/ +void CDECL lame_mp3_tags_fid(lame_global_flags *, FILE* fid); +#endif + +/* + * OPTIONAL: + * lame_get_lametag_frame copies the final LAME-tag into 'buffer'. + * The function returns the number of bytes copied into buffer, or + * the required buffer size, if the provided buffer is too small. + * Function failed, if the return value is larger than 'size'! + * Make sure lame_encode flush has been called before calling this function. + * NOTE: + * if VBR tags are turned off by the user, or turned off by LAME, + * this call does nothing and returns 0. + * NOTE: + * LAME inserted an empty frame in the beginning of mp3 audio data, + * which you have to replace by the final LAME-tag frame after encoding. + * In case there is no ID3v2 tag, usually this frame will be the very first + * data in your mp3 file. If you put some other leading data into your + * file, you'll have to do some bookkeeping about where to write this buffer. + */ +size_t CDECL lame_get_lametag_frame( + const lame_global_flags *, unsigned char* buffer, size_t size); + +/* + * REQUIRED: + * final call to free all remaining buffers + */ +int CDECL lame_close (lame_global_flags *); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* + * OBSOLETE: + * lame_encode_finish combines lame_encode_flush() and lame_close() in + * one call. However, once this call is made, the statistics routines + * will no longer work because the data will have been cleared, and + * lame_mp3_tags_fid() cannot be called to add data to the VBR header + */ +int CDECL lame_encode_finish( + lame_global_flags* gfp, + unsigned char* mp3buf, + int size ); +#endif + + + + + + +/********************************************************************* + * + * decoding + * + * a simple interface to mpglib, part of mpg123, is also included if + * libmp3lame is compiled with HAVE_MPGLIB + * + *********************************************************************/ + +struct hip_global_struct; +typedef struct hip_global_struct hip_global_flags; +typedef hip_global_flags *hip_t; + + +typedef struct { + int header_parsed; /* 1 if header was parsed and following data was + computed */ + int stereo; /* number of channels */ + int samplerate; /* sample rate */ + int bitrate; /* bitrate */ + int mode; /* mp3 frame type */ + int mode_ext; /* mp3 frame type */ + int framesize; /* number of samples per mp3 frame */ + + /* this data is only computed if mpglib detects a Xing VBR header */ + unsigned long nsamp; /* number of samples in mp3 file. */ + int totalframes; /* total number of frames in mp3 file */ + + /* this data is not currently computed by the mpglib routines */ + int framenum; /* frames decoded counter */ +} mp3data_struct; + +/* required call to initialize decoder */ +hip_t CDECL hip_decode_init(void); + +/* cleanup call to exit decoder */ +int CDECL hip_decode_exit(hip_t gfp); + +/* HIP reporting functions */ +void CDECL hip_set_errorf(hip_t gfp, lame_report_function f); +void CDECL hip_set_debugf(hip_t gfp, lame_report_function f); +void CDECL hip_set_msgf (hip_t gfp, lame_report_function f); + +/********************************************************************* + * input 1 mp3 frame, output (maybe) pcm data. + * + * nout = hip_decode(hip, mp3buf,len,pcm_l,pcm_r); + * + * input: + * len : number of bytes of mp3 data in mp3buf + * mp3buf[len] : mp3 data to be decoded + * + * output: + * nout: -1 : decoding error + * 0 : need more data before we can complete the decode + * >0 : returned 'nout' samples worth of data in pcm_l,pcm_r + * pcm_l[nout] : left channel data + * pcm_r[nout] : right channel data + * + *********************************************************************/ +int CDECL hip_decode( hip_t gfp + , unsigned char * mp3buf + , size_t len + , short pcm_l[] + , short pcm_r[] + ); + +/* same as hip_decode, and also returns mp3 header data */ +int CDECL hip_decode_headers( hip_t gfp + , unsigned char* mp3buf + , size_t len + , short pcm_l[] + , short pcm_r[] + , mp3data_struct* mp3data + ); + +/* same as hip_decode, but returns at most one frame */ +int CDECL hip_decode1( hip_t gfp + , unsigned char* mp3buf + , size_t len + , short pcm_l[] + , short pcm_r[] + ); + +/* same as hip_decode1, but returns at most one frame and mp3 header data */ +int CDECL hip_decode1_headers( hip_t gfp + , unsigned char* mp3buf + , size_t len + , short pcm_l[] + , short pcm_r[] + , mp3data_struct* mp3data + ); + +/* same as hip_decode1_headers, but also returns enc_delay and enc_padding + from VBR Info tag, (-1 if no info tag was found) */ +int CDECL hip_decode1_headersB( hip_t gfp + , unsigned char* mp3buf + , size_t len + , short pcm_l[] + , short pcm_r[] + , mp3data_struct* mp3data + , int *enc_delay + , int *enc_padding + ); + + + +/* OBSOLETE: + * lame_decode... functions are there to keep old code working + * but it is strongly recommended to replace calls by hip_decode... + * function calls, see above. + */ +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +int CDECL lame_decode_init(void); +int CDECL lame_decode( + unsigned char * mp3buf, + int len, + short pcm_l[], + short pcm_r[] ); +int CDECL lame_decode_headers( + unsigned char* mp3buf, + int len, + short pcm_l[], + short pcm_r[], + mp3data_struct* mp3data ); +int CDECL lame_decode1( + unsigned char* mp3buf, + int len, + short pcm_l[], + short pcm_r[] ); +int CDECL lame_decode1_headers( + unsigned char* mp3buf, + int len, + short pcm_l[], + short pcm_r[], + mp3data_struct* mp3data ); +int CDECL lame_decode1_headersB( + unsigned char* mp3buf, + int len, + short pcm_l[], + short pcm_r[], + mp3data_struct* mp3data, + int *enc_delay, + int *enc_padding ); +int CDECL lame_decode_exit(void); + +#endif /* obsolete lame_decode API calls */ + + +/********************************************************************* + * + * id3tag stuff + * + *********************************************************************/ + +/* + * id3tag.h -- Interface to write ID3 version 1 and 2 tags. + * + * Copyright (C) 2000 Don Melton. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + */ + +/* utility to obtain alphabetically sorted list of genre names with numbers */ +void CDECL id3tag_genre_list( + void (*handler)(int, const char *, void *), + void* cookie); + +void CDECL id3tag_init (lame_t gfp); + +/* force addition of version 2 tag */ +void CDECL id3tag_add_v2 (lame_t gfp); + +/* add only a version 1 tag */ +void CDECL id3tag_v1_only (lame_t gfp); + +/* add only a version 2 tag */ +void CDECL id3tag_v2_only (lame_t gfp); + +/* pad version 1 tag with spaces instead of nulls */ +void CDECL id3tag_space_v1 (lame_t gfp); + +/* pad version 2 tag with extra 128 bytes */ +void CDECL id3tag_pad_v2 (lame_t gfp); + +/* pad version 2 tag with extra n bytes */ +void CDECL id3tag_set_pad (lame_t gfp, size_t n); + +void CDECL id3tag_set_title(lame_t gfp, const char* title); +void CDECL id3tag_set_artist(lame_t gfp, const char* artist); +void CDECL id3tag_set_album(lame_t gfp, const char* album); +void CDECL id3tag_set_year(lame_t gfp, const char* year); +void CDECL id3tag_set_comment(lame_t gfp, const char* comment); + +/* return -1 result if track number is out of ID3v1 range + and ignored for ID3v1 */ +int CDECL id3tag_set_track(lame_t gfp, const char* track); + +/* return non-zero result if genre name or number is invalid + result 0: OK + result -1: genre number out of range + result -2: no valid ID3v1 genre name, mapped to ID3v1 'Other' + but taken as-is for ID3v2 genre tag */ +int CDECL id3tag_set_genre(lame_t gfp, const char* genre); + +/* return non-zero result if field name is invalid */ +int CDECL id3tag_set_fieldvalue(lame_t gfp, const char* fieldvalue); + +/* return non-zero result if image type is invalid */ +int CDECL id3tag_set_albumart(lame_t gfp, const char* image, size_t size); + +/* lame_get_id3v1_tag copies ID3v1 tag into buffer. + * Function returns number of bytes copied into buffer, or number + * of bytes rquired if buffer 'size' is too small. + * Function fails, if returned value is larger than 'size'. + * NOTE: + * This functions does nothing, if user/LAME disabled ID3v1 tag. + */ +size_t CDECL lame_get_id3v1_tag(lame_t gfp, unsigned char* buffer, size_t size); + +/* lame_get_id3v2_tag copies ID3v2 tag into buffer. + * Function returns number of bytes copied into buffer, or number + * of bytes rquired if buffer 'size' is too small. + * Function fails, if returned value is larger than 'size'. + * NOTE: + * This functions does nothing, if user/LAME disabled ID3v2 tag. + */ +size_t CDECL lame_get_id3v2_tag(lame_t gfp, unsigned char* buffer, size_t size); + +/* normaly lame_init_param writes ID3v2 tags into the audio stream + * Call lame_set_write_id3tag_automatic(gfp, 0) before lame_init_param + * to turn off this behaviour and get ID3v2 tag with above function + * write it yourself into your file. + */ +void CDECL lame_set_write_id3tag_automatic(lame_global_flags * gfp, int); +int CDECL lame_get_write_id3tag_automatic(lame_global_flags const* gfp); + +/* experimental */ +int CDECL id3tag_set_textinfo_latin1(lame_t gfp, char const *id, char const *text); + +/* experimental */ +int CDECL id3tag_set_comment_latin1(lame_t gfp, char const *lang, char const *desc, char const *text); + +#if DEPRECATED_OR_OBSOLETE_CODE_REMOVED +#else +/* experimental */ +int CDECL id3tag_set_textinfo_ucs2(lame_t gfp, char const *id, unsigned short const *text); + +/* experimental */ +int CDECL id3tag_set_comment_ucs2(lame_t gfp, char const *lang, + unsigned short const *desc, unsigned short const *text); + +/* experimental */ +int CDECL id3tag_set_fieldvalue_ucs2(lame_t gfp, const unsigned short *fieldvalue); +#endif + +/* experimental */ +int CDECL id3tag_set_fieldvalue_utf16(lame_t gfp, const unsigned short *fieldvalue); + +/* experimental */ +int CDECL id3tag_set_textinfo_utf16(lame_t gfp, char const *id, unsigned short const *text); + +/* experimental */ +int CDECL id3tag_set_comment_utf16(lame_t gfp, char const *lang, unsigned short const *desc, unsigned short const *text); + + +/*********************************************************************** +* +* list of valid bitrates [kbps] & sample frequencies [Hz]. +* first index: 0: MPEG-2 values (sample frequencies 16...24 kHz) +* 1: MPEG-1 values (sample frequencies 32...48 kHz) +* 2: MPEG-2.5 values (sample frequencies 8...12 kHz) +***********************************************************************/ + +extern const int bitrate_table [3][16]; +extern const int samplerate_table [3][ 4]; + +/* access functions for use in DLL, global vars are not exported */ +int CDECL lame_get_bitrate(int mpeg_version, int table_index); +int CDECL lame_get_samplerate(int mpeg_version, int table_index); + + +/* maximum size of albumart image (128KB), which affects LAME_MAXMP3BUFFER + as well since lame_encode_buffer() also returns ID3v2 tag data */ +#define LAME_MAXALBUMART (128 * 1024) + +/* maximum size of mp3buffer needed if you encode at most 1152 samples for + each call to lame_encode_buffer. see lame_encode_buffer() below + (LAME_MAXMP3BUFFER is now obsolete) */ +#define LAME_MAXMP3BUFFER (16384 + LAME_MAXALBUMART) + + +typedef enum { + LAME_OKAY = 0, + LAME_NOERROR = 0, + LAME_GENERICERROR = -1, + LAME_NOMEM = -10, + LAME_BADBITRATE = -11, + LAME_BADSAMPFREQ = -12, + LAME_INTERNALERROR = -13, + + FRONTEND_READERROR = -80, + FRONTEND_WRITEERROR = -81, + FRONTEND_FILETOOLARGE = -82 + +} lame_errorcodes_t; + +#if defined(__cplusplus) +} +#endif +#endif /* LAME_LAME_H */ + diff --git a/lib-src/mpglib/config.h b/lib-src/mpglib/config.h index b533a1e48..77f3bf0ca 100644 --- a/lib-src/mpglib/config.h +++ b/lib-src/mpglib/config.h @@ -1,6 +1,8 @@ #ifndef CONFIGMS_H_INCLUDED #define CONFIGMS_H_INCLUDED +/*#if defined(_MSC_VER)*/ +#if 0 /* The number of bytes in a double. */ #define SIZEOF_DOUBLE 8 @@ -27,6 +29,7 @@ /* The number of bytes in a unsigned short. */ #define SIZEOF_UNSIGNED_SHORT 2 +#endif /* Define if you have the ANSI C header files. */ #define STDC_HEADERS @@ -66,6 +69,13 @@ typedef float float32_t; typedef double float64_t; +#elif defined(STDC_HEADERS) + +#include +typedef u_int8_t uint8_t; +typedef u_int16_t uint16_t; +typedef u_int32_t uint32_t; + #elif defined (__GNUC__) #define __int8_t_defined #define uint8_t unsigned char diff --git a/mac/Audacity.xcodeproj/project.pbxproj b/mac/Audacity.xcodeproj/project.pbxproj index adebf156c..e443fc90b 100644 --- a/mac/Audacity.xcodeproj/project.pbxproj +++ b/mac/Audacity.xcodeproj/project.pbxproj @@ -1290,6 +1290,78 @@ 5EF3E65F203FDFE9006C6882 /* SetEnvelopeCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5EF3E65D203FDFE9006C6882 /* SetEnvelopeCommand.cpp */; }; 5EF3E662203FE73C006C6882 /* DragCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5EF3E660203FE73C006C6882 /* DragCommand.cpp */; }; 5EF958851DEB121800191280 /* InconsistencyException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5EF958831DEB121800191280 /* InconsistencyException.cpp */; }; + 65326EC72253D70900844F28 /* common.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EAA2253D70900844F28 /* common.c */; }; + 65326EC82253D70900844F28 /* common.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EAB2253D70900844F28 /* common.h */; }; + 65326EC92253D70900844F28 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EAC2253D70900844F28 /* config.h */; }; + 65326ECA2253D70900844F28 /* dct64_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EAD2253D70900844F28 /* dct64_i386.c */; }; + 65326ECB2253D70900844F28 /* dct64_i386.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EAE2253D70900844F28 /* dct64_i386.h */; }; + 65326ECC2253D70900844F28 /* decode_i386.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EAF2253D70900844F28 /* decode_i386.c */; }; + 65326ECD2253D70900844F28 /* decode_i386.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EB02253D70900844F28 /* decode_i386.h */; }; + 65326ECE2253D70900844F28 /* huffman.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EB22253D70900844F28 /* huffman.h */; }; + 65326ECF2253D70900844F28 /* interface.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EB32253D70900844F28 /* interface.c */; }; + 65326ED02253D70900844F28 /* interface.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EB42253D70900844F28 /* interface.h */; }; + 65326ED12253D70900844F28 /* machine.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EB62253D70900844F28 /* machine.h */; }; + 65326ED22253D70900844F28 /* version.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EB72253D70900844F28 /* version.h */; }; + 65326ED32253D70900844F28 /* l2tables.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EB82253D70900844F28 /* l2tables.h */; }; + 65326ED42253D70900844F28 /* lame.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EB92253D70900844F28 /* lame.h */; }; + 65326ED52253D70900844F28 /* layer1.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EBA2253D70900844F28 /* layer1.c */; }; + 65326ED62253D70900844F28 /* layer1.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EBB2253D70900844F28 /* layer1.h */; }; + 65326ED72253D70900844F28 /* layer2.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EBC2253D70900844F28 /* layer2.c */; }; + 65326ED82253D70900844F28 /* layer2.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EBD2253D70900844F28 /* layer2.h */; }; + 65326ED92253D70900844F28 /* layer3.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EBE2253D70900844F28 /* layer3.c */; }; + 65326EDA2253D70900844F28 /* layer3.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EBF2253D70900844F28 /* layer3.h */; }; + 65326EDB2253D70900844F28 /* mpg123.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EC22253D70900844F28 /* mpg123.h */; }; + 65326EDC2253D70900844F28 /* mpglib.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EC32253D70900844F28 /* mpglib.h */; }; + 65326EDD2253D70900844F28 /* tabinit.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EC52253D70900844F28 /* tabinit.c */; }; + 65326EDE2253D70900844F28 /* tabinit.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EC62253D70900844F28 /* tabinit.h */; }; + 65326F1F2253DA5F00844F28 /* bitstream.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EE02253DA5F00844F28 /* bitstream.c */; }; + 65326F202253DA5F00844F28 /* bitstream.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EE12253DA5F00844F28 /* bitstream.h */; }; + 65326F212253DA5F00844F28 /* encoder.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EE32253DA5F00844F28 /* encoder.c */; }; + 65326F222253DA5F00844F28 /* encoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EE42253DA5F00844F28 /* encoder.h */; }; + 65326F232253DA5F00844F28 /* fft.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EE52253DA5F00844F28 /* fft.c */; }; + 65326F242253DA5F00844F28 /* fft.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EE62253DA5F00844F28 /* fft.h */; }; + 65326F252253DA5F00844F28 /* gain_analysis.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EE72253DA5F00844F28 /* gain_analysis.c */; }; + 65326F262253DA5F00844F28 /* gain_analysis.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EE82253DA5F00844F28 /* gain_analysis.h */; }; + 65326F272253DA5F00844F28 /* nasm.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EF32253DA5F00844F28 /* nasm.h */; }; + 65326F282253DA5F00844F28 /* id3tag.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EF52253DA5F00844F28 /* id3tag.c */; }; + 65326F292253DA5F00844F28 /* id3tag.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EF62253DA5F00844F28 /* id3tag.h */; }; + 65326F2A2253DA5F00844F28 /* l3side.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EF72253DA5F00844F28 /* l3side.h */; }; + 65326F2B2253DA5F00844F28 /* lame-analysis.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EF82253DA5F00844F28 /* lame-analysis.h */; }; + 65326F2C2253DA5F00844F28 /* lame.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326EF92253DA5F00844F28 /* lame.c */; }; + 65326F2D2253DA5F00844F28 /* lame_global_flags.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EFB2253DA5F00844F28 /* lame_global_flags.h */; }; + 65326F2E2253DA5F00844F28 /* lameerror.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EFC2253DA5F00844F28 /* lameerror.h */; }; + 65326F2F2253DA5F00844F28 /* machine.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EFE2253DA5F00844F28 /* machine.h */; }; + 65326F302253DA5F00844F28 /* mpglib_interface.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F012253DA5F00844F28 /* mpglib_interface.c */; }; + 65326F312253DA5F00844F28 /* newmdct.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F022253DA5F00844F28 /* newmdct.c */; }; + 65326F322253DA5F00844F28 /* newmdct.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F032253DA5F00844F28 /* newmdct.h */; }; + 65326F332253DA5F00844F28 /* presets.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F042253DA5F00844F28 /* presets.c */; }; + 65326F342253DA5F00844F28 /* psymodel.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F052253DA5F00844F28 /* psymodel.c */; }; + 65326F352253DA5F00844F28 /* psymodel.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F062253DA5F00844F28 /* psymodel.h */; }; + 65326F362253DA5F00844F28 /* quantize.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F072253DA5F00844F28 /* quantize.c */; }; + 65326F372253DA5F00844F28 /* quantize.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F082253DA5F00844F28 /* quantize.h */; }; + 65326F382253DA5F00844F28 /* quantize_pvt.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F092253DA5F00844F28 /* quantize_pvt.c */; }; + 65326F392253DA5F00844F28 /* quantize_pvt.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F0A2253DA5F00844F28 /* quantize_pvt.h */; }; + 65326F3A2253DA5F00844F28 /* reservoir.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F0B2253DA5F00844F28 /* reservoir.c */; }; + 65326F3B2253DA5F00844F28 /* reservoir.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F0C2253DA5F00844F28 /* reservoir.h */; }; + 65326F3C2253DA5F00844F28 /* set_get.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F0D2253DA5F00844F28 /* set_get.c */; }; + 65326F3D2253DA5F00844F28 /* set_get.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F0E2253DA5F00844F28 /* set_get.h */; }; + 65326F3E2253DA5F00844F28 /* tables.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F0F2253DA5F00844F28 /* tables.c */; }; + 65326F3F2253DA5F00844F28 /* tables.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F102253DA5F00844F28 /* tables.h */; }; + 65326F402253DA5F00844F28 /* takehiro.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F112253DA5F00844F28 /* takehiro.c */; }; + 65326F412253DA5F00844F28 /* util.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F122253DA5F00844F28 /* util.c */; }; + 65326F422253DA5F00844F28 /* util.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F132253DA5F00844F28 /* util.h */; }; + 65326F432253DA5F00844F28 /* vbrquantize.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F142253DA5F00844F28 /* vbrquantize.c */; }; + 65326F442253DA5F00844F28 /* vbrquantize.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F152253DA5F00844F28 /* vbrquantize.h */; }; + 65326F452253DA5F00844F28 /* VbrTag.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F162253DA5F00844F28 /* VbrTag.c */; }; + 65326F462253DA5F00844F28 /* VbrTag.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F172253DA5F00844F28 /* VbrTag.h */; }; + 65326F472253DA5F00844F28 /* lame_intrin.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F192253DA5F00844F28 /* lame_intrin.h */; }; + 65326F482253DA5F00844F28 /* xmm_quantize_sub.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F1C2253DA5F00844F28 /* xmm_quantize_sub.c */; }; + 65326F492253DA5F00844F28 /* version.c in Sources */ = {isa = PBXBuildFile; fileRef = 65326F1D2253DA5F00844F28 /* version.c */; }; + 65326F4A2253DA5F00844F28 /* version.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326F1E2253DA5F00844F28 /* version.h */; }; + 6563A80A2257AD77001CB678 /* liblibmp3lame.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 65326E9E2253D2BE00844F28 /* liblibmp3lame.a */; }; + 6563A80B2257AD77001CB678 /* liblibmpg123.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 65326EA72253D68900844F28 /* liblibmpg123.a */; }; + 656854742258B372005FC068 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EAC2253D70900844F28 /* config.h */; }; + 656854752258B483005FC068 /* encoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 65326EE42253DA5F00844F28 /* encoder.h */; }; 659B26C5207501970039894A /* WindowAccessible.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 659B26C3207501970039894A /* WindowAccessible.cpp */; }; 8406A93812D0F2510011EA01 /* EQDefaultCurves.xml in Resources */ = {isa = PBXBuildFile; fileRef = 8406A93712D0F2510011EA01 /* EQDefaultCurves.xml */; }; 8484F31413086237002DF7F0 /* DeviceManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8484F31213086237002DF7F0 /* DeviceManager.cpp */; }; @@ -1499,6 +1571,20 @@ remoteGlobalIDString = 28E67F510A3A160D0021D89F; remoteInfo = "portaudio-v19"; }; + 65326F4D2253E03200844F28 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1790ABE309883346008A330A /* Project object */; + proxyType = 1; + remoteGlobalIDString = 65326E6C2253D2BE00844F28; + remoteInfo = libmp3lame; + }; + 65326F4F2253E03200844F28 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1790ABE309883346008A330A /* Project object */; + proxyType = 1; + remoteGlobalIDString = 65326E9F2253D68900844F28; + remoteInfo = libmpg123; + }; ED1521FE163C2D3200451B5F /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 1790ABE309883346008A330A /* Project object */; @@ -3232,6 +3318,99 @@ 5EF3E661203FE73C006C6882 /* DragCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DragCommand.h; sourceTree = ""; }; 5EF958831DEB121800191280 /* InconsistencyException.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InconsistencyException.cpp; sourceTree = ""; }; 5EF958841DEB121800191280 /* InconsistencyException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InconsistencyException.h; sourceTree = ""; }; + 65326E9E2253D2BE00844F28 /* liblibmp3lame.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = liblibmp3lame.a; path = libmp3lame.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 65326EA72253D68900844F28 /* liblibmpg123.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = liblibmpg123.a; path = libmpg123.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 65326EA92253D70900844F28 /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AUTHORS; sourceTree = ""; }; + 65326EAA2253D70900844F28 /* common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = common.c; sourceTree = ""; }; + 65326EAB2253D70900844F28 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = common.h; sourceTree = ""; }; + 65326EAC2253D70900844F28 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = ""; }; + 65326EAD2253D70900844F28 /* dct64_i386.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dct64_i386.c; sourceTree = ""; }; + 65326EAE2253D70900844F28 /* dct64_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dct64_i386.h; sourceTree = ""; }; + 65326EAF2253D70900844F28 /* decode_i386.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = decode_i386.c; sourceTree = ""; }; + 65326EB02253D70900844F28 /* decode_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = decode_i386.h; sourceTree = ""; }; + 65326EB12253D70900844F28 /* depcomp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = depcomp; sourceTree = ""; }; + 65326EB22253D70900844F28 /* huffman.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = huffman.h; sourceTree = ""; }; + 65326EB32253D70900844F28 /* interface.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = interface.c; sourceTree = ""; }; + 65326EB42253D70900844F28 /* interface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = interface.h; sourceTree = ""; }; + 65326EB62253D70900844F28 /* machine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = machine.h; sourceTree = ""; }; + 65326EB72253D70900844F28 /* version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = version.h; sourceTree = ""; }; + 65326EB82253D70900844F28 /* l2tables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = l2tables.h; sourceTree = ""; }; + 65326EB92253D70900844F28 /* lame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lame.h; sourceTree = ""; }; + 65326EBA2253D70900844F28 /* layer1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = layer1.c; sourceTree = ""; }; + 65326EBB2253D70900844F28 /* layer1.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = layer1.h; sourceTree = ""; }; + 65326EBC2253D70900844F28 /* layer2.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = layer2.c; sourceTree = ""; }; + 65326EBD2253D70900844F28 /* layer2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = layer2.h; sourceTree = ""; }; + 65326EBE2253D70900844F28 /* layer3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = layer3.c; sourceTree = ""; }; + 65326EBF2253D70900844F28 /* layer3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = layer3.h; sourceTree = ""; }; + 65326EC02253D70900844F28 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + 65326EC12253D70900844F28 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + 65326EC22253D70900844F28 /* mpg123.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mpg123.h; sourceTree = ""; }; + 65326EC32253D70900844F28 /* mpglib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mpglib.h; sourceTree = ""; }; + 65326EC42253D70900844F28 /* README */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README; sourceTree = ""; }; + 65326EC52253D70900844F28 /* tabinit.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tabinit.c; sourceTree = ""; }; + 65326EC62253D70900844F28 /* tabinit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tabinit.h; sourceTree = ""; }; + 65326EE02253DA5F00844F28 /* bitstream.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = bitstream.c; sourceTree = ""; }; + 65326EE12253DA5F00844F28 /* bitstream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bitstream.h; sourceTree = ""; }; + 65326EE22253DA5F00844F28 /* depcomp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = depcomp; sourceTree = ""; }; + 65326EE32253DA5F00844F28 /* encoder.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = encoder.c; sourceTree = ""; }; + 65326EE42253DA5F00844F28 /* encoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = encoder.h; sourceTree = ""; }; + 65326EE52253DA5F00844F28 /* fft.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = fft.c; sourceTree = ""; }; + 65326EE62253DA5F00844F28 /* fft.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = fft.h; sourceTree = ""; }; + 65326EE72253DA5F00844F28 /* gain_analysis.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = gain_analysis.c; sourceTree = ""; }; + 65326EE82253DA5F00844F28 /* gain_analysis.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gain_analysis.h; sourceTree = ""; }; + 65326EEA2253DA5F00844F28 /* choose_table.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = choose_table.nas; sourceTree = ""; }; + 65326EEB2253DA5F00844F28 /* cpu_feat.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = cpu_feat.nas; sourceTree = ""; }; + 65326EEC2253DA5F00844F28 /* fft.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fft.nas; sourceTree = ""; }; + 65326EED2253DA5F00844F28 /* fft3dn.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fft3dn.nas; sourceTree = ""; }; + 65326EEE2253DA5F00844F28 /* fftfpu.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fftfpu.nas; sourceTree = ""; }; + 65326EEF2253DA5F00844F28 /* fftsse.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fftsse.nas; sourceTree = ""; }; + 65326EF02253DA5F00844F28 /* ffttbl.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ffttbl.nas; sourceTree = ""; }; + 65326EF12253DA5F00844F28 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + 65326EF22253DA5F00844F28 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + 65326EF32253DA5F00844F28 /* nasm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nasm.h; sourceTree = ""; }; + 65326EF42253DA5F00844F28 /* scalar.nas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = scalar.nas; sourceTree = ""; }; + 65326EF52253DA5F00844F28 /* id3tag.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = id3tag.c; sourceTree = ""; }; + 65326EF62253DA5F00844F28 /* id3tag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = id3tag.h; sourceTree = ""; }; + 65326EF72253DA5F00844F28 /* l3side.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = l3side.h; sourceTree = ""; }; + 65326EF82253DA5F00844F28 /* lame-analysis.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "lame-analysis.h"; sourceTree = ""; }; + 65326EF92253DA5F00844F28 /* lame.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lame.c; sourceTree = ""; }; + 65326EFA2253DA5F00844F28 /* lame.rc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = lame.rc; sourceTree = ""; }; + 65326EFB2253DA5F00844F28 /* lame_global_flags.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lame_global_flags.h; sourceTree = ""; }; + 65326EFC2253DA5F00844F28 /* lameerror.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lameerror.h; sourceTree = ""; }; + 65326EFD2253DA5F00844F28 /* logoe.ico */ = {isa = PBXFileReference; lastKnownFileType = image.ico; path = logoe.ico; sourceTree = ""; }; + 65326EFE2253DA5F00844F28 /* machine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = machine.h; sourceTree = ""; }; + 65326EFF2253DA5F00844F28 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + 65326F002253DA5F00844F28 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + 65326F012253DA5F00844F28 /* mpglib_interface.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mpglib_interface.c; sourceTree = ""; }; + 65326F022253DA5F00844F28 /* newmdct.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = newmdct.c; sourceTree = ""; }; + 65326F032253DA5F00844F28 /* newmdct.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = newmdct.h; sourceTree = ""; }; + 65326F042253DA5F00844F28 /* presets.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = presets.c; sourceTree = ""; }; + 65326F052253DA5F00844F28 /* psymodel.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = psymodel.c; sourceTree = ""; }; + 65326F062253DA5F00844F28 /* psymodel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = psymodel.h; sourceTree = ""; }; + 65326F072253DA5F00844F28 /* quantize.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = quantize.c; sourceTree = ""; }; + 65326F082253DA5F00844F28 /* quantize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = quantize.h; sourceTree = ""; }; + 65326F092253DA5F00844F28 /* quantize_pvt.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = quantize_pvt.c; sourceTree = ""; }; + 65326F0A2253DA5F00844F28 /* quantize_pvt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = quantize_pvt.h; sourceTree = ""; }; + 65326F0B2253DA5F00844F28 /* reservoir.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = reservoir.c; sourceTree = ""; }; + 65326F0C2253DA5F00844F28 /* reservoir.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = reservoir.h; sourceTree = ""; }; + 65326F0D2253DA5F00844F28 /* set_get.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = set_get.c; sourceTree = ""; }; + 65326F0E2253DA5F00844F28 /* set_get.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = set_get.h; sourceTree = ""; }; + 65326F0F2253DA5F00844F28 /* tables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = tables.c; sourceTree = ""; }; + 65326F102253DA5F00844F28 /* tables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tables.h; sourceTree = ""; }; + 65326F112253DA5F00844F28 /* takehiro.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = takehiro.c; sourceTree = ""; }; + 65326F122253DA5F00844F28 /* util.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = util.c; sourceTree = ""; }; + 65326F132253DA5F00844F28 /* util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = util.h; sourceTree = ""; }; + 65326F142253DA5F00844F28 /* vbrquantize.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = vbrquantize.c; sourceTree = ""; }; + 65326F152253DA5F00844F28 /* vbrquantize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = vbrquantize.h; sourceTree = ""; }; + 65326F162253DA5F00844F28 /* VbrTag.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = VbrTag.c; sourceTree = ""; }; + 65326F172253DA5F00844F28 /* VbrTag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VbrTag.h; sourceTree = ""; }; + 65326F192253DA5F00844F28 /* lame_intrin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lame_intrin.h; sourceTree = ""; }; + 65326F1A2253DA5F00844F28 /* Makefile.am */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.am; sourceTree = ""; }; + 65326F1B2253DA5F00844F28 /* Makefile.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Makefile.in; sourceTree = ""; }; + 65326F1C2253DA5F00844F28 /* xmm_quantize_sub.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = xmm_quantize_sub.c; sourceTree = ""; }; + 65326F1D2253DA5F00844F28 /* version.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = version.c; sourceTree = ""; }; + 65326F1E2253DA5F00844F28 /* version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = version.h; sourceTree = ""; }; + 6563A8092257A314001CB678 /* lame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lame.h; sourceTree = ""; }; 659B26C3207501970039894A /* WindowAccessible.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WindowAccessible.cpp; sourceTree = ""; }; 659B26C4207501970039894A /* WindowAccessible.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WindowAccessible.h; sourceTree = ""; }; 82FF184D13CF01A600C1B664 /* dBTable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = dBTable.cpp; path = sbsms/src/dBTable.cpp; sourceTree = ""; }; @@ -3359,6 +3538,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 6563A80A2257AD77001CB678 /* liblibmp3lame.a in Frameworks */, + 6563A80B2257AD77001CB678 /* liblibmpg123.a in Frameworks */, 17C99D560989710D0041B1BC /* libvorbis.a in Frameworks */, 17C99D58098971380041B1BC /* libportsmf.a in Frameworks */, 17C99D5A098971390041B1BC /* libid3tag.a in Frameworks */, @@ -3423,6 +3604,8 @@ 176EE9E209A2EF1000188F3B /* libflac */, 17072F6A0988D6A9008541CC /* libid3tag */, 17072FD10988D6A9008541CC /* libmad */, + 65326EDF2253DA5F00844F28 /* libmp3lame */, + 65326EA82253D70900844F28 /* mpglib */, 17C8BA11098B398C00216F16 /* libnyquist */, 170731EB0988D6AA008541CC /* libogg */, ED05D0FF0E50AD5600CC4BD3 /* libscorealign */, @@ -4079,6 +4262,8 @@ EDBFAD13177E5399004CC1C1 /* mod-nyq-bench.so */, 286229B0181CE4B600E1AD1A /* liblv2.a */, 28FADDEF1833C3C500BA4141 /* libexpat.a */, + 65326E9E2253D2BE00844F28 /* liblibmp3lame.a */, + 65326EA72253D68900844F28 /* liblibmpg123.a */, ); name = Products; sourceTree = ""; @@ -6062,6 +6247,135 @@ path = ui; sourceTree = ""; }; + 65326EA82253D70900844F28 /* mpglib */ = { + isa = PBXGroup; + children = ( + 65326EA92253D70900844F28 /* AUTHORS */, + 65326EAA2253D70900844F28 /* common.c */, + 65326EAB2253D70900844F28 /* common.h */, + 65326EAC2253D70900844F28 /* config.h */, + 65326EAD2253D70900844F28 /* dct64_i386.c */, + 65326EAE2253D70900844F28 /* dct64_i386.h */, + 65326EAF2253D70900844F28 /* decode_i386.c */, + 65326EB02253D70900844F28 /* decode_i386.h */, + 65326EB12253D70900844F28 /* depcomp */, + 65326EB22253D70900844F28 /* huffman.h */, + 65326EB32253D70900844F28 /* interface.c */, + 65326EB42253D70900844F28 /* interface.h */, + 65326EB52253D70900844F28 /* junk */, + 65326EB82253D70900844F28 /* l2tables.h */, + 65326EB92253D70900844F28 /* lame.h */, + 65326EBA2253D70900844F28 /* layer1.c */, + 65326EBB2253D70900844F28 /* layer1.h */, + 65326EBC2253D70900844F28 /* layer2.c */, + 65326EBD2253D70900844F28 /* layer2.h */, + 65326EBE2253D70900844F28 /* layer3.c */, + 65326EBF2253D70900844F28 /* layer3.h */, + 65326EC02253D70900844F28 /* Makefile.am */, + 65326EC12253D70900844F28 /* Makefile.in */, + 65326EC22253D70900844F28 /* mpg123.h */, + 65326EC32253D70900844F28 /* mpglib.h */, + 65326EC42253D70900844F28 /* README */, + 65326EC52253D70900844F28 /* tabinit.c */, + 65326EC62253D70900844F28 /* tabinit.h */, + ); + path = mpglib; + sourceTree = ""; + }; + 65326EB52253D70900844F28 /* junk */ = { + isa = PBXGroup; + children = ( + 65326EB62253D70900844F28 /* machine.h */, + 65326EB72253D70900844F28 /* version.h */, + ); + path = junk; + sourceTree = ""; + }; + 65326EDF2253DA5F00844F28 /* libmp3lame */ = { + isa = PBXGroup; + children = ( + 6563A8092257A314001CB678 /* lame.h */, + 65326EE02253DA5F00844F28 /* bitstream.c */, + 65326EE12253DA5F00844F28 /* bitstream.h */, + 65326EE22253DA5F00844F28 /* depcomp */, + 65326EE32253DA5F00844F28 /* encoder.c */, + 65326EE42253DA5F00844F28 /* encoder.h */, + 65326EE52253DA5F00844F28 /* fft.c */, + 65326EE62253DA5F00844F28 /* fft.h */, + 65326EE72253DA5F00844F28 /* gain_analysis.c */, + 65326EE82253DA5F00844F28 /* gain_analysis.h */, + 65326EE92253DA5F00844F28 /* i386 */, + 65326EF52253DA5F00844F28 /* id3tag.c */, + 65326EF62253DA5F00844F28 /* id3tag.h */, + 65326EF72253DA5F00844F28 /* l3side.h */, + 65326EF82253DA5F00844F28 /* lame-analysis.h */, + 65326EF92253DA5F00844F28 /* lame.c */, + 65326EFA2253DA5F00844F28 /* lame.rc */, + 65326EFB2253DA5F00844F28 /* lame_global_flags.h */, + 65326EFC2253DA5F00844F28 /* lameerror.h */, + 65326EFD2253DA5F00844F28 /* logoe.ico */, + 65326EFE2253DA5F00844F28 /* machine.h */, + 65326EFF2253DA5F00844F28 /* Makefile.am */, + 65326F002253DA5F00844F28 /* Makefile.in */, + 65326F012253DA5F00844F28 /* mpglib_interface.c */, + 65326F022253DA5F00844F28 /* newmdct.c */, + 65326F032253DA5F00844F28 /* newmdct.h */, + 65326F042253DA5F00844F28 /* presets.c */, + 65326F052253DA5F00844F28 /* psymodel.c */, + 65326F062253DA5F00844F28 /* psymodel.h */, + 65326F072253DA5F00844F28 /* quantize.c */, + 65326F082253DA5F00844F28 /* quantize.h */, + 65326F092253DA5F00844F28 /* quantize_pvt.c */, + 65326F0A2253DA5F00844F28 /* quantize_pvt.h */, + 65326F0B2253DA5F00844F28 /* reservoir.c */, + 65326F0C2253DA5F00844F28 /* reservoir.h */, + 65326F0D2253DA5F00844F28 /* set_get.c */, + 65326F0E2253DA5F00844F28 /* set_get.h */, + 65326F0F2253DA5F00844F28 /* tables.c */, + 65326F102253DA5F00844F28 /* tables.h */, + 65326F112253DA5F00844F28 /* takehiro.c */, + 65326F122253DA5F00844F28 /* util.c */, + 65326F132253DA5F00844F28 /* util.h */, + 65326F142253DA5F00844F28 /* vbrquantize.c */, + 65326F152253DA5F00844F28 /* vbrquantize.h */, + 65326F162253DA5F00844F28 /* VbrTag.c */, + 65326F172253DA5F00844F28 /* VbrTag.h */, + 65326F182253DA5F00844F28 /* vector */, + 65326F1D2253DA5F00844F28 /* version.c */, + 65326F1E2253DA5F00844F28 /* version.h */, + ); + path = libmp3lame; + sourceTree = ""; + }; + 65326EE92253DA5F00844F28 /* i386 */ = { + isa = PBXGroup; + children = ( + 65326EEA2253DA5F00844F28 /* choose_table.nas */, + 65326EEB2253DA5F00844F28 /* cpu_feat.nas */, + 65326EEC2253DA5F00844F28 /* fft.nas */, + 65326EED2253DA5F00844F28 /* fft3dn.nas */, + 65326EEE2253DA5F00844F28 /* fftfpu.nas */, + 65326EEF2253DA5F00844F28 /* fftsse.nas */, + 65326EF02253DA5F00844F28 /* ffttbl.nas */, + 65326EF12253DA5F00844F28 /* Makefile.am */, + 65326EF22253DA5F00844F28 /* Makefile.in */, + 65326EF32253DA5F00844F28 /* nasm.h */, + 65326EF42253DA5F00844F28 /* scalar.nas */, + ); + path = i386; + sourceTree = ""; + }; + 65326F182253DA5F00844F28 /* vector */ = { + isa = PBXGroup; + children = ( + 65326F192253DA5F00844F28 /* lame_intrin.h */, + 65326F1A2253DA5F00844F28 /* Makefile.am */, + 65326F1B2253DA5F00844F28 /* Makefile.in */, + 65326F1C2253DA5F00844F28 /* xmm_quantize_sub.c */, + ); + path = vector; + sourceTree = ""; + }; ED05D0FF0E50AD5600CC4BD3 /* libscorealign */ = { isa = PBXGroup; children = ( @@ -6705,6 +7019,61 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 65326E6D2253D2BE00844F28 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 656854742258B372005FC068 /* config.h in Headers */, + 65326F292253DA5F00844F28 /* id3tag.h in Headers */, + 65326F3F2253DA5F00844F28 /* tables.h in Headers */, + 65326F272253DA5F00844F28 /* nasm.h in Headers */, + 65326F3B2253DA5F00844F28 /* reservoir.h in Headers */, + 65326F422253DA5F00844F28 /* util.h in Headers */, + 65326F242253DA5F00844F28 /* fft.h in Headers */, + 65326F442253DA5F00844F28 /* vbrquantize.h in Headers */, + 65326F372253DA5F00844F28 /* quantize.h in Headers */, + 65326F2A2253DA5F00844F28 /* l3side.h in Headers */, + 65326F3D2253DA5F00844F28 /* set_get.h in Headers */, + 65326F202253DA5F00844F28 /* bitstream.h in Headers */, + 65326F2B2253DA5F00844F28 /* lame-analysis.h in Headers */, + 65326F392253DA5F00844F28 /* quantize_pvt.h in Headers */, + 65326F352253DA5F00844F28 /* psymodel.h in Headers */, + 65326F222253DA5F00844F28 /* encoder.h in Headers */, + 65326F2F2253DA5F00844F28 /* machine.h in Headers */, + 65326F262253DA5F00844F28 /* gain_analysis.h in Headers */, + 65326F322253DA5F00844F28 /* newmdct.h in Headers */, + 65326F2E2253DA5F00844F28 /* lameerror.h in Headers */, + 65326F472253DA5F00844F28 /* lame_intrin.h in Headers */, + 65326F462253DA5F00844F28 /* VbrTag.h in Headers */, + 65326F2D2253DA5F00844F28 /* lame_global_flags.h in Headers */, + 65326F4A2253DA5F00844F28 /* version.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 65326EA02253D68900844F28 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 656854752258B483005FC068 /* encoder.h in Headers */, + 65326ECE2253D70900844F28 /* huffman.h in Headers */, + 65326ED82253D70900844F28 /* layer2.h in Headers */, + 65326ED32253D70900844F28 /* l2tables.h in Headers */, + 65326ECD2253D70900844F28 /* decode_i386.h in Headers */, + 65326EDC2253D70900844F28 /* mpglib.h in Headers */, + 65326EC92253D70900844F28 /* config.h in Headers */, + 65326ED62253D70900844F28 /* layer1.h in Headers */, + 65326EDB2253D70900844F28 /* mpg123.h in Headers */, + 65326EC82253D70900844F28 /* common.h in Headers */, + 65326ED42253D70900844F28 /* lame.h in Headers */, + 65326EDE2253D70900844F28 /* tabinit.h in Headers */, + 65326ED02253D70900844F28 /* interface.h in Headers */, + 65326ED22253D70900844F28 /* version.h in Headers */, + 65326EDA2253D70900844F28 /* layer3.h in Headers */, + 65326ECB2253D70900844F28 /* dct64_i386.h in Headers */, + 65326ED12253D70900844F28 /* machine.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; ED15212C163C227C00451B5F /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -6974,6 +7343,8 @@ 2800FE280FF323C0005CA9E5 /* PBXTargetDependency */, 17C99D4F098970800041B1BC /* PBXTargetDependency */, 17C99D4D098970800041B1BC /* PBXTargetDependency */, + 65326F4E2253E03200844F28 /* PBXTargetDependency */, + 65326F502253E03200844F28 /* PBXTargetDependency */, 176A1B6E098B7C7200DC73B4 /* PBXTargetDependency */, 17C99D4B098970800041B1BC /* PBXTargetDependency */, 28E237270E515E1300281398 /* PBXTargetDependency */, @@ -7124,6 +7495,38 @@ productReference = 28FADDEF1833C3C500BA4141 /* libexpat.a */; productType = "com.apple.product-type.library.static"; }; + 65326E6C2253D2BE00844F28 /* libmp3lame */ = { + isa = PBXNativeTarget; + buildConfigurationList = 65326E992253D2BE00844F28 /* Build configuration list for PBXNativeTarget "libmp3lame" */; + buildPhases = ( + 65326E6D2253D2BE00844F28 /* Headers */, + 65326E852253D2BE00844F28 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libmp3lame; + productName = libsndfile; + productReference = 65326E9E2253D2BE00844F28 /* liblibmp3lame.a */; + productType = "com.apple.product-type.library.static"; + }; + 65326E9F2253D68900844F28 /* libmpg123 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 65326EA22253D68900844F28 /* Build configuration list for PBXNativeTarget "libmpg123" */; + buildPhases = ( + 65326EA02253D68900844F28 /* Headers */, + 65326EA12253D68900844F28 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libmpg123; + productName = libsndfile; + productReference = 65326EA72253D68900844F28 /* liblibmpg123.a */; + productType = "com.apple.product-type.library.static"; + }; ED15212F163C227C00451B5F /* libsoxr */ = { isa = PBXNativeTarget; buildConfigurationList = ED152148163C22A700451B5F /* Build configuration list for PBXNativeTarget "libsoxr" */; @@ -7204,6 +7607,8 @@ 176EEC1D09A2F2DD00188F3B /* libFLAC++ */, 17073F610988E121008541CC /* libid3tag */, 17073FC30988E561008541CC /* libmad */, + 65326E6C2253D2BE00844F28 /* libmp3lame */, + 65326E9F2253D68900844F28 /* libmpg123 */, 176A1A5A098B7B8D00DC73B4 /* libnyquist */, 170740D30988F820008541CC /* libvorbis */, 17073FFD0988EA60008541CC /* libogg */, @@ -8358,6 +8763,49 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 65326E852253D2BE00844F28 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 65326F452253DA5F00844F28 /* VbrTag.c in Sources */, + 65326F342253DA5F00844F28 /* psymodel.c in Sources */, + 65326F482253DA5F00844F28 /* xmm_quantize_sub.c in Sources */, + 65326F412253DA5F00844F28 /* util.c in Sources */, + 65326F492253DA5F00844F28 /* version.c in Sources */, + 65326F232253DA5F00844F28 /* fft.c in Sources */, + 65326F402253DA5F00844F28 /* takehiro.c in Sources */, + 65326F282253DA5F00844F28 /* id3tag.c in Sources */, + 65326F362253DA5F00844F28 /* quantize.c in Sources */, + 65326F2C2253DA5F00844F28 /* lame.c in Sources */, + 65326F212253DA5F00844F28 /* encoder.c in Sources */, + 65326F3E2253DA5F00844F28 /* tables.c in Sources */, + 65326F312253DA5F00844F28 /* newmdct.c in Sources */, + 65326F3C2253DA5F00844F28 /* set_get.c in Sources */, + 65326F332253DA5F00844F28 /* presets.c in Sources */, + 65326F252253DA5F00844F28 /* gain_analysis.c in Sources */, + 65326F432253DA5F00844F28 /* vbrquantize.c in Sources */, + 65326F382253DA5F00844F28 /* quantize_pvt.c in Sources */, + 65326F1F2253DA5F00844F28 /* bitstream.c in Sources */, + 65326F302253DA5F00844F28 /* mpglib_interface.c in Sources */, + 65326F3A2253DA5F00844F28 /* reservoir.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 65326EA12253D68900844F28 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 65326ED92253D70900844F28 /* layer3.c in Sources */, + 65326ED72253D70900844F28 /* layer2.c in Sources */, + 65326ECC2253D70900844F28 /* decode_i386.c in Sources */, + 65326ED52253D70900844F28 /* layer1.c in Sources */, + 65326ECF2253D70900844F28 /* interface.c in Sources */, + 65326EDD2253D70900844F28 /* tabinit.c in Sources */, + 65326EC72253D70900844F28 /* common.c in Sources */, + 65326ECA2253D70900844F28 /* dct64_i386.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; ED15212D163C227C00451B5F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -8502,6 +8950,16 @@ target = 28E67F510A3A160D0021D89F /* portaudio-v19 */; targetProxy = 28E67F630A3A16AA0021D89F /* PBXContainerItemProxy */; }; + 65326F4E2253E03200844F28 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 65326E6C2253D2BE00844F28 /* libmp3lame */; + targetProxy = 65326F4D2253E03200844F28 /* PBXContainerItemProxy */; + }; + 65326F502253E03200844F28 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 65326E9F2253D68900844F28 /* libmpg123 */; + targetProxy = 65326F4F2253E03200844F28 /* PBXContainerItemProxy */; + }; ED1521FF163C2D3200451B5F /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = ED15212F163C227C00451B5F /* libsoxr */; @@ -10207,6 +10665,126 @@ }; name = Release64; }; + 65326E9A2253D2BE00844F28 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_MPGLIB, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mp3lame; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/libmp3lame/**"; + }; + name = Debug; + }; + 65326E9B2253D2BE00844F28 /* Debug64 */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_MPGLIB, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mp3lame; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/libmp3lame/**"; + }; + name = Debug64; + }; + 65326E9C2253D2BE00844F28 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_MPGLIB, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mp3lame; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/libmp3lame/**"; + }; + name = Release; + }; + 65326E9D2253D2BE00844F28 /* Release64 */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + HAVE_MPGLIB, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mp3lame; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/libmp3lame/**"; + }; + name = Release64; + }; + 65326EA32253D68900844F28 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_LAYER_2, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mpg123; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/mpglib/**"; + }; + name = Debug; + }; + 65326EA42253D68900844F28 /* Debug64 */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_LAYER_2, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mpg123; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/mpglib/**"; + }; + name = Debug64; + }; + 65326EA52253D68900844F28 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_LAYER_2, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mpg123; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/mpglib/**"; + }; + name = Release; + }; + 65326EA62253D68900844F28 /* Release64 */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_LAYER_2, + HAVE_CONFIG_H, + ); + HEADER_SEARCH_PATHS = /Developer/Headers/FlatCarbon; + PRODUCT_NAME = mpg123; + SKIP_INSTALL = YES; + USER_HEADER_SEARCH_PATHS = "$(TOPLEVEL)/mac/lib-src/mpglib/**"; + }; + name = Release64; + }; ED152132163C227C00451B5F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -10572,6 +11150,28 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Debug; }; + 65326E992253D2BE00844F28 /* Build configuration list for PBXNativeTarget "libmp3lame" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 65326E9A2253D2BE00844F28 /* Debug */, + 65326E9B2253D2BE00844F28 /* Debug64 */, + 65326E9C2253D2BE00844F28 /* Release */, + 65326E9D2253D2BE00844F28 /* Release64 */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 65326EA22253D68900844F28 /* Build configuration list for PBXNativeTarget "libmpg123" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 65326EA32253D68900844F28 /* Debug */, + 65326EA42253D68900844F28 /* Debug64 */, + 65326EA52253D68900844F28 /* Release */, + 65326EA62253D68900844F28 /* Release64 */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; ED152148163C22A700451B5F /* Build configuration list for PBXNativeTarget "libsoxr" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/src/export/ExportMP3.h b/src/export/ExportMP3.h index 343788e7b..97e87f29e 100644 --- a/src/export/ExportMP3.h +++ b/src/export/ExportMP3.h @@ -20,7 +20,7 @@ #define MODE_ABR 2 #define MODE_CBR 3 -#if defined(__WXMSW__) +#if defined(__WXMSW__) || defined(__WXMAC__) #define MP3_EXPORT_BUILT_IN 1 #endif