aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-04-17 08:28:58 -0400
committerTakashi Iwai <tiwai@suse.de>2015-04-17 08:39:23 -0400
commit86f6501bf4c13e805e48497aaffab86ad7a98c44 (patch)
treebea57695e3d6666c99141bc86ae466a3044b5e4d /include/sound
parentc1cc18b1ca01530a40ace0c9ec48124ff1340125 (diff)
ALSA: hda - add generic functions to set hdac stream params
This will be used by hda controller driver to setup stream params in prepare. This function will setup the bdl and periods. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/hdaudio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h
index d05931fc6f28..6a2e030c836c 100644
--- a/include/sound/hdaudio.h
+++ b/include/sound/hdaudio.h
@@ -418,6 +418,8 @@ void snd_hdac_stream_release(struct hdac_stream *azx_dev);
418int snd_hdac_stream_setup(struct hdac_stream *azx_dev); 418int snd_hdac_stream_setup(struct hdac_stream *azx_dev);
419void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev); 419void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev);
420int snd_hdac_stream_setup_periods(struct hdac_stream *azx_dev); 420int snd_hdac_stream_setup_periods(struct hdac_stream *azx_dev);
421int snd_hdac_stream_set_params(struct hdac_stream *azx_dev,
422 unsigned int format_val);
421void snd_hdac_stream_start(struct hdac_stream *azx_dev, bool fresh_start); 423void snd_hdac_stream_start(struct hdac_stream *azx_dev, bool fresh_start);
422void snd_hdac_stream_clear(struct hdac_stream *azx_dev); 424void snd_hdac_stream_clear(struct hdac_stream *azx_dev);
423void snd_hdac_stream_stop(struct hdac_stream *azx_dev); 425void snd_hdac_stream_stop(struct hdac_stream *azx_dev);