Added API calls
Added audio and port selector