Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361337
b: refs/heads/master
c: 57220bc
h: refs/heads/master
i:
  361335: f705246
v: v3
  • Loading branch information
Dan Carpenter authored and Takashi Iwai committed Mar 15, 2013
1 parent 2d5b325 commit d23877b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b714a7106ba5423c418c25e6231116560f8a9ef8
refs/heads/master: 57220bc1f5924c869d8fc049e50169915ca0cb24
6 changes: 6 additions & 0 deletions trunk/sound/oss/sequencer.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,9 @@ static void seq_chn_common_event(unsigned char *event_rec)
case MIDI_PGM_CHANGE:
if (seq_mode == SEQ_2)
{
if (chn > 15)
break;

synth_devs[dev]->chn_info[chn].pgm_num = p1;
if ((int) dev >= num_synths)
synth_devs[dev]->set_instr(dev, chn, p1);
Expand Down Expand Up @@ -596,6 +599,9 @@ static void seq_chn_common_event(unsigned char *event_rec)
case MIDI_PITCH_BEND:
if (seq_mode == SEQ_2)
{
if (chn > 15)
break;

synth_devs[dev]->chn_info[chn].bender_value = w14;

if ((int) dev < num_synths)
Expand Down

0 comments on commit d23877b

Please sign in to comment.