资源简介
lame-3.98.4 mp3编解码源码,需要的快下载啊
代码片段和文件信息
/**
*
* Lame ACM wrapper encode/decode MP3 based RIFF/AVI files in MS Windows
*
* Copyright (c) 2002 Steve Lhomme
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser 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
*
*/
/*!
\author Steve Lhomme
\version \$Id: ACM.cppv 1.20.8.1 2008/11/01 20:41:47 robert Exp $
*/
#if !defined(STRICT)
#define STRICT
#endif // STRICT
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “adebug.h“
#include “resource.h“
#include “ACMStream.h“
#ifdef ENABLE_DECODING
#include “DecodeStream.h“
#endif // ENABLE_DECODING
#include “ACM.h“
#ifndef IDC_HAND
#define IDC_HAND MAKEINTRESOURCE(32649)
#endif // IDC_HAND
char ACM::VersionString[120];
const char ACM_VERSION[] = “0.9.2“;
#ifdef WIN32
//
// 32-bit versions
//
#if (WINVER >= 0x0400)
#define VERSION_ACM_DRIVER MAKE_ACM_VERSION(4 0 0)
#else
#define VERSION_ACM_DRIVER MAKE_ACM_VERSION(3 51 0)
#endif
#define VERSION_MSACM MAKE_ACM_VERSION(3 50 0)
#else
//
// 16-bit versions
//
#define VERSION_ACM_DRIVER MAKE_ACM_VERSION(1 0 0)
#define VERSION_MSACM MAKE_ACM_VERSION(2 1 0)
#endif
#define PERSONAL_FORMAT WAVE_FORMAT_MPEGlayer3
#define SIZE_FORMAT_STRUCT sizeof(MPEGlayer3WAVEFORMAT)
//#define SIZE_FORMAT_STRUCT 0
//static const char channel_mode[][13] = {“mono““stereo““joint stereo““dual channel“};
static const char channel_mode[][13] = {“mono““stereo“};
static const unsigned int mpeg1_freq[] = {480004410032000};
static const unsigned int mpeg2_freq[] = {24000220501600012000110258000};
static const unsigned int mpeg1_bitrate[] = {320 256 224 192 160 128 112 96 80 64 56 48 40 32};
static const unsigned int mpeg2_bitrate[] = {160 144 128 112 96 80 64 56 48 40 32 24 16 8};
#define SIZE_CHANNEL_MODE (sizeof(channel_mode) / (sizeof(char) * 13))
#define SIZE_FREQ_MPEG1 (sizeof(mpeg1_freq) / sizeof(unsigned int))
#define SIZE_FREQ_MPEG2 (sizeof(mpeg2_freq) / sizeof(unsigned int))
#define SIZE_BITRATE_MPEG1 (sizeof(mpeg1_bitrate) / sizeof(unsigned int))
#define SIZE_BITRATE_MPEG2 (sizeof(mpeg2_bitrate) / sizeof(unsigned int))
static const int FORMAT_TAG_MAX_NB = 2; // PCM and PERSONAL (mand
相关资源
- 基于mini2440的mp3播放器的设计
- Philips飞利浦MP3Spark2固件工具Firmware(
- Qt_mp3播放器
- QT实现的MP3播放器
- mp3decode.rar
- MP3的verilog硬件实现_完整工程
- pcb封装 各种 音频接口封装 可3d显示
- TQ2440 mp3 源程序
- 基于qt4的多媒体播放器图片,音乐,
- stm32f1WM8978录音和放音例程.rar
- DELPHI 音频格式互转控件MP3、WMA、APE、
- 使用LAME实现wav转mp3
- 基于mini2440的MP3播放器毕业设计
- 用STM32F103做MP3
- lame支持armv6 armv7 i386 armv7s
- mp3stegomp3隐写工具
- 基于STM32的mp3播放器设计193488
- lame 源码 mp3编码库
- qt5音乐播放器自定义解码
- KT803C蓝牙wifi电信2G4G远程串口更新MP
- Audio2Mp3.zip
- MP3、MP4通用刷机工具
- WM8978 mp3播放器
- 微信QQ语音转换工具silk2mp3
- 嵌入式linux下QT开发的mp3播放器源码
- linux-ffmpeg-3.3.1.tar.gz
- 基于STM32的MP3播放器设计
- I2S——MP3播放器
- 网易云音乐缓存ucuc!格式转码mp3
- myMp3_alin.zip
评论
共有 条评论