]> code.delx.au - pulseaudio/commitdiff
Bump the native protocol version
authorAkihiro Tsukada <atsukada@users.sourceforge.net>
Sun, 24 Feb 2013 16:01:05 +0000 (01:01 +0900)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 13 Mar 2013 10:56:37 +0000 (12:56 +0200)
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
configure.ac

index 01abeed518090d713561ecd40c842af5a0f0c1ce..185b91a235ea18997ff3dd193a06924f48ac476d 100644 (file)
--- 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.
index b840b8121091acf430feeafe93f5c7d0754b64e4..27d794e11bd35e5a072af0334d81bad2253749ed 100644 (file)
@@ -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