printf("fail to sound_manager_create_stream_information(), ret(0x%x)\n", ret);
goto EXIT;
}
- ret = audio_in_set_stream_info(input, g_stream_info_read_h);
+ ret = audio_in_set_sound_stream_info(input, g_stream_info_read_h);
if (ret)
- printf("fail to audio_in_set_stream_info(), ret(0x%x)\n", ret);
+ printf("fail to audio_in_set_sound_stream_info(), ret(0x%x)\n", ret);
ret = sound_manager_acquire_focus(g_stream_info_read_h, SOUND_STREAM_FOCUS_FOR_RECORDING, SOUND_BEHAVIOR_NONE, NULL);
if (ret) {
printf("fail to sound_manager_create_stream_information(), ret(0x%x)\n", ret);
goto EXIT;
}
- ret = audio_out_set_stream_info(output, g_stream_info_write_h);
+ ret = audio_out_set_sound_stream_info(output, g_stream_info_write_h);
if (ret)
- printf("fail to audio_out_set_stream_info(), ret(0x%x)\n", ret);
+ printf("fail to audio_out_set_sound_stream_info(), ret(0x%x)\n", ret);
ret = sound_manager_acquire_focus(g_stream_info_write_h, SOUND_STREAM_FOCUS_FOR_PLAYBACK, SOUND_BEHAVIOR_NONE, NULL);
if (ret) {