Audio4Linux / JDSP4Linux

An audio effect processor for PipeWire and PulseAudio clients
GNU General Public License v3.0
945 stars 35 forks source link

Sound doesn't respond to volume slider change #127

Closed mariachini closed 1 year ago

mariachini commented 1 year ago

I noticed a rather strange thing - if you turn on JamesDSP, any change in the volume slider does not affect the actual volume of the device. In the case below, I change the voice volume slider for the entire system. But a similar situation occurs, for example, when playing songs - no matter how many times I change the volume, even setting 0% volume on the system causes the music to play at 100%.

Previously, there were no such problems.

System information:

[mario@lapek ~]$ wpctl status
PipeWire 'pipewire-0' [0.3.71, mario@lapek, cookie:2146395224]
 └─ Clients:
        33. WirePlumber                         [0.3.71, mario@lapek, pid:1244]
        34. WirePlumber [export]                [0.3.71, mario@lapek, pid:1244]
        40. pipewire                            [0.3.71, mario@lapek, pid:1272]
        62. libcanberra                         [0.3.71, mario@lapek, pid:1013]
        71. Plazma - PA                         [0.3.71, mario@lapek, pid:1013]
        72. WEBRTC VoiceEngine                  [0.3.71, mario@lapek, pid:1446]
       104. wpctl                               [0.3.71, mario@lapek, pid:3020]
       123. jamesdsp                            [0.3.71, mario@lapek, pid:2991]

Audio
 ├─ Devices:
 │      44. Renoir Radeon High Definition Audio Controller [alsa]
 │      45. Family 17h/19h HD Audio Controller  [alsa]
 │  
 ├─ Sinks:
 │      54. Family 17h/19h HD Audio Controller Analogowe stereo [vol: 1.00]
 │  *   95. JamesDSP Sink                       [vol: 1.00]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   55. Family 17h/19h HD Audio Controller Analogowe stereo [vol: 1.00]
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │      41. Integrated Camera: Integrated C     [libcamera]
 │      42. Integrated Camera                   [v4l2]
 │      43. Integrated Camera                   [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │      46. Wbudowana przednia kamera          
 │  *   48. Integrated Camera (V4L2)           
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink    jamesdsp_sink
[mario@lapek ~]$     pactl list | grep -A2 'Sink #' | grep 'Name: ' | cut -d" " -f2
alsa_output.pci-0000_05_00.6.analog-stereo
jamesdsp_sink
[mario@lapek ~]$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 2880
Tile Size: 65472
User Name: mario
Host Name: lapek
Server Name: PulseAudio (on PipeWire 0.3.71)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: jamesdsp_sink
Default Source: alsa_input.pci-0000_05_00.6.analog-stereo
Cookie: 7fef:6458

Log:

[mario@lapek ~]$ jamesdsp
[17:31:52.178] [INF] main::main: Application version: 2.5.1-9-geb32a74 (Pipewire flavor)
[17:31:52.178] [INF] main::main: Qt library version: 5.15.10
[17:31:52.178] [INF] main::main: Using language: pl_PL
[17:31:52.178] [DBG] main::main: Launched by system session manager: no
[17:31:52.179] [INF] SingleInstanceMonitor::isServiceReady: Service registration successful
[17:31:52.284] [INF] MainWindow::MainWindow$ctor: ============ Initializing audio service ============
[17:31:52.284] [INF] MainWindow::MainWindow$ctor: Compiled with PipeWire support.
[17:31:52.284] [INF] MainWindow::MainWindow$ctor: This application flavor does not support PulseAudio.
[17:31:52.284] [INF] MainWindow::MainWindow$ctor: If you want to use this application with PulseAudio, you need to recompile this app with proper support enabled.
[17:31:52.284] [INF] MainWindow::MainWindow$ctor: Refer to the README for more detailed information.
[17:31:52.284] [INF] MainWindow::MainWindow$ctor: 
[17:31:52.284] [DBG] MainWindow::MainWindow$ctor: Blocklisted apps: 
[17:31:52.284] [DBG] MainWindow::MainWindow$ctor: Blocklist mode: block
[17:31:52.285] [DBG] PwPipelineManager::PwPipelineManager$ctor: compiled with PipeWire: 0.3.71
[17:31:52.285] [DBG] PwPipelineManager::PwPipelineManager$ctor: linked to PipeWire: 0.3.71
[17:31:52.294] [DBG] PwPipelineManager::on_core_info: core version: 0.3.71
[17:31:52.294] [DBG] PwPipelineManager::on_core_info: core name: pipewire-0
[17:31:52.294] [DBG] PwPipelineManager::on_registry_global: found metadata: settings
[17:31:52.294] [DBG] PwPipelineManager::on_registry_global: found metadata: default
[17:31:52.294] [DBG] PwPipelineManager::on_registry_global: found metadata: route-settings
[17:31:52.295] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 54 alsa_output.pci-0000_05_00.6.analog-stereo with serial 54 has been added
[17:31:52.295] [DBG] PwPipelineManager::on_registry_global: Audio/Source 55 alsa_input.pci-0000_05_00.6.analog-stereo with serial 55 has been added
[17:31:52.295] [DBG] PwPipelineManager::on_registry_global: Audio/Sink 95 jamesdsp_sink with serial 2903 has been added
[17:31:52.296] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "jamesdsp_sink" }
[17:31:52.296] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_05_00.6.analog-stereo"}
[17:31:52.296] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.pci-0000_05_00.6.analog-stereo"}
[17:31:52.296] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_05_00.3-usb-0_3_1.0"}
[17:31:52.296] [DBG] PwPipelineManager::PwPipelineManager$ctor: jamesdsp_sink node successfully retrieved with id 95 and serial 2903
[17:31:52.302] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"jamesdsp_sink"}
[17:31:52.337] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[17:31:52.646] [INF] MainWindow::MainWindow$ctor: ============ Initializing user interface ============
[17:31:52.659] [DBG] DspHost::update: Config update started
[17:31:52.659] [DBG] DspHost::update: Property changed: bass_enable -> QVariant(bool, false) 
[17:31:52.659] [DBG] DspHost::update: Property changed: bass_maxgain -> QVariant(QString, "5") 
[17:31:52.659] [DBG] DspHost::update: Property changed: compression_aggressiveness -> QVariant(QString, "800") 
[17:31:52.659] [DBG] DspHost::update: Property changed: compression_enable -> QVariant(bool, false) 
[17:31:52.659] [DBG] DspHost::update: Property changed: compression_maxatk -> QVariant(QString, "30") 
[17:31:52.659] [DBG] DspHost::update: Property changed: compression_maxrel -> QVariant(QString, "200") 
[17:31:52.659] [DBG] DspHost::update: Property changed: convolver_enable -> QVariant(bool, false) 
[17:31:52.659] [DBG] DspHost::update: Property changed: convolver_file -> QVariant(QString, "") 
[17:31:52.659] [DBG] DspHost::update: Property changed: convolver_optimization_mode -> QVariant(QString, "0") 
[17:31:52.659] [DBG] DspHost::update: Property changed: convolver_waveform_edit -> QVariant(QString, "-80;-100;0;0;0;0") 
[17:31:52.660] [DBG] DspHost::update: Property changed: crossfeed_bs2b_fcut -> QVariant(QString, "700") 
[17:31:52.660] [DBG] DspHost::update: Property changed: crossfeed_bs2b_feed -> QVariant(QString, "60") 
[17:31:52.660] [DBG] DspHost::update: Property changed: crossfeed_enable -> QVariant(bool, false) 
[17:31:52.660] [DBG] DspHost::update: Property changed: crossfeed_mode -> QVariant(QString, "0") 
[17:31:52.660] [DBG] DspHost::update: Property changed: ddc_enable -> QVariant(bool, false) 
[17:31:52.660] [DBG] DspHost::update: Property changed: ddc_file -> QVariant(QString, "") 
[17:31:52.660] [DBG] DspHost::update: Property changed: graphiceq_enable -> QVariant(bool, false) 
[17:31:52.660] [DBG] DspHost::update: Property changed: graphiceq_param -> QVariant(QString, "GraphicEQ: 25 0; 40 0; 63 0; 100 0; 160 0; 250 0; 400 0; 630 0; 1000 0; 1600 0; 2500 0; 4000 0; 6300 0; 10000 0; 16000 0") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_bassboost -> QVariant(QString, "0.25000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_decay -> QVariant(QString, "2.09000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_delay -> QVariant(QString, "0.00000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_enable -> QVariant(bool, false) 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_finaldry -> QVariant(QString, "-7.00000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_finalwet -> QVariant(QString, "-9.00000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_lfo_spin -> QVariant(QString, "0.70000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_lfo_wander -> QVariant(QString, "0.30000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_lpf_bass -> QVariant(QString, "600") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_lpf_damp -> QVariant(QString, "9000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_lpf_input -> QVariant(QString, "18000") 
[17:31:52.660] [DBG] DspHost::update: Property changed: reverb_lpf_output -> QVariant(QString, "17000") 
[17:31:52.661] [DBG] DspHost::update: Property changed: reverb_osf -> QVariant(QString, "1") 
[17:31:52.661] [DBG] DspHost::update: Property changed: reverb_reflection_amount -> QVariant(QString, "0.30000") 
[17:31:52.661] [DBG] DspHost::update: Property changed: reverb_reflection_factor -> QVariant(QString, "1.00000") 
[17:31:52.661] [DBG] DspHost::update: Property changed: reverb_reflection_width -> QVariant(QString, "0.70000") 
[17:31:52.661] [DBG] DspHost::update: Property changed: reverb_wet -> QVariant(QString, "-8.00000") 
[17:31:52.661] [DBG] DspHost::update: Property changed: reverb_width -> QVariant(QString, "1.00000") 
[17:31:52.661] [DBG] DspHost::update: Property changed: liveprog_enable -> QVariant(bool, false) 
[17:31:52.661] [DBG] DspHost::update: Property changed: liveprog_file -> QVariant(QString, "") 
[17:31:52.661] [DBG] DspHost::update: Property changed: master_enable -> QVariant(bool, true) 
[17:31:52.661] [DBG] DspHost::update: Property changed: master_limrelease -> QVariant(QString, "60") 
[17:31:52.661] [DBG] DspHost::update: Property changed: master_limthreshold -> QVariant(QString, "0") 
[17:31:52.661] [DBG] DspHost::update: Property changed: master_postgain -> QVariant(QString, "0") 
[17:31:52.661] [DBG] DspHost::update: Property changed: stereowide_enable -> QVariant(bool, false) 
[17:31:52.661] [DBG] DspHost::update: Property changed: stereowide_level -> QVariant(QString, "60") 
[17:31:52.661] [DBG] DspHost::update: Property changed: tone_enable -> QVariant(bool, true) 
[17:31:52.661] [DBG] DspHost::update: Property changed: tone_eq -> QVariant(QString, "25.0;40.0;63.0;100.0;160.0;250.0;400.0;630.0;1000.0;1600.0;2500.0;4000.0;6300.0;10000.0;16000.0;3.5;5.5;6.5;9.5;8;6.5;3.5;2.5;1.3;5;7;9;10;11;9") 
[17:31:52.664] [DBG] DspHost::update: Property changed: tone_filtertype -> QVariant(QString, "0") 
[17:31:52.666] [DBG] DspHost::update: Property changed: tone_interpolation -> QVariant(QString, "0") 
[17:31:52.668] [DBG] DspHost::update: Property changed: tube_enable -> QVariant(bool, false) 
[17:31:52.668] [DBG] DspHost::update: Property changed: tube_pregain -> QVariant(QString, "200") 
[17:31:52.668] [ERR] DspHost::updateConvolver: Impulse response is empty. Disabling convolver.
[17:31:52.668] [WRN] DspHost::updateConvolver: Unable to read impulse response. No file selected or abnormal channel count?
[17:31:52.668] [WRN] DspHost::reloadLiveprog: Referenced file does not exist anymore. Disabling liveprog.
QFSFileEngine::open: No file name specified
[17:31:52.668] [ERR] DspHost::reloadLiveprog: Cannot open file path. Disabling liveprog.
QIODevice::read (QFile, ""): device not open
[17:31:52.669] [WRN] DspHost::reloadLiveprog: @init section not found
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
[17:31:53.016] [DBG] AssetManager::extractGroup: 5 assets extracted (type 0)
[17:31:53.019] [DBG] AssetManager::extractGroup: 3 assets extracted (type 1)
[17:31:53.451] [INF] MainWindow::MainWindow$ctor: UI initialized
[17:31:53.569] [DBG] FilterContainer::FilterContainer$ctor::<lambda>: Target output device added: alsa_output.pci-0000_05_00.6.analog-stereo
[17:31:53.569] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[17:31:53.573] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[17:31:53.575] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: new default output device: alsa_output.pci-0000_05_00.6.analog-stereo
[17:31:53.575] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[17:31:53.579] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[17:31:53.580] [DBG] PipewireAudioService::PipewireAudioService$ctor::<lambda>: device alsa_card.pci-0000_05_00.6 has changed its output route to: analog-output-speaker
[17:31:57.818] [DBG] PwPipelineManager::on_registry_global: Stream/Input/Audio 52 Plazma - PA with serial 2935 has been added
[17:31:57.818] [DBG] PwPipelineManager::on_registry_global: Stream/Input/Audio 104 Plazma - PA with serial 2936 has been added
[17:31:57.818] [DBG] PwPipelineManager::on_registry_global: Stream/Input/Audio 120 Plazma - PA with serial 2937 has been added
[17:31:57.849] [DBG] PwPipelineManager::on_registry_global: alsa_output.pci-0000_05_00.6.analog-stereo port 57 is connected to Plazma - PA port 31
[17:31:57.849] [DBG] PwPipelineManager::on_registry_global: alsa_output.pci-0000_05_00.6.analog-stereo port 59 is connected to Plazma - PA port 103
[17:31:57.849] [DBG] PwPipelineManager::on_registry_global: jamesdsp_sink port 64 is connected to Plazma - PA port 101
[17:31:57.849] [DBG] PwPipelineManager::on_registry_global: jamesdsp_sink port 124 is connected to Plazma - PA port 69
[17:31:57.849] [DBG] PwPipelineManager::on_registry_global: alsa_input.pci-0000_05_00.6.analog-stereo port 60 is connected to Plazma - PA port 74
[17:31:57.849] [DBG] PwPipelineManager::on_registry_global: alsa_input.pci-0000_05_00.6.analog-stereo port 61 is connected to Plazma - PA port 118
[17:31:59.548] [DBG] PwPipelineManager::on_destroy_node_proxy: Stream/Input/Audio 52 Plazma - PA has been removed
[17:31:59.548] [DBG] PwPipelineManager::on_destroy_node_proxy: Stream/Input/Audio 104 Plazma - PA has been removed
[17:31:59.548] [DBG] PwPipelineManager::on_destroy_node_proxy: Stream/Input/Audio 120 Plazma - PA has been removed
[17:32:00.568] [DBG] PwPipelineManager::on_registry_global: Stream/Input/Audio 120 Plazma - PA with serial 2956 has been added
[17:32:00.568] [DBG] PwPipelineManager::on_registry_global: Stream/Input/Audio 116 Plazma - PA with serial 2957 has been added
[17:32:00.568] [DBG] PwPipelineManager::on_registry_global: Stream/Input/Audio 65 Plazma - PA with serial 2958 has been added
[17:32:00.595] [DBG] PwPipelineManager::on_registry_global: alsa_output.pci-0000_05_00.6.analog-stereo port 57 is connected to Plazma - PA port 118
[17:32:00.595] [DBG] PwPipelineManager::on_registry_global: alsa_output.pci-0000_05_00.6.analog-stereo port 59 is connected to Plazma - PA port 74
[17:32:00.595] [DBG] PwPipelineManager::on_registry_global: jamesdsp_sink port 64 is connected to Plazma - PA port 104
[17:32:00.595] [DBG] PwPipelineManager::on_registry_global: jamesdsp_sink port 124 is connected to Plazma - PA port 105
[17:32:00.595] [DBG] PwPipelineManager::on_registry_global: alsa_input.pci-0000_05_00.6.analog-stereo port 60 is connected to Plazma - PA port 129
[17:32:00.595] [DBG] PwPipelineManager::on_registry_global: alsa_input.pci-0000_05_00.6.analog-stereo port 61 is connected to Plazma - PA port 115
[17:32:02.406] [DBG] PwPipelineManager::on_destroy_node_proxy: Stream/Input/Audio 120 Plazma - PA has been removed
[17:32:02.406] [DBG] PwPipelineManager::on_destroy_node_proxy: Stream/Input/Audio 116 Plazma - PA has been removed
[17:32:02.406] [DBG] PwPipelineManager::on_destroy_node_proxy: Stream/Input/Audio 65 Plazma - PA has been removed
[17:32:04.257] [DBG] FilterContainer::on_link_changed::<lambda>: No app linked to our device wants to play. Unlinking our filters.
[17:32:04.258] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[17:32:04.911] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:04.916] [DBG] FilterContainer::on_link_changed: At least one app linked to our device wants to play. Linking our filters.
[17:32:04.918] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[17:32:04.964] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:04.970] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:05.135] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:05.265] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:05.452] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:05.879] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:05.981] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:05.988] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:06.078] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:06.085] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:06.179] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:06.185] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:06.325] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:06.435] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:06.441] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:06.561] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:06.999] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:07.064] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:07.070] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:07.221] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:07.387] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:07.450] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:07.456] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:07.521] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:07.528] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:07.577] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:07.584] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:07.930] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:08.882] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:08.997] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.094] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.101] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.187] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.194] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.227] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.234] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.297] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.304] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.370] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.377] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.464] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.470] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.782] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.824] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.830] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.850] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.857] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.877] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.883] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.907] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.914] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:09.970] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:09.977] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:10.030] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, , , 
[17:32:10.037] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 102, target.node, Spa:Id, -1
[17:32:10.256] [DBG] FilterContainer::on_link_changed::<lambda>: No app linked to our device wants to play. Unlinking our filters.
[17:32:10.256] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
[17:32:10.430] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, target.node, Spa:Id, -1
[17:32:10.435] [DBG] FilterContainer::on_link_changed: At least one app linked to our device wants to play. Linking our filters.
[17:32:10.437] [DBG] PwBasePlugin::connect_to_pw: @PwJamesDspPlugin: JamesDsp successfully connected to PipeWire graph
[17:32:10.460] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, , , 
[17:32:10.467] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, target.node, Spa:Id, -1
[17:32:10.498] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, , , 
[17:32:10.505] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, target.node, Spa:Id, -1
[17:32:10.521] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, , , 
[17:32:10.528] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, target.node, Spa:Id, -1
[17:32:10.564] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, , , 
[17:32:10.570] [DBG] PwPipelineManager::on_metadata_property: new metadata property: 53, target.node, Spa:Id, -1
[17:32:11.257] [DBG] FilterContainer::on_link_changed::<lambda>: No app linked to our device wants to play. Unlinking our filters.
[17:32:11.257] [DBG] FilterContainer::disconnect_filters: disconnecting the JamesDsp filter from PipeWire
^C

I'm using latest arch with KDE. Pipewire is set as sound processor.

timschneeb commented 1 year ago

This happens if the default output device is set to the virtual JamesDSP sink. That can also cause other issues, because the app uses the current default device to automatically determine which audio output path to choose.

Make sure to select your actual speakers/headphones instead in your system audio settings.

In the past, if someone (or the system) accidentally muted that virtual device somehow (instead of changing the volume of their speakers), they were often unable to figure out how to reverse it, because some DEs hide these virtual devices by default from their audio settings page. To avoid that, the volume of virtual device was fixed to 100%.

I'll try to implement some kind of check for this and display a warning to the user, because this is currently not properly documented and a bit confusing.

mariachini commented 1 year ago

Actually, setting the option to always use a device other than JamesDSP sink helped. Topic to close. This is not a "bug" in this case, but a suggestion to consider.