Skip to content

[APP BUG] [FRONTEND-SDL] [PIPEWIRE] Only input devices (like mic) are listed and selectable; and wrong app name ('SDL app' instead of ProjectM-SDL) #100

Open
@actionless

Description

@actionless

Please confirm the following points:

  • This report is NOT about the Android apps in the Play Store
  • I have searched the project page to check if the issue was already reported

Affected Application

projectM Standalone SDL2 Frontend (includes the Steam app)

Affected Version

git master

Operating System

Linux (Desktop)

Additional Application Details

and also wrong app name ('SDL app' instead of ProjectM-SDL)

Type of Defect

Misc

Log Output

$ projectMSDL -l
Events enabled: 1
Recording audio from device "Onyx Blackjack Analog Stereo" (ID 0).
Available audio capturing devices:
    -1 = Default capturing device
    0 = Onyx Blackjack Analog Stereo

$ pw-link -l -i -o | grep -i  -C 3  -e sdl
...
  |-> SDL Application:input_FL
...
  |-> SDL Application:input_FR

Describe the Issue

Previous versions were listing all devices, including monitors

The current workaround:

#!/bin/sh

record_from_interface=easyeffects_sink:monitor
record_wrong_interface=alsa_input.usb-Loud_Technologies_Inc._Onyx_Blackjack-00.analog-stereo:capture
listen_on_interface="SDL Application:input"

projectMSDL \
	-p/usr/share/projectM/presets/ \
	--shuffleEnabled=0 \
	--enableSplash=0 \
	--width=1920 \
	--height=1080 \
	--fps=30 \
	--beatSensitivity=0.72 \
	--fullscreenWidth=1920 \
	--fullscreenHeight=1080 \
	"$@" &
pid=$!

sleep 2
for channel in FL FR ; do
	record_from_channel="${record_from_interface}_${channel}"
	listen_on_channel="${listen_on_interface}_${channel}"
	record_wrong_channel="${record_wrong_interface}_${channel}"
	pw-link "$record_from_channel" "$listen_on_channel"
	pw-link --disconnect "$record_wrong_channel" "$listen_on_channel"
done


wait $pid
for channel in FL FR ; do
	record_from_channel="${record_from_interface}_${channel}"
	listen_on_channel="${listen_on_interface}_${channel}"
	pw-link --disconnect "$record_from_channel" "$listen_on_channel"
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions