]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
ctl: query: fulfil comment about GError
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 17 Nov 2020 06:44:48 +0000 (15:44 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 17 Nov 2020 06:44:48 +0000 (15:44 +0900)
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/query.c

index 3cf99c901bb94c9304ddd52a04ca1644e7be9b7b..3fc00837b10b2c38357621220cade436f280dc84 100644 (file)
@@ -109,7 +109,7 @@ static int compare_guint(const void *l, const void *r)
  * @entries: (array length=entry_count)(out): The list of numerical ID for sound
  *           cards.
  * @entry_count: The number of entries.
- * @error: A #GError.
+ * @error: A #GError. Error is generated with domain of #g_file_error_quark().
  *
  * Get the list of numerical ID for available sound cards.
  *
@@ -225,7 +225,7 @@ static bool check_existence(char *sysname, GError **error)
  * alsactl_get_card_sysname:
  * @card_id: The numeridcal ID of sound card.
  * @sysname: (out): The string for sysname of the sound card.
- * @error: A #GError.
+ * @error: A #GError. Error is generated with domain of #g_file_error_quark().
  *
  * Allocate sysname for the sound card and return it when it exists.
  *
@@ -254,7 +254,7 @@ void alsactl_get_card_sysname(guint card_id, char **sysname, GError **error)
  * alsactl_get_control_sysname:
  * @card_id: The numeridcal ID of sound card.
  * @sysname: (out): The string for sysname of control device for the sound card.
- * @error: A #GError.
+ * @error: A #GError. Error is generated with domain of #g_file_error_quark().
  *
  * Allocate sysname of control device for the sound card and return it when
  * it exists.
@@ -284,7 +284,7 @@ void alsactl_get_control_sysname(guint card_id, char **sysname, GError **error)
  * alsactl_get_control_devnode:
  * @card_id: The numerical ID of sound card.
  * @devnode: (out): The string for devnode of control device for the sound card.
- * @error: A #GError.
+ * @error: A #GError. Error is generated with domain of #g_file_error_quark().
  *
  * Allocate string of devnode for control device of the sound card and return it
  * if exists.