您的位置:首页 > 移动开发 > Android开发

android 音频编解码 混音 mp3编码解码 pcm编码解码

2015-09-07 14:04 393 查看
特别提示:这里所提供的源代码真实有效,并且只是出售源代码,不提供项目整合服务。如果觉得效果是自己想要的欢迎使用。(感谢各位慷慨资助,谢谢



音频编解码,录制铃音,增加混音效果,目前只支持编解码MP3格式文件。将音频文件放到SDCard/RecordMixMp3/music下,进入软件,点击演唱就可以了。

本项目用到 lame、libmad,ting

源代码+文件+apk:

伴唱混音.zip(10.39
MB, 下载次数: 65)

源代码收费,不喜欢的可以右上角叉叉。谢谢有意向使用的可以留言

QQ:305611696

非诚勿扰,谢谢~!

Android.mk

# Copyright (C) 2009 The Android Open Source Project

#

# Licensed under the Apache License, Version 2.0 (the "License");

# you may not use this file except in compliance with the License.

# You may obtain a copy of the License at <span id="kM0.4412747658789158">@</span>1123

#

#      http://www.apache.org/licenses/LICENSE-2.0

#

# Unless required by applicable law or agreed to in writing, software

# distributed under the License is distributed on an "AS IS" BASIS,

# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

# See the License for the specific language governing permissions and

# limitations under the License.

#

#ifeq ($(strip $(BUILD_WITH_GST)),true)

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LAME_LIBMP3_DIR := libmp3lame/src

LOCAL_SRC_FILES:= \

        version.c \

        fixed.c \

        bit.c \

        timer.c \

        stream.c \

        frame.c  \

        synth.c \

        decoder.c \

        layer12.c \

        layer3.c \

        huffman.c \

        MyMinimad.c \

        NativeMP3Decoder.cpp \

        native_libmad.cpp \

        FileSystem.cpp \

        mixrecord.c \

        mp3decode.c \

        $(LAME_LIBMP3_DIR)/bitstream.c \

        $(LAME_LIBMP3_DIR)/fft.c \

        $(LAME_LIBMP3_DIR)/id3tag.c \

        $(LAME_LIBMP3_DIR)/mpglib_interface.c \

        $(LAME_LIBMP3_DIR)/presets.c \

        $(LAME_LIBMP3_DIR)/quantize.c \

        $(LAME_LIBMP3_DIR)/reservoir.c \

        $(LAME_LIBMP3_DIR)/tables.c \

        $(LAME_LIBMP3_DIR)/util.c \

        $(LAME_LIBMP3_DIR)/VbrTag.c \

        $(LAME_LIBMP3_DIR)/encoder.c \

        $(LAME_LIBMP3_DIR)/gain_analysis.c \

        $(LAME_LIBMP3_DIR)/lame.c \

        $(LAME_LIBMP3_DIR)/newmdct.c \

        $(LAME_LIBMP3_DIR)/psymodel.c \

        $(LAME_LIBMP3_DIR)/quantize_pvt.c \

        $(LAME_LIBMP3_DIR)/set_get.c \

        $(LAME_LIBMP3_DIR)/takehiro.c \

        $(LAME_LIBMP3_DIR)/vbrquantize.c \

        $(LAME_LIBMP3_DIR)/version.c \

        $(LAME_LIBMP3_DIR)/com_wt_recordmixmp3_util_SimpleLame.c \

        cn_com_util_Jni.cpp

LOCAL_ARM_MODE := arm  

  

LOCAL_MODULE:= libmad  

  

LOCAL_C_INCLUDES := \

    $(LOCAL_PATH)/android   

  

LOCAL_CFLAGS := -DHAVE_CONFIG_H -DFPM_ARM -ffast-math -O3  

LOCAL_LDLIBS := -llog

include $(BUILD_SHARED_LIBRARY)

#endif

复制代码

/com_wt_recordmixmp3_util_SimpleLame.h

/com_wt_recordmixmp3_util_SimpleLame.c

/mp3decode.c

/mixrecord.c


















朋友别哭.zip(5.7
MB, 下载次数: 16)


RecordMixMp3.apk(509.64
KB, 下载次数: 15)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息