Skip to content

ALSA devices : struct input_port/output_port are differents from observer's added/removed #156

@obook

Description

@obook

Hello.

The device name is not removed then unpluged (USB) in example/gui.

Image

41  if (auto it = input_items.find(p); it != input_items.end())  // Failed, device not found

53  if (auto it = output_items.find(p); it != output_items.end()) // Failed, device not found

With some debug messages :

input_added device_name=[Arturia KeyLab Essential 61] display_name=[Arturia KeyLab Essential 61 MID]
input_added device_name=[Arturia KeyLab Essential 61] display_name=[Arturia KeyLab Essential 61 DAW]
input_removed NOT FOUND device_name=[Arturia KeyLab Essential 61] display_name=[Arturia KeyLab Essential 61 MID]
input_removed NOT FOUND device_name=[Arturia KeyLab Essential 61] display_name=[Arturia KeyLab Essential 61 DAW] 

Thank you for your help.
Regards.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions