[PATCH 0/2] Support for forcing old protocol versions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Tanu Kaskinen (2):
  libpulse: Support new environment variable:
    PULSE_PROTOCOL_VERSION_LIMIT.
  native: New modarg: protocol-version-limit.

 src/modules/module-protocol-stub.c |    5 ++-
 src/pulse/context.c                |   53 +++++++++++++++++++++++++++---------
 src/pulse/internal.h               |    4 ++-
 src/pulsecore/protocol-native.c    |   29 +++++++++++++++-----
 src/pulsecore/protocol-native.h    |    1 +
 5 files changed, 69 insertions(+), 23 deletions(-)

-- 
1.7.5.3



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux