static void PV_CleanupWriteFile(void) { if (fileOut) { XFileClose(fileOut); fileOut = 0; } }
// $$kk: 04.11.99: we are never calling this!! JNIEXPORT jboolean JNICALL Java_com_sun_media_sound_HeadspaceSoundbank_nCloseResource(JNIEnv* e, jobject thisObj, jlong id) { XFILE file = NULL; jboolean result; TRACE0("Java_com_sun_media_sound_HeadspaceSoundbank_nCloseResource.\n"); file = (XFILE) (INT_PTR) id; if (file) { XFileClose(file); result = (jboolean)TRUE; } else { result = (jboolean)FALSE; } TRACE1("Java_com_sun_media_sound_HeadspaceSoundbank_nCloseResource completed, returning %d.\n", result); return result; }