This set of patches implements the necessary code for the A2DP Sink.
It wasn't extensively tested because we need a client to actually send
audio through it, but avinfo and the D-Bus Connect() method works.
Also, it didn't work over 2.6.28 kernel from Jaunty (connection
refused), and it latter worked over 2.6.30 from kernel.ubuntu.com. I
don't know if was a bug in kernel part or some ubuntu config file
Looking at the code one will notice that there is a lot of duplicated
code from Source SEP and Sink API. I have plans to merge both codes in
the future, but I would like to see it working with the client first,
so we don't change working code without testing the new one first. To
be able to test it, Source interface needs to be explicitly enabled in
João Paulo Rechi Vita
MSc Computer Science Student
IC / Unicamp