hi,
i noticed that under linux no audio is available. after a short look into sources file GAudioOutput.cc i noticed that Phonon calls are commented. i enabled phonon in code and noticed that it will work but crash on closing application. searching for this issue ended without any concrete results. more or less a phonon bug is often discussed in web.
so i diside to write a simple alsa audio driver for linux.
i finished my simple implementation for an alsa and libsndfile depended driver.
goals:
using alsa audio directly
using libsndfile to load samples from disk
queued sound calls. that means switching between modes or other messages do not interrupt running messages as before using phonon.
storing wav files into an tmp_audio directory inside ~/apmplanner2/tmp_audio. if a wav file not exist it will created named with the spoken text message. if a file already exist flite synthesiser creation step is bypassed and the existing file will queued for audio-process. this save cpu and make queueing of audiofiles possible.
i create no pull request because the changes are a little bit bigger. also it depends on libasound2-dev and libsndfile-dev. but if you are interested you can clone and test my repo . my changes are in master branch:( i simple forgot to branch before i start writing. i fetch diydrones / apm_planner upstream and merge it to my master. so it is always on head.
my fork
https://github.com/wolkstein/apm_planner
hi, i noticed that under linux no audio is available. after a short look into sources file GAudioOutput.cc i noticed that Phonon calls are commented. i enabled phonon in code and noticed that it will work but crash on closing application. searching for this issue ended without any concrete results. more or less a phonon bug is often discussed in web. so i diside to write a simple alsa audio driver for linux. i finished my simple implementation for an alsa and libsndfile depended driver. goals:
i create no pull request because the changes are a little bit bigger. also it depends on libasound2-dev and libsndfile-dev. but if you are interested you can clone and test my repo . my changes are in master branch:( i simple forgot to branch before i start writing. i fetch diydrones / apm_planner upstream and merge it to my master. so it is always on head. my fork https://github.com/wolkstein/apm_planner
/g wolke