Audio recorder, cannot find saved file on emulator and internal error (-38)

Audio recorder, cannot find saved file on emulator and internal error (-38)

BY 23 Nov 2019 Native Application Development

Hello!

I am trying to write a simple application to record audio on my galaxy watch using native app development in C.

So far I got to the stage when i start the recorder, and after 5 seconds i do a `recorder_commit`.

Apparently the file is saved under

/opt/usr/home/owner/apps_rw/org.example.audiorecorder/data/AUDIO-2019-11-23_19:29:47.3gp

However when I go there using either device manager or shell, there is nothing there at all, all the functions return codes are 0, so everything was a success.

Can you help me find the reason I cannot find the file? What am I missing?

attached the logs. The tag is audiorecorder.

 

BR,

Adam

Written by