}
if (STTD_RECORDER_STATE_RECORDING != g_recorder_state) {
- /* SLOG(LOG_DEBUG, TAG_STTD, "[Recorder] Exit audio reading normal func"); */
+ SLOG(LOG_INFO, TAG_STTD, "[Recorder] Exit audio reading normal func");
return;
}
#ifdef TV_FFV_MODE
static void _ffv_audio_function_cb(void* data, unsigned int length, void* user_data)
{
+ if (STTD_RECORDER_STATE_RECORDING != g_recorder_state) {
+ SLOG(LOG_INFO, TAG_STTD, "[Recorder] Exit audio reading normal func");
+ return;
+ }
+
if (0 >= sttd_client_get_ref_count()) {
if (0 == g_buffer_count % 50) {
SLOG(LOG_INFO, TAG_STTD, "[Recorder INFO] farfield audio function callback is invoked, but no cliet");