LADI
/
spa
1
Fork 0

module-jack: make stream ports physical

Just like the ports we connect to.
This commit is contained in:
Wim Taymans 2023-05-10 18:00:44 +02:00
parent 36fdceef71
commit 4353f9eb75
1 changed files with 2 additions and 0 deletions

View File

@ -463,6 +463,7 @@ static void make_stream_ports(struct stream *s)
props = pw_properties_new(
PW_KEY_FORMAT_DSP, "32 bit float mono audio",
PW_KEY_AUDIO_CHANNEL, str ? str : "UNK",
PW_KEY_PORT_PHYSICAL, "true",
PW_KEY_PORT_NAME, name,
NULL);
@ -474,6 +475,7 @@ static void make_stream_ports(struct stream *s)
props = pw_properties_new(
PW_KEY_FORMAT_DSP, "8 bit raw midi",
PW_KEY_PORT_NAME, name,
PW_KEY_PORT_PHYSICAL, "true",
NULL);
type = JACK_DEFAULT_MIDI_TYPE;