Here is the error I get while pressing the play button:
Error: Ressource introuvable.
Debug: gstfilesrc.c(533): gst_file_src_start (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin0/GstFileSrc:source:
No such file "/home/nathan/Téléchargements/PerfectPitch/build/sounds/bensound-jazzyfrenchy.mp3"
The app is trying to find the file in the build directory, but the audio is installed in the sounds directory in the system share directory with these meson instructions:
install_data (
join_paths('sounds', 'bensound-jazzyfrenchy.mp3'),
install_dir: join_paths('share', 'artempopof', 'perfectpitch', 'sounds')
)
It's in the gresource.xml file too. Unfortunately I don't know how to import a audio file from gresource. I have no idea if it's possible.
Maybe you can take a look on the Tranqil app which uses audio files too.
For now it seems that your app can only work with your building config.
Here is the error I get while pressing the play button:
The app is trying to find the file in the build directory, but the audio is installed in the
soundsdirectory in the system share directory with these meson instructions:It's in the
gresource.xmlfile too. Unfortunately I don't know how to import a audio file from gresource. I have no idea if it's possible.Maybe you can take a look on the Tranqil app which uses audio files too.
For now it seems that your app can only work with your building config.