summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2003-07-29 17:05:31 +0000
committerTakashi Iwai <tiwai@suse.de>2003-07-29 17:05:31 +0000
commit118bf89508966ec8592d468db226524efb975321 (patch)
treeb12bd84a7849b3ba45e7299d49a3ea89de8a894e /src/seq
parentadbc93f1a413128b59bd1f6037098c56489a07cf (diff)
added const modifier to some function arguments
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq_midi_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seq/seq_midi_event.c b/src/seq/seq_midi_event.c
index 4338849b..b9ee541e 100644
--- a/src/seq/seq_midi_event.c
+++ b/src/seq/seq_midi_event.c
@@ -270,7 +270,7 @@ int snd_midi_event_resize_buffer(snd_midi_event_t *dev, size_t bufsize)
* If complete sequencer event is available, ev->type is not
* equal to #SND_SEQ_EVENT_NONE.
*/
-long snd_midi_event_encode(snd_midi_event_t *dev, unsigned char *buf, long count, snd_seq_event_t *ev)
+long snd_midi_event_encode(snd_midi_event_t *dev, const unsigned char *buf, long count, snd_seq_event_t *ev)
{
long result = 0;
int rc;
@@ -411,7 +411,7 @@ static void songpos_event(snd_midi_event_t *dev, snd_seq_event_t *ev)
*
* Decode sequencer event to MIDI byte stream.
*/
-long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, snd_seq_event_t *ev)
+long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, const snd_seq_event_t *ev)
{
int cmd;
long qlen;