close audio before open. fix openal device not closed warning. issue 225
al, sl: wrong while condition. check processed > 0