This patch adds the prerolling to the gsta2dpsink gstreamer plugin, it sends the configuration packet to the device and prepares the connection.

It is currently only supporting sbc, needs to be extended to mp3.

This patch includes the full set of changes the previous one did.

I'll be waiting comments, reviews or sugestions.

BR,

Thiago

On 10/1/07, thiagoss <thiagossantos@gmail.com> wrote:
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