fmod

how get FMOD output progressbar & play & pause in android java activity

做~自己de王妃 提交于 2019-12-02 07:21:35
问题 i use FMOD library in android and i don't know how get output progressbar or fast play/pause/stop sound with effect's like: https://play.google.com/store/apps/details?id=com.baviux.voicechanger&hl=en i try to use fomd document's and i know how can i get output but for that's problem's i don't find anything. i'm a beginner in android & ndk. this is my code and i can't control play pause or stop and get output progressbar in java activity: System *system; Sound *sound; DSP *dsp; Channel

c++ fmod returns 0.2 for fmod(0.6,0.2)

落爺英雄遲暮 提交于 2019-12-02 05:29:19
问题 when I use fmod(0.6,0.2) in c++ it returns 0.2 I know this is caused by floating point accuracy but it seems I have to get remainder of two double this moment thanks very much for any solutions for this kind of problem 回答1: The mathematical values 0.6 and 0.2 cannot be represented exactly in binary floating-point. This demo program will show you what's going on: #include <iostream> #include <iomanip> #include <cmath> int main() { const double x = 0.6; const double y = 0.2; std::cout << std:

Using FMOD for C#?

别说谁变了你拦得住时间么 提交于 2019-12-01 16:45:39
I'm working with FMOD in C#. I've tried importing the fmodex.dll file by selecting Project->Add Reference and browsing for the fmodex.dll , but I am getting an error: A reference to ... could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component It is accessible, but I still get the error. I read the guide and it says to use the fmodex_vc.lib when linking to the fmodex.dll file. So I try, but I can't seem to find on how to link to .lib files in Visual Studio; searching Google always leads me to linking to .dll files. Fmod is written in

Using FMOD for C#?

百般思念 提交于 2019-12-01 16:31:46
问题 I'm working with FMOD in C#. I've tried importing the fmodex.dll file by selecting Project->Add Reference and browsing for the fmodex.dll , but I am getting an error: A reference to ... could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component It is accessible, but I still get the error. I read the guide and it says to use the fmodex_vc.lib when linking to the fmodex.dll file. So I try, but I can't seem to find on how to link to .lib

Loading FMOD purely from native code

北城余情 提交于 2019-11-30 20:26:51
I found an example called nativeactivity in FMOD example folder, but unfortunately it use some java code: package org.fmod.nativeactivity; public class Example extends android.app.NativeActivity { static { System.loadLibrary("fmodex"); System.loadLibrary("main"); } } Android.mk looks like this: LOCAL_PATH := $(call my-dir) # # FMOD Ex Shared Library # include $(CLEAR_VARS) LOCAL_MODULE := fmodex LOCAL_SRC_FILES := libfmodex.so LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/inc include $(PREBUILT_SHARED_LIBRARY) # # Example Library # include $(CLEAR_VARS) LOCAL_MODULE := main LOCAL_SRC_FILES := main

Qt编写自定义控件60-声音波形图

女生的网名这么多〃 提交于 2019-11-30 12:02:02
一、前言 这个控件源自于一个音乐播放器,在写该音乐播放器的时候,需要将音频的数据转换成对应的频谱显示,采用的fmod第三方库来处理(fmod声音系统是为游戏开发者准备的革命性音频引擎,非常强大和牛逼),fmod负责拿到音频数据对应的采样频谱数据,然后传给这个控件进行绘制即可,本控件主需要专注于绘制即可,这样fmod对应封装的类专注于音频采集等处理,实现了隔离,修改和增加功能比较方便,声音波形图控件除了可以设置采样的深度以外,还支持三种数据样式展示,线条样式、柱状样式、平滑样式。为了可以直接定位到某一位置直接跳转到音频位置,还增加了绘制数线条定位线。 二、实现的功能 1:可设置采样深度 2:可设置当前位置线条宽度/线条颜色 3:可设置前景色/背景色 4:可设置数据展示样式,线条样式/柱状样式/平滑样式 三、效果图 四、头文件代码 #ifndef WAVEDATA_H #define WAVEDATA_H /** * 音量采样值波形控件 作者:feiyangqingyun(QQ:517216493) 2017-9-10 * 1:可设置采样深度 * 2:可设置当前位置线条宽度/线条颜色 * 3:可设置前景色/背景色 * 4:可设置数据展示样式,线条样式/柱状样式/平滑样式 */ #include <QWidget> #ifdef quc #if (QT_VERSION < QT

Compile and link 3rd party library in Visual Studio [duplicate]

≡放荡痞女 提交于 2019-11-30 07:21:32
This question already has an answer here: Compiling and linking third party libraries in VS 2015 [duplicate] 1 answer I am fairly new to C programming and I haven't used Visual Studio or a third party library before. I'm trying to do something simple with FMOD and need to link fmodvclib , fmod.h , and of course fmod.dll . I've put fmodex_vc.lib in the additional dependencies and the path to the low level libraries in the include and library directories as well as additional include libraries but when I build it gives me: "cannot open source file "fmod.h" identifier "FSOUND_SAMPLE" is undefined

Loading FMOD purely from native code

孤街浪徒 提交于 2019-11-30 05:21:55
问题 I found an example called nativeactivity in FMOD example folder, but unfortunately it use some java code: package org.fmod.nativeactivity; public class Example extends android.app.NativeActivity { static { System.loadLibrary("fmodex"); System.loadLibrary("main"); } } Android.mk looks like this: LOCAL_PATH := $(call my-dir) # # FMOD Ex Shared Library # include $(CLEAR_VARS) LOCAL_MODULE := fmodex LOCAL_SRC_FILES := libfmodex.so LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/inc include $(PREBUILT

Using an embedded .dll in an executable

一世执手 提交于 2019-11-29 08:44:15
Okay. So I know there's lots of questions about how to embed dlls inside exes, but my problem is rather different. (Specifically, I'm using the fmod library to play sounds in my program, and I'm embedding the fmod.dll, but that's beside the point.) I am using Visual C++ 2010 Ultimate. I have successfully embedded the .dll inside the .exe. My resources.h file contains #define IDR_DLL1 144 and my .rc file contains IDR_DLL1 DLL MOVEABLE PURE "data\\fmod.dll" I have the following function in my code (that I totally stole from another stackoverflow question): bool extractResource(const HINSTANCE

Compile and link 3rd party library in Visual Studio [duplicate]

╄→尐↘猪︶ㄣ 提交于 2019-11-29 03:16:25
问题 This question already has an answer here: Compiling and linking third party libraries in VS 2015 [duplicate] 1 answer I am fairly new to C programming and I haven't used Visual Studio or a third party library before. I'm trying to do something simple with FMOD and need to link fmodvclib , fmod.h , and of course fmod.dll . I've put fmodex_vc.lib in the additional dependencies and the path to the low level libraries in the include and library directories as well as additional include libraries