linux/Documentation/sound/designs
Srinivas Kandagatla 7ea9ee0064 ALSA: compress: allow setting codec params after next track
For gapless playback it is possible that each track can have different
codec profile with same decoder, for example we have WMA album,
we may have different tracks as WMA v9, WMA v10 and so on

Or if DSP's like QDSP have abililty to switch decoders on single stream
for each track, then this call could be used to set new codec parameters.

Existing code does not allow to change this profile while doing gapless
playback.

Reuse existing SNDRV_COMPRESS_SET_PARAMS to set this new track params along
some additional checks to enforce proper state machine.

With this new changes now the user can call SNDRV_COMPRESS_SET_PARAMS
anytime after setting next track and additional check in write should
also ensure that params are set before writing new data.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20230619092805.21649-1-srinivas.kandagatla@linaro.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-06-21 07:28:31 +02:00
..
channel-mapping-api.rst ALSA: doc: ReSTize Channel-Mapping-API document 2016-11-10 18:09:25 +01:00
compress-offload.rst ALSA: compress: allow setting codec params after next track 2023-06-21 07:28:31 +02:00
control-names.rst Documentation: sound: fix typo in control-names.rst 2022-03-02 09:42:26 +01:00
index.rst ALSA: docs: Add MIDI 2.0 documentation 2023-05-23 12:11:40 +02:00
jack-controls.rst Documentation: sound: correct spelling 2023-01-29 09:23:45 +01:00
jack-injection.rst ALSA: jack: implement software jack injection via debugfs 2021-02-02 10:37:07 +01:00
midi-2.0.rst ALSA: docs: Update MIDI 2.0 documentation for UMP 1.1 enhancement 2023-06-12 18:22:35 +02:00
oss-emulation.rst ALSA: doc: ReSTize OSS-Emulation document 2016-11-10 18:09:26 +01:00
powersave.rst
procfile.rst ALSA: doc: use correct config variable name 2020-08-01 11:34:02 +02:00
seq-oss.rst Documentation: sound: correct spelling 2023-01-29 09:23:45 +01:00
timestamping.rst ALSA: hda: use consistent HDAudio spelling in comments/docs 2020-09-02 19:31:32 +02:00
tracepoints.rst docs: get rid of :c:type explicit declarations for structs 2020-10-15 07:49:40 +02:00