doc/protocol.rst: add references to audio_output_format

This commit is contained in:
Max Kellermann 2019-05-13 22:46:23 +02:00
parent fb07a7cecc
commit f0d3227d7b
1 changed files with 6 additions and 3 deletions

View File

@ -178,8 +178,9 @@ of:
file's time stamp with the given value (ISO 8601 or UNIX file's time stamp with the given value (ISO 8601 or UNIX
time stamp). time stamp).
- ``(AudioFormat == 'SAMPLERATE:BITS:CHANNELS')``: - ``(AudioFormat == 'SAMPLERATE:BITS:CHANNELS')``: compares the audio
compares the audio format with the given value. format with the given value. See :ref:`audio_output_format` for a
detailed explanation.
- ``(AudioFormat =~ 'SAMPLERATE:BITS:CHANNELS')``: - ``(AudioFormat =~ 'SAMPLERATE:BITS:CHANNELS')``:
matches the audio format with the given mask (i.e. one matches the audio format with the given mask (i.e. one
@ -423,7 +424,9 @@ Querying :program:`MPD`'s status
- ``xfade``: ``crossfade`` in seconds - ``xfade``: ``crossfade`` in seconds
- ``mixrampdb``: ``mixramp`` threshold in dB - ``mixrampdb``: ``mixramp`` threshold in dB
- ``mixrampdelay``: ``mixrampdelay`` in seconds - ``mixrampdelay``: ``mixrampdelay`` in seconds
- ``audio``: The format emitted by the decoder plugin during playback, format: ``*samplerate:bits:channels*``. Check the user manual for a detailed explanation. - ``audio``: The format emitted by the decoder plugin during
playback, format: ``samplerate:bits:channels``. See
:ref:`audio_output_format` for a detailed explanation.
- ``updating_db``: ``job id`` - ``updating_db``: ``job id``
- ``error``: if there is an error, returns message here - ``error``: if there is an error, returns message here