Hi Xingchao,<br><br><div class="gmail_quote">On Tue, Feb 7, 2012 at 4:02 PM, Wang Xingchao <span dir="ltr"><<a href="mailto:wangxingchao2011@gmail.com">wangxingchao2011@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
在 2012年2月6日 下午7:54,Frédéric Dalleau <<a href="mailto:frederic.dalleau@linux.intel.com">frederic.dalleau@linux.intel.com</a>> 写道:<br>
<div class="im">> Hello,<br>
><br>
> I'm spent some time trying to revive the patch series<br>
> originally written by Pierre-Louis Bossart and<br>
> Arun Raghavan to enable MP3 passthrough over A2DP.<br>
> I add support for Media API through a new Endpoint.<br>
><br>
> The resulting code works fine but the following issues are raised:<br>
> 1) Each IEC frame is 4k even if real MP3 data is 120 bytes, is there any alternative?<br>
> 2) SINK_ADD_INPUT_MSG is called with PA_ENCODING_PCM using paplay --passthrough. Is this is a bug?<br>
> 3) how to configure the sink based on incoming stream.<br>
> 4) how to reconfigure the sink if stream type changes.<br>
><br>
> Next step, I'll try to do MP3 sink.<br>
<br>
</div>Great work! i'm very interested with the MP3 sink, do you have some<br>
plan to use Vinod and Pierre's patchset about compress audio data<br>
APIs? I was writing a DSP driver based on that patchset for Medfield<br>
platform, i hope pulseaudio could add such dsp sink which accpet all<br>
compressed formats data the DSP could offload HW decoding.<br>
<span class="HOEnZb"><font color="#888888"></font></span></blockquote><div><br>Thanks for feedback,<br>Current plan is simply to enable the sink to receive MP3 data. This way pulseaudio<br>could be able to do both roles of A2DP with MP3 codec.<br>
I'm not sure yet what to do with the received data. The easiest seems to send to<br>gstreamer via pulsesrc. Vinod and Pierre's API are also a good candidate to feed<br>with the received data too. I'll think about it.<br>
</div></div><br>Regards,<br>Frédéric<br><br>