]> code.delx.au - pulseaudio/blobdiff - src/modules/alsa/alsa-util.h
alsa: Use card description in default sink/source prefix when available
[pulseaudio] / src / modules / alsa / alsa-util.h
index 0520b6b79d266c56aee86d1d95680be3b6a5cf4c..bb2ad4e9a2c70ce9ba14df15ef78f6b3820f54b8 100644 (file)
@@ -41,8 +41,8 @@ int pa_alsa_set_hw_params(
         snd_pcm_uframes_t *period_size,    /* modified at return */
         snd_pcm_uframes_t *buffer_size,    /* modified at return */
         snd_pcm_uframes_t tsched_size,
-        bool *use_mmap,               /* modified at return */
-        bool *use_tsched,             /* modified at return */
+        bool *use_mmap,                    /* modified at return */
+        bool *use_tsched,                  /* modified at return */
         bool require_exact_channel_number);
 
 int pa_alsa_set_sw_params(
@@ -60,8 +60,8 @@ snd_pcm_t *pa_alsa_open_by_device_id_auto(
         snd_pcm_uframes_t *period_size,   /* modified at return */
         snd_pcm_uframes_t *buffer_size,   /* modified at return */
         snd_pcm_uframes_t tsched_size,
-        bool *use_mmap,              /* modified at return */
-        bool *use_tsched,            /* modified at return */
+        bool *use_mmap,                   /* modified at return */
+        bool *use_tsched,                 /* modified at return */
         pa_alsa_profile_set *ps,
         pa_alsa_mapping **mapping);       /* modified at return */
 
@@ -75,8 +75,8 @@ snd_pcm_t *pa_alsa_open_by_device_id_mapping(
         snd_pcm_uframes_t *period_size,   /* modified at return */
         snd_pcm_uframes_t *buffer_size,   /* modified at return */
         snd_pcm_uframes_t tsched_size,
-        bool *use_mmap,              /* modified at return */
-        bool *use_tsched,            /* modified at return */
+        bool *use_mmap,                   /* modified at return */
+        bool *use_tsched,                 /* modified at return */
         pa_alsa_mapping *mapping);
 
 /* Opens the explicit ALSA device */
@@ -89,8 +89,8 @@ snd_pcm_t *pa_alsa_open_by_device_string(
         snd_pcm_uframes_t *period_size,   /* modified at return */
         snd_pcm_uframes_t *buffer_size,   /* modified at return */
         snd_pcm_uframes_t tsched_size,
-        bool *use_mmap,              /* modified at return */
-        bool *use_tsched,            /* modified at return */
+        bool *use_mmap,                   /* modified at return */
+        bool *use_tsched,                 /* modified at return */
         bool require_exact_channel_number);
 
 /* Opens the explicit ALSA device with a fallback list */
@@ -104,8 +104,8 @@ snd_pcm_t *pa_alsa_open_by_template(
         snd_pcm_uframes_t *period_size,   /* modified at return */
         snd_pcm_uframes_t *buffer_size,   /* modified at return */
         snd_pcm_uframes_t tsched_size,
-        bool *use_mmap,              /* modified at return */
-        bool *use_tsched,            /* modified at return */
+        bool *use_mmap,                   /* modified at return */
+        bool *use_tsched,                 /* modified at return */
         bool require_exact_channel_number);
 
 void pa_alsa_dump(pa_log_level_t level, snd_pcm_t *pcm);
@@ -118,7 +118,7 @@ void pa_alsa_init_proplist_pcm_info(pa_core *c, pa_proplist *p, snd_pcm_info_t *
 void pa_alsa_init_proplist_card(pa_core *c, pa_proplist *p, int card);
 void pa_alsa_init_proplist_pcm(pa_core *c, pa_proplist *p, snd_pcm_t *pcm);
 void pa_alsa_init_proplist_ctl(pa_proplist *p, const char *name);
-bool pa_alsa_init_description(pa_proplist *p);
+bool pa_alsa_init_description(pa_proplist *p, pa_card *card);
 
 int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents);