Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157890
b: refs/heads/master
c: 2d4b842
h: refs/heads/master
v: v3
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Jul 15, 2009
1 parent 2646949 commit 40edab4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08d033405a5a537d4197dad0fcb6be47062be2a9
refs/heads/master: 2d4b842014dc76a81abced47ef27177eedb9deba
2 changes: 1 addition & 1 deletion trunk/sound/core/rawmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ static int open_substream(struct snd_rawmidi *rmidi,
return err;
substream->opened = 1;
if (substream->use_count++ == 0)
substream->active_sensing = 1;
substream->active_sensing = 0;
if (mode & SNDRV_RAWMIDI_LFLG_APPEND)
substream->append = 1;
rmidi->streams[substream->stream].substream_opened++;
Expand Down
1 change: 1 addition & 0 deletions trunk/sound/core/seq/seq_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ static int midisynth_use(void *private_data, struct snd_seq_port_subscribe *info
memset(&params, 0, sizeof(params));
params.avail_min = 1;
params.buffer_size = output_buffer_size;
params.no_active_sensing = 1;
if ((err = snd_rawmidi_output_params(msynth->output_rfile.output, &params)) < 0) {
snd_rawmidi_kernel_release(&msynth->output_rfile);
return err;
Expand Down

0 comments on commit 40edab4

Please sign in to comment.