[pulseaudio-discuss] PulseAudio native protocol
Emil Ohlsson
emo at svep.se
Fri Jul 1 01:39:58 PDT 2011
Hi!
>'Twas brillig, and Emil Ohlsson at 30/06/11 15:51 did gyre and gimble:
>> I?m currently developing a amplifier with Ethernet interface and I
>> would like to be able to use this amplifier as a shared sound card
>> using PulseAudio.
>
>Awesome!!!!!
>
Thanks :)
>
>> Is there some kind of documentation on how the native protocol works?
>> Or some guide on the structure of the source code. I?ve taken a look
>> at pulscore/protocol-native.[ch] to try to understand the protocol but
>> it?s a pretty much information to take in all at once, so any comments
>> would be very welcome.
>
>
>Well, the native protocol is a little nasty in this regard. I'm not sure I would recommend anyone try and implement it >outside of the PA client library itself.
>
>Can you describe some other things about your amp to us so we can maybe see if there are other, easier and more >future proof ways to support it before deciding if supporting the native protocol is the best option?
>
The amp is part of my master thesis, I'm doing a study a of Audio over Ethernet using embedded systems. The amp is supposed to act as a network connected sound card. The best thing would be if the amp would be indistinguishable from other sound cards on the computer. That is why I was looking at PulseAudio in the first place, could the device support native protocol then it would blend in well with most major Linux distributions.
The SNAP will also be able to take an RTP stream and convert it to sound. So perhaps it is better to try to tell the amp when to start listen for an RTP stream instead, perhaps this could be done using DNS-SD?
>
>1) Does your amp run Linux?
No, it will be a tiny embedded system. But it is supposed to support mDNS/DNS-SD, so it can be detected using avahi.
>
>the rest of the questions kinda assume "yes" to the above, but not fully...
>
>2) Would there be a way to use ALSA output from an app running on the amp?
>3) Could you run PA itself on your amp?
>4) Could your amp accept RTP streams?
>5) Could your amp run avahi.
>
>
>That's probably enough to start with :)
>
>Col
>
Thanks a lot :)
/Emil
>
>--
>
>Colin Guthrie
>gmane(at)colin.guthr.ie
>http://colin.guthr.ie/
>
>Day Job:
> Tribalogic Limited [http://www.tribalogic.net/] Open Source:
> Mageia Contributor [http://www.mageia.org/]
> PulseAudio Hacker [http://www.pulseaudio.org/]
> Trac Hacker [http://trac.edgewall.org/]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110701/26e0db18/attachment.html>
More information about the pulseaudio-discuss
mailing list