Merge "Add new function to get audio state" into pi-dev