Fix some synchronization issues. Improve audio job debug output
authorNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 20 Jan 2013 21:15:36 +0000 (16:15 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Sun, 20 Jan 2013 21:15:36 +0000 (16:15 -0500)
commit65eaba6f51c7e693c09121ab667b8622323cb0ab
treec77901e9c5046d5f4f0e3d774b2a6753be8d5952
parent1be84da32f2cba8b5efa4a3ab4a0a7f4370cd853
Fix some synchronization issues. Improve audio job debug output

* src/media/sound.c (make_audio_job): Always initialie the mutex
since some sound backends are multi-threaded and will use the
mutex. Jack and AO are examples.

* src/media/sound.c (make_audio_job): Improve the job log message.

* src/media/sound.c (play-media-stream-synchronously): Improve
play log message to make clear this is synchronous play.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/media/sound.c