ao_pulse, core: make pulse thread wake up core for more data