mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
media-session: start the midi bridge from the session
This commit is contained in:
parent
0a6ad1adec
commit
fb95e7660a
6 changed files with 41 additions and 10 deletions
|
|
@ -30,7 +30,7 @@ extern const struct spa_handle_factory spa_alsa_source_factory;
|
|||
extern const struct spa_handle_factory spa_alsa_sink_factory;
|
||||
extern const struct spa_handle_factory spa_alsa_udev_factory;
|
||||
extern const struct spa_handle_factory spa_alsa_device_factory;
|
||||
extern const struct spa_handle_factory spa_alsa_midi_source_factory;
|
||||
extern const struct spa_handle_factory spa_alsa_seq_bridge_factory;
|
||||
|
||||
SPA_EXPORT
|
||||
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
|
||||
|
|
@ -52,7 +52,7 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
*factory = &spa_alsa_device_factory;
|
||||
break;
|
||||
case 4:
|
||||
*factory = &spa_alsa_midi_source_factory;
|
||||
*factory = &spa_alsa_seq_bridge_factory;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue