diff Alc/backends/send.c @ 7:37f25cb34196

transferred native interface for send.c to this project
author Robert McIntyre <rlm@mit.edu>
date Wed, 26 Oct 2011 10:42:15 -0700
parents f9476ff7637e
children 92b416b4e027
line wrap: on
line diff
     1.1 --- a/Alc/backends/send.c	Tue Oct 25 13:25:47 2011 -0700
     1.2 +++ b/Alc/backends/send.c	Wed Oct 26 10:42:15 2011 -0700
     1.3 @@ -274,25 +274,25 @@
     1.4  
     1.5  ////////////////////   JNI Methods
     1.6  
     1.7 -#include "com_aurellem_capture_AudioSend.h"
     1.8 +#include "com_aurellem_send_AudioSend.h"
     1.9  
    1.10  /*
    1.11 - * Class:     com_aurellem_capture_AudioSend
    1.12 + * Class:     com_aurellem_send_AudioSend
    1.13   * Method:    nstep
    1.14   * Signature: (JI)V
    1.15   */
    1.16 -JNIEXPORT void JNICALL Java_com_aurellem_capture_AudioSend_nstep
    1.17 +JNIEXPORT void JNICALL Java_com_aurellem_send_AudioSend_nstep
    1.18  (JNIEnv *env, jclass clazz, jlong device, jint samples){
    1.19    UNUSED(env);UNUSED(clazz);UNUSED(device);
    1.20    renderData((ALCdevice*)((intptr_t)device), samples);
    1.21  }
    1.22  
    1.23  /*
    1.24 - * Class:     com_aurellem_capture_AudioSend
    1.25 + * Class:     com_aurellem_send_AudioSend
    1.26   * Method:    ngetSamples
    1.27   * Signature: (JLjava/nio/ByteBuffer;III)V
    1.28   */
    1.29 -JNIEXPORT void JNICALL Java_com_aurellem_capture_AudioSend_ngetSamples
    1.30 +JNIEXPORT void JNICALL Java_com_aurellem_send_AudioSend_ngetSamples
    1.31  (JNIEnv *env, jclass clazz, jlong device, jobject buffer, jint position, 
    1.32   jint samples, jint n){
    1.33    UNUSED(clazz);  
    1.34 @@ -309,11 +309,11 @@
    1.35  }
    1.36  
    1.37  /*
    1.38 - * Class:     com_aurellem_capture_AudioSend
    1.39 + * Class:     com_aurellem_send_AudioSend
    1.40   * Method:    naddListener
    1.41   * Signature: (J)V
    1.42   */
    1.43 -JNIEXPORT void JNICALL Java_com_aurellem_capture_AudioSend_naddListener
    1.44 +JNIEXPORT void JNICALL Java_com_aurellem_send_AudioSend_naddListener
    1.45  (JNIEnv *env, jclass clazz, jlong device){
    1.46    UNUSED(env); UNUSED(clazz);
    1.47    printf("creating new context via naddListener\n");
    1.48 @@ -323,11 +323,11 @@
    1.49  }
    1.50  
    1.51  /*
    1.52 - * Class:     com_aurellem_capture_AudioSend
    1.53 + * Class:     com_aurellem_send_AudioSend
    1.54   * Method:    nsetNthListener3f
    1.55   * Signature: (IFFFJI)V
    1.56   */
    1.57 -JNIEXPORT void JNICALL Java_com_aurellem_capture_AudioSend_nsetNthListener3f
    1.58 +JNIEXPORT void JNICALL Java_com_aurellem_send_AudioSend_nsetNthListener3f
    1.59    (JNIEnv *env, jclass clazz, jint param, 
    1.60     jfloat v1, jfloat v2, jfloat v3, jlong device, jint contextNum){
    1.61    UNUSED(env);UNUSED(clazz);
    1.62 @@ -343,11 +343,11 @@
    1.63  }
    1.64  
    1.65  /*
    1.66 - * Class:     com_aurellem_capture_AudioSend
    1.67 + * Class:     com_aurellem_send_AudioSend
    1.68   * Method:    nsetNthListenerf
    1.69   * Signature: (IFJI)V
    1.70   */
    1.71 -JNIEXPORT void JNICALL Java_com_aurellem_capture_AudioSend_nsetNthListenerf
    1.72 +JNIEXPORT void JNICALL Java_com_aurellem_send_AudioSend_nsetNthListenerf
    1.73  (JNIEnv *env, jclass clazz, jint param, jfloat v1, jlong device, 
    1.74   jint contextNum){
    1.75  
    1.76 @@ -364,11 +364,11 @@
    1.77  }
    1.78  
    1.79  /*
    1.80 - * Class:     com_aurellem_capture_AudioSend
    1.81 + * Class:     com_aurellem_send_AudioSend
    1.82   * Method:    ninitDevice
    1.83   * Signature: (J)V
    1.84   */                     
    1.85 -JNIEXPORT void JNICALL Java_com_aurellem_capture_AudioSend_ninitDevice
    1.86 +JNIEXPORT void JNICALL Java_com_aurellem_send_AudioSend_ninitDevice
    1.87  (JNIEnv *env, jclass clazz, jlong device){
    1.88    UNUSED(env);UNUSED(clazz);
    1.89