ALSA: virtio: introduce PCM channel map support
[linux-2.6-microblaze.git] / sound / virtio / virtio_pcm.h
index efd0228..1353fdc 100644 (file)
@@ -63,10 +63,14 @@ struct virtio_pcm_substream {
  * struct virtio_pcm_stream - VirtIO PCM stream.
  * @substreams: VirtIO substreams belonging to the stream.
  * @nsubstreams: Number of substreams.
+ * @chmaps: Kernel channel maps belonging to the stream.
+ * @nchmaps: Number of channel maps.
  */
 struct virtio_pcm_stream {
        struct virtio_pcm_substream **substreams;
        u32 nsubstreams;
+       struct snd_pcm_chmap_elem *chmaps;
+       u32 nchmaps;
 };
 
 /**