I need to record voice from mic and save it to file. Recording runs in background service. Everything works fine, until I call recorder_commit, then I get an error
recorder_state_e state;
int error_code = recorder_get_state(recorder, &state);
if(state == RECORDER_STATE_RECORDING)
{
//I get error in both of these calls
//recorder_pause(recorder);
recorder_commit(recorder);
}
recorder_unprepare(recorder);
recorder_destroy(recorder);
Audio recorder invalid operation on wearable
I need to record voice from mic and save it to file. Recording runs in background service. Everything works fine, until I call recorder_commit, then I get an error
file is created in storage, but it has size of 0 bytes.
this is my code (stripped from logs and error code checking)
Recorder create and start
Recorder stop and destroy
I have also set privileges
mediastorage
recorder
Any help would be appreciated, thanks
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio