updated audiocapture api def, neworm, eventsource