[PATCH 5/5] wineoss: Refactor GetAudioEndpoint to match other drivers.