summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Tsukada <atsukada@users.sourceforge.net>2013-02-25 01:01:05 +0900
committerTanu Kaskinen <tanuk@iki.fi>2013-03-13 12:56:37 +0200
commita3d1816f681729c60b0fd7c92eb8a36c79107f79 (patch)
tree81e155632335ba136df563a2b0561b3ae769b5d8
parentdc68fcb33f04e3b1420495a2c0a5e61b41e70d1b (diff)
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.
-rw-r--r--PROTOCOL9
-rw-r--r--configure.ac2
2 files changed, 10 insertions, 1 deletions
diff --git a/PROTOCOL b/PROTOCOL
index 01abeed5..185b91a2 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 b840b812..27d794e1 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