From a3d1816f681729c60b0fd7c92eb8a36c79107f79 Mon Sep 17 00:00:00 2001 From: Akihiro Tsukada Date: Mon, 25 Feb 2013 01:01:05 +0900 Subject: [PATCH] Bump the native protocol version The previous AAC pass-through patch (commit: 53807e4a) introduced a new encoding format type: PA_ENCODING_MPEG2_AAC_IEC61937, which is mostly used in pa_format_info, but forgot to increment the protocol version number. The version needs to be incremented, because clients need some way of checking whether the server supports the new encoding. --- PROTOCOL | 9 +++++++++ configure.ac | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/PROTOCOL b/PROTOCOL index 01abeed..185b91a 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -333,6 +333,15 @@ PA_COMMAND_GET_CARD_INFO(_LIST)): The field is added once for every port. +## v28, implemented by >= 4.0 + +New value for encoding format type in format_info +PA_COMMAND_CREATE_(PLAYBACK|RECORDING)_STREAM and its reply, +In reply from PA_COMMAND_GET_(SOURCE|SOURCE_OUTPUT|SINK|SINK_INPUT)_INFO[_LIST], +SUBCOMMAND_SAVE_FORMATS, in reply from SUBCOMMAND_READ_FORMATS[_ALL] + + (uint8_t ) PA_ENCODING_MPEG2_AAC_IEC61937 := 6 + #### If you just changed the protocol, read this ## module-tunnel depends on the sink/source/sink-input/source-input protocol ## internals, so if you changed these, you might have broken module-tunnel. diff --git a/configure.ac b/configure.ac index b840b81..27d794e 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,7 @@ AC_SUBST(PA_MINOR, pa_minor) AC_SUBST(PA_MAJORMINOR, pa_major.pa_minor) AC_SUBST(PA_API_VERSION, 12) -AC_SUBST(PA_PROTOCOL_VERSION, 27) +AC_SUBST(PA_PROTOCOL_VERSION, 28) # The stable ABI for client applications, for the version info x:y:z # always will hold y=z -- 2.7.4