channels/rdpsnd: refactor audio format negotiation