Add PlaySound function to API