[PATCH 3/3] ascenario: Catchup with function declaration changes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Stefan Schmidt <stefan@xxxxxxxxxxxxxxx>

This is just enough to compile ascenario.c with last changes to the
declarations.

Signed-off-by: Stefan Schmidt <stefan@xxxxxxxxxxxxxxx>
---
 src/ascenario.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/ascenario.c b/src/ascenario.c
index 157207a..ce0a795 100644
--- a/src/ascenario.c
+++ b/src/ascenario.c
@@ -1034,9 +1034,10 @@ int snd_scenario_reload(snd_scenario_t *scn)
 	return 0;
 }
 
-void snd_scenario_close(snd_scenario_t *scn)
+int snd_scenario_close(snd_scenario_t *scn)
 {
 	free_scn(scn);
+	return 0;
 }
 
 static int set_control(snd_ctl_t *handle, snd_ctl_elem_id_t *id,
@@ -1241,7 +1242,7 @@ close:
 	return ret;
 }
 
-int snd_scenario_dump(const char *card_name)
+int snd_scenario_dump(snd_output_t *output, const char *card_name)
 {
 	snd_ctl_t *handle;
 	snd_ctl_card_info_t *info;
@@ -1321,6 +1322,8 @@ const char *snd_scenario_get_scn(snd_scenario_t *scn)
 
 int snd_scenario_set_integer(snd_scenario_t *scn, int type, int value)
 {
+	int qos;
+
 	switch (type) {
 	case SND_SCN_INT_QOS:
 		scn->scenario[scn->current_scenario].qos = qos;
-- 
1.6.4.3

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux