Hello everyone!
I am writing a music playback program. I have got the playing of audio working using ffmpeg and libao. Now I need to implement the ability to pause the playback, and I have a few ideas -
- Check the variable (ie. pause = true/false)
- Pause the playback thread (I'm using pthreads, if thats possible).
Anyone have any other ideas, comments or suggestions? Thanks!