/* * This file is part of Chiaki. * * Chiaki is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Chiaki 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Chiaki. If not, see . */ #ifndef CHIAKI_JNI_AUDIO_OUTPUT_H #define CHIAKI_JNI_AUDIO_OUTPUT_H #include #include #ifdef __cplusplus extern "C" { #endif void *android_chiaki_audio_output_new(ChiakiLog *log); void android_chiaki_audio_output_free(void *audio_output); void android_chiaki_audio_output_settings(uint32_t channels, uint32_t rate, void *audio_output); void android_chiaki_audio_output_frame(int16_t *buf, size_t samples_count, void *audio_output); #ifdef __cplusplus } #endif #endif //CHIAKI_JNI_AUDIO_OUTPUT_H