[pulseaudio-discuss] [PATCH] update protocol version by the new value in format_info
atsukada at users.sourceforge.net
atsukada at users.sourceforge.net
Sun Feb 24 08:01:05 PST 2013
From: Akihiro Tsukada <atsukada at users.sourceforge.net>
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_t,
but forgot to increase the protocol version number.
---
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 6d340fd..89d7ee3 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
--
1.8.1.2
More information about the pulseaudio-discuss
mailing list