[pulseaudio-discuss] [PATCH 0/2] Support for forcing old protocol versions.
Colin Guthrie
gmane at colin.guthr.ie
Mon Jun 13 01:30:47 PDT 2011
'Twas brillig, and Tanu Kaskinen at 13/06/11 07:05 did gyre and gimble:
> Here are two patches that should be usable for working
> around the protocol incompatibility of the N900 (maybe this
> could be useful also when testing protocol compatibility
> when making changes to the protocol?). The first one can be
> used to limit the client protocol version and the second is
> for limiting the server protocol version.
>
> The client protocol version is limited by setting the
> PULSE_PROTOCOL_VERSION_LIMIT environment variable. For
> example:
>
> $ PULSE_PROTOCOL_VERSION_LIMIT=15 PULSE_SERVER=my.server.com paplay music.wav
>
> The server protocol version is limited by setting the
> "protocol-version-limit" module argument of
> module-native-protocol-*. For example:
>
> load-module module-native-protocol-tcp protocol-version-limit=15
Ahh cheers for this. Was wondering if you were going to do this :D
I was wondering, would it make more sense to use daemon.conf and
client.conf rather than modargs and env vars here?
The env var would still be useful IMO for testing quickly, but I can't
help bug feeling the conf files is more appropriate for this kind of
setting... perhaps that's just me tho'?
Col
--
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/]
More information about the pulseaudio-discuss
mailing list