[alsa-devel] [PATCH 3/3] ascenario: Catchup with function declaration changes.
Stefan Schmidt
stefan at datenfreihafen.org
Tue Oct 6 17:54:31 CEST 2009
From: Stefan Schmidt <stefan at slimlogic.co.uk>
This is just enough to compile ascenario.c with last changes to the
declarations.
Signed-off-by: Stefan Schmidt <stefan at slimlogic.co.uk>
---
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
More information about the Alsa-devel
mailing list