Linux의 asound.conf에서 LADSPA 플러그인을 설정하는 방법은 무엇입니까?

Linux의 asound.conf에서 LADSPA 플러그인을 설정하는 방법은 무엇입니까?

저는 임베디드 Linux 시스템(kernel-5.10)에서 작업 중이며 시스템에서 오디오를 처리하려면 ladspa 플러그인을 설정해야 합니다.

asound.conf의 설정은 다음과 같습니다. 이는 mono_ladspa_pcm모노 채널에서 오디오를 재생하기 위한 PCM 장치 이름과 ladspa 플러그인 체인을 정의합니다.

pcm.mono_ladspa_pcm {
    type ladspa               # Use ladspa plugin
    slave {
        pcm "hw:0,4"          # input device
    }
    channels 1                # mono channel

    playback_plugins {        # Playback plugin definition.
        0 {                   # 1st plugin
            label "lpf"       # plugin name/label
            input {
                bindings {
                    0 0       # connect input channel to plugin's input
                }
            }
            output {
                bindings {
                    0 0       # connect plugin's output to output channel
                }
            }
        }
    }
}

위 설정에서는 소리가 재생되지 않습니다.
플러그인 경로, 라벨 또는 ID 설정이 정확하고 하드웨어도 양호하다고 확신합니다.

ladspa 필터 플러그인으로 업데이트되었습니다.

여기에 또 다른 것이 asound.conf있습니다 ladspa low-pass-filter.

pcm.my_lpf {
    type ladspa                  # LADSPA
    slave {
        pcm "hw:0,4"             # input device
    }
    channels 1                   # mono-channel
    path  "/usr/lib/ladspa"

    playback_plugins {           # plugin definition
        0 {
            label "lpf"          # plugin lable: lpf
             input {
                bindings {
                    0  1         # input channel to lpf input
                }
                controls {
                    4  5000
                }
            }
            output {
                bindings {
                    0 2          # lpf output to output channel.
                }
            }
            controls {
                    4  5000
            }
        }
    }
}

테스트와 디버깅에 많은 시간을 보냈지만 여전히 제대로 작동하지 못했습니다.

관련 정보