Skip to content

Commit d880626

Browse files
committed
Do not connect monitor ports to system playback for pablito
Signed-off-by: falkTX <[email protected]>
1 parent 1e32291 commit d880626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/monitor/monitor-client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,13 +513,13 @@ int jack_initialize(jack_client_t* client, const char* load_init)
513513

514514
const char* const ourclientname = jack_get_client_name(client);
515515

516-
#ifdef _MOD_DEVICE_DWARF
516+
#if defined(_MOD_DEVICE_DWARF)
517517
snprintf(ourportname, MAX_CHAR_BUF_SIZE, "%s:out_2", ourclientname);
518518
jack_connect(client, ourportname, "system:playback_1");
519519

520520
snprintf(ourportname, MAX_CHAR_BUF_SIZE, "%s:out_1", ourclientname);
521521
jack_connect(client, ourportname, "system:playback_2");
522-
#else
522+
#elif !defined(_DARKGLASS_DEVICE_PABLITO)
523523
for (uint32_t i=0; i<numports; ++i)
524524
{
525525
snprintf(ourportname, MAX_CHAR_BUF_SIZE, "%s:out_%d", ourclientname, i + 1);

0 commit comments

Comments
 (0)