ArduPilot / apm_planner

APM Planner Ground Control Station (Qt)
https://ardupilot.org
Other
508 stars 464 forks source link

Phonon Audio unused #169

Open wolkstein opened 10 years ago

wolkstein commented 10 years ago

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

stephendade commented 10 years ago

I'll take a look at it over the weekend...