aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-10-13 09:30:02 +0200
committerTakashi Iwai <tiwai@suse.de>2009-10-13 09:30:02 +0200
commitfe216c1dac31f8f67e592ede5a07bf5111a3727e (patch)
treeef5ed915d82333ca0ef0d5874ec79d37fd407894
parentf8b93ec02c24671ef04d6b48673f8d6312030fdf (diff)
downloadsalsa-lib-fe216c1dac31f8f67e592ede5a07bf5111a3727e.tar.gz
Fixed build errors
-rw-r--r--src/control.c1
-rw-r--r--src/rawmidi.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/control.c b/src/control.c
index 5664618..d0a68b2 100644
--- a/src/control.c
+++ b/src/control.c
@@ -403,6 +403,7 @@ int snd_tlv_convert_to_dB(unsigned int *tlv, long rangemin, long rangemax,
(rangemax - rangemin) + mindb;
return 0;
}
+ }
return -EINVAL;
}
diff --git a/src/rawmidi.c b/src/rawmidi.c
index 515c45b..b3e67c3 100644
--- a/src/rawmidi.c
+++ b/src/rawmidi.c
@@ -82,7 +82,7 @@ static snd_rawmidi_t *new_rmidi(snd_rawmidi_hw_t *hw, int stream, int mode)
rmidi->params.buffer_size = 4096;
rmidi->params.avail_min = 1;
- rmidi->no_active_sending = 1;
+ rmidi->params.no_active_sensing = 1;
snd_rawmidi_params(rmidi, &rmidi->params);
return rmidi;