/src-c-linux32/BASS_BFX_ECHO3.cpp
https://github.com/jerome-jouvie/NativeBass · C++ · 125 lines · 68 code · 14 blank · 43 comment · 0 complexity · 34f998e64fd9922f9bad5f1c4814b961 MD5 · raw file
- /* DO NOT EDIT - AUTOGENERATED */
- /**
- * NativeBass Project
- *
- * Want to use BASS (www.un4seen.com) in the Java language ? NativeBass is made for you.
- * Copyright © 2007-2011 Jérôme JOUVIE
- *
- * Created on 02 jul. 2007
- * @version file v1.1.1
- * @author Jérôme JOUVIE (Jouvieje)
- * @site http://jerome.jouvie.free.fr/
- * @mail jerome.jouvie@gmail.com
- *
- *
- * INTRODUCTION
- * BASS is an audio library for use in Windows and Mac OSX software.
- * Its purpose is to provide developers with the most powerful and
- * efficient (yet easy to use), sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF,
- * custom generated, and more via add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX),
- * MO3 music (MP3/OGG compressed MODs),
- * and recording functions. All in a tiny DLL, under 100KB* in size.
- *
- * BASS official web site :
- * http://www.un4seen.com/
- *
- *
- * GNU LESSER GENERAL PUBLIC LICENSE
- *
- * 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
- */
- #include "NativeBass.h"
- #include "bass.h"
- #include "bassenc.h"
- #include "bassflac.h"
- #include "bassmidi.h"
- #include "bassmix.h"
- #include "basswv.h"
- #include "bass_aac.h"
- #include "bass_ac3.h"
- #include "bass_alac.h"
- #include "bass_fx.h"
- #include "bass_mpc.h"
- #include "bass_spx.h"
- #include "Utils.h"
- #include "Pointer.h"
- #include "JavaObject.h"
- #include "jouvieje_bass_structures_StructureJNI.h"
- #include "CallbackManager.h"
- JNIEXPORT jlong JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1new(JNIEnv *java_env, jclass jcls) {
- BASS_BFX_ECHO3 *result_ = new BASS_BFX_ECHO3();
- CheckAllocation(java_env, result_);
- N2J_PTR2ADR(jresult, result_, BASS_BFX_ECHO3 *);
- return jresult;
- }
- JNIEXPORT void JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1delete(JNIEnv *java_env, jclass jcls, jlong jpointer) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- delete pointer;
- }
- JNIEXPORT jfloat JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1get_1fDryMix(JNIEnv *java_env, jclass jcls, jlong jpointer) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- float result_ = pointer->fDryMix;
- return (jfloat)result_;
- }
- JNIEXPORT void JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1set_1fDryMix(JNIEnv *java_env, jclass jcls, jlong jpointer, jfloat jfDryMix) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- float fDryMix = (float)jfDryMix;
- pointer->fDryMix = fDryMix;
- }
- JNIEXPORT jfloat JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1get_1fWetMix(JNIEnv *java_env, jclass jcls, jlong jpointer) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- float result_ = pointer->fWetMix;
- return (jfloat)result_;
- }
- JNIEXPORT void JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1set_1fWetMix(JNIEnv *java_env, jclass jcls, jlong jpointer, jfloat jfWetMix) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- float fWetMix = (float)jfWetMix;
- pointer->fWetMix = fWetMix;
- }
- JNIEXPORT jfloat JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1get_1fDelay(JNIEnv *java_env, jclass jcls, jlong jpointer) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- float result_ = pointer->fDelay;
- return (jfloat)result_;
- }
- JNIEXPORT void JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1set_1fDelay(JNIEnv *java_env, jclass jcls, jlong jpointer, jfloat jfDelay) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- float fDelay = (float)jfDelay;
- pointer->fDelay = fDelay;
- }
- JNIEXPORT jint JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1get_1lChannel(JNIEnv *java_env, jclass jcls, jlong jpointer) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- int result_ = pointer->lChannel;
- return (jint)result_;
- }
- JNIEXPORT void JNICALL Java_jouvieje_bass_structures_StructureJNI_BASS_1BFX_1ECHO3_1set_1lChannel(JNIEnv *java_env, jclass jcls, jlong jpointer, jint jlChannel) {
- BASS_BFX_ECHO3 *pointer = N2J_CAST(jpointer, BASS_BFX_ECHO3 *);
- int lChannel = (int)jlChannel;
- pointer->lChannel = lChannel;
- }