out_input must be filled by the consumer node. Fixes a bug when getting a wrong connection info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5579 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
37e1ff91ea
commit
bde7e6208e
@ -340,6 +340,9 @@ AudioMixer::Connected(const media_source &producer, const media_destination &whe
|
||||
// if the input has no name, assign one
|
||||
if (strlen(out_input->name) == 0)
|
||||
sprintf(out_input->name, "Input %ld", out_input->destination.id);
|
||||
out_input->node = Node();
|
||||
out_input->source = producer;
|
||||
out_input->format = with_format;
|
||||
|
||||
// add a new input to the mixer engine
|
||||
MixerInput *input;
|
||||
|
Loading…
Reference in New Issue
Block a user