Re: [Sugar-devel] [PATCH Sugar] Close audio device after text to speech - OLPC #11829

2012-05-07 Thread Simon Schampijer
On 05/04/2012 11:34 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com In xo with alsa, if we keep opened the audio device after doing tts, other activities can't use it. We need close the device after the eof message is received, because the message came a little before the

Re: [Sugar-devel] [PATCH Sugar] Close audio device after text to speech - OLPC #11829

2012-05-07 Thread Gonzalo Odiard
Ok, if we will use EOS message, we don't need add the end marl anymore. I think i had used this mark, because iin my previous test, didn't received the EOS signal at times, But now I tested it again and received the message, then I am ok with doing the change. A updated patch should be: diff

[Sugar-devel] [PATCH Sugar] Close audio device after text to speech - OLPC #11829

2012-05-04 Thread godiard
From: Gonzalo Odiard godi...@gmail.com In xo with alsa, if we keep opened the audio device after doing tts, other activities can't use it. We need close the device after the eof message is received, because the message came a little before the sound has finished. Signed-off-by: Gonzalo Odiard