diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-03-04 20:25:29 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-03-04 17:49:42 +0100 |
commit | 862bca5d16c631d0a5d39a6f24857a5148970afb (patch) | |
tree | a7ab8f9be836e1700068716736310455f582d709 /sound/core | |
parent | 35383a24129a47a0b8365ed17d3dcd2f75175929 (diff) | |
download | linux-862bca5d16c631d0a5d39a6f24857a5148970afb.tar.bz2 |
ALSA: compress: Add SNDRV_PCM_STATE_PREPARED state explanation
Stream states were explained in the code comments but
SNDRV_PCM_STATE_PREPARED was missed so add it
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/compress_offload.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c index 9e7c2f0831d7..a5b213e4cd7b 100644 --- a/sound/core/compress_offload.c +++ b/sound/core/compress_offload.c @@ -74,6 +74,9 @@ struct snd_compr_file { * SNDRV_PCM_STATE_SETUP: When stream has been initialized. This is done by * calling SNDRV_COMPRESS_SET_PARAMS. running streams will come to this * state at stop by calling SNDRV_COMPRESS_STOP, or at end of drain. + * SNDRV_PCM_STATE_PREPARED: When a stream has been written to (for + * playback only). User after setting up stream writes the data buffer + * before starting the stream. * SNDRV_PCM_STATE_RUNNING: When stream has been started and is * decoding/encoding and rendering/capturing data. * SNDRV_PCM_STATE_DRAINING: When stream is draining current data. This is done |