mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-28 05:40:21 -04:00
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.
This commit is contained in:
parent
dc68fcb33f
commit
a3d1816f68
2 changed files with 10 additions and 1 deletions
9
PROTOCOL
9
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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue