Commit ad1d574d authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

ALSA sequencer
don't fake the sender address in messages forwarded by snd-seq-dummy to prevent confusing other clients (e.g. snd-seq-oss)
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 33ae6fc2
......@@ -124,14 +124,7 @@ dummy_input(snd_seq_event_t *ev, int direct, void *private_data, int atomic, int
if (ev->source.client == SNDRV_SEQ_CLIENT_SYSTEM ||
ev->type == SNDRV_SEQ_EVENT_KERNEL_ERROR)
return 0; /* ignore system messages */
/* save the original sender */
tmpev.type = SNDRV_SEQ_EVENT_KERNEL_QUOTE;
tmpev.flags = (ev->flags & ~SNDRV_SEQ_EVENT_LENGTH_MASK)
| SNDRV_SEQ_EVENT_LENGTH_FIXED;
tmpev.tag = ev->tag;
tmpev.time = ev->time;
tmpev.data.quote.origin = ev->source;
tmpev.data.quote.event = ev;
tmpev = *ev;
if (p->duplex)
tmpev.source.port = p->connect;
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment