⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 org_tritonus_lowlevel_alsa_alsapcmhwparams.c

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 C
📖 第 1 页 / 共 2 页
字号:
}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriodTimeMin * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodTimeMin(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int			nReturn;	unsigned int	nValue;	int			nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodTimeMin(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_period_time_min(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodTimeMin(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriodTimeMax * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodTimeMax(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodTimeMax(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_period_time_max(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodTimeMax(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriodSize * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSize(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int					nReturn;	snd_pcm_uframes_t	nValue;	int					nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSize(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_period_size(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSize(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriodSizeMin * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSizeMin(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int					nReturn;	snd_pcm_uframes_t	nValue;	int					nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSizeMin(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_period_size_min(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSizeMin(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriodSizeMax * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSizeMax(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int					nReturn;	snd_pcm_uframes_t	nValue;	int					nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSizeMax(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_period_size_max(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodSizeMax(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriods * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriods(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriods(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_periods(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriods(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriodsMin * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodsMin(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodsMin(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_periods_min(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodsMin(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getPeriodsMax * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodsMax(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodsMax(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_periods_max(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getPeriodsMax(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getBufferTime * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTime(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTime(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_buffer_time(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTime(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getBufferTimeMin * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTimeMin(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTimeMin(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_buffer_time_min(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTimeMin(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getBufferTimeMax * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTimeMax(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTimeMax(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_buffer_time_max(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferTimeMax(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getBufferSize * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSize(JNIEnv* env, jobject obj){	snd_pcm_hw_params_t*	handle;	snd_pcm_uframes_t		nValue;	int			nReturn;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSize(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_buffer_size(handle, &nValue);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSize(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getBufferSizeMin * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSizeMin(JNIEnv* env, jobject obj){	snd_pcm_hw_params_t*	handle;	snd_pcm_uframes_t		nValue;	int			nReturn;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSizeMin(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_buffer_size_min(handle, &nValue);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSizeMin(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getBufferSizeMax * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSizeMax(JNIEnv* env, jobject obj){	snd_pcm_hw_params_t*	handle;	snd_pcm_uframes_t		nValue;	int			nReturn;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSizeMax(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_buffer_size_max(handle, &nValue);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getBufferSizeMax(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getTickTime * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTime(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTime(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_tick_time(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTime(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getTickTimeMin * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTimeMin(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTimeMin(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_tick_time_min(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTimeMin(): end\n"); }	return nValue;}/* * Class:     org_tritonus_lowlevel_alsa_AlsaPcmHWParams * Method:    getTickTimeMax * Signature: ([I)I */JNIEXPORT jint JNICALLJava_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTimeMax(JNIEnv* env, jobject obj, jintArray anDirection){	snd_pcm_hw_params_t*	handle;	int				nReturn;	unsigned int	nValue;	int				nDirection;	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTimeMax(): begin\n"); }	handle = getHandle(env, obj);	nReturn = snd_pcm_hw_params_get_tick_time_max(handle, &nValue, &nDirection);	setDirection(env, nDirection, anDirection);	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_alsa_AlsaPcmHWParams_getTickTimeMax(): end\n"); }	return nValue;}/*** org_tritonus_lowlevel_alsa_AlsaPcmHWParams.c ***/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -