GstA2dpSink was extending GstAudioSink, but there is a problem in that, GstAudioSink expects only
"audio/x-raw-int", "audio/x-raw-float", "audio/x-mulaw" or "audio/x-alaw" as media types. GstA2dpSink should support mp3 and sbc, that's causing a runtime error. This patch changes the base class from GstAudioSink to GstBaseSink, changing the stub functions to be implemented also.


Best regards,


Thiago