ALSA モノコンフィギュレーションが機能しない

ALSA モノコンフィギュレーションが機能しない

私のコンピュータに新しいPCIベースのサウンドカードをインストールしました。入力と出力にはそれぞれ1から8まで番号が付けられた8つのS / PDIFベースのI / Oペアがあります。入力(マイク)には入力ライン3、5、7を、モノラル出力(再生)には出力ライン3、5、7を使ってみました。

  • ライン3 =チャンネル1(入力と出力)、
  • ライン5 =チャンネル2(入力と出力)、
  • ライン7 =チャンネル3(入力と出力)。

だから私は次のようにしました.asoundrc

pcm.!default {
    type plug
    slave {
       pcm "hw:1,0"
    }
}

ctl.!default {
    type hw
    card 1
}

pcm_slave.pci-sc {
    pcm "hw:1,0"
    channels 8
    rate 44100
    buffer_size 4096
    period_size 1024
}

pcm.outch1 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 2 ]
        hint.description "PCI Card output/playback channel 1 (from output port 3)"
    }
}

pcm.inch1 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 2 ]
        hint.description "PCI Card input/capture channel 1 (from input port 3)"
    }
}

pcm.outch2 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 4 ]
        hint.description "PCI Card output/playback channel 2 (from output port 5)"
    }
}

pcm.inch2 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 4 ]
        hint.description "PCI Card input/capture channel 2 (from input port 5)"
    }
}

pcm.outch3 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 6 ]
        hint.description "PCI Card output/playback channel 3 (from output port 7)"
    }
}

pcm.inch3 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 6 ]
        hint.description "PCI Card input/capture channel 3 (from input port 7)"
    }
}

ところで、上記の構成で再生およびキャプチャの試みを開こうとすると、Audacity録音機器や再生機器リストに、、のみ可能inch1inch2、、、、inch3は使用できません!outch1outch2outch3

.asoundrcまた、前述のとおり生成してみました。ここまた、次のようになります。

pcm.!default {
    type plug
    slave {
       pcm "hw:1,0"
    }
}

ctl.!default {
    type hw
    card 1
}

pcm_slave.pci-sc {
    pcm "hw:1,0"
    channels 8
    rate 44100
    buffer_size 4096
    period_size 1024
}

pcm.outch1 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 0 ]
        hint.description "PCI Sound Card output/playback channel 1 (from output port 1)"
    }
}

pcm.inch1 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 0 ]
        hint.description "PCI Sound Card input/capture channel 1 (from input port 1)"
    }
}

pcm.outch2 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 1 ]
        hint.description "PCI Sound Card output/playback channel 2 (from output port 2)"
    }
}

pcm.inch2 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 1 ]
        hint.description "PCI Sound Card input/capture channel 2 (from input port 2)"
    }
}

pcm.outch3 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 2 ]
        hint.description "PCI Sound Card output/playback channel 3 (from output port 3)"
    }
}

pcm.inch3 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 2 ]
        hint.description "PCI Sound Card input/capture channel 3 (from input port 3)"
    }
}

pcm.outch4 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 3 ]
        hint.description "PCI Sound Card output/playback channel 4 (from output port 4)"
    }
}

pcm.inch4 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 3 ]
        hint.description "PCI Sound Card input/capture channel 4 (from input port 4)"
    }
}

pcm.outch5 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 4 ]
        hint.description "PCI Sound Card output/playback channel 5 (from output port 5)"
    }
}

pcm.inch5 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 4 ]
        hint.description "PCI Sound Card input/capture channel 5 (from input port 5)"
    }
}

pcm.outch6 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 5 ]
        hint.description "PCI Sound Card output/playback channel 6 (from output port 6)"
    }
}

pcm.inch6 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 5 ]
        hint.description "PCI Sound Card input/capture channel 6 (from input port 6)"
    }
}

pcm.outch7 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 6 ]
        hint.description "PCI Sound Card output/playback channel 7 (from output port 7)"
    }
}

pcm.inch7 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 6 ]
        hint.description "PCI Sound Card input/capture channel 7 (from input port 7)"
    }
}

pcm.outch8 {
    type plug
    slave.pcm {
        type dshare
        ipc_key 1111
        slave pci-sc
        bindings [ 7 ]
        hint.description "PCI Sound Card output/playback channel 8 (from output port 8)"
    }
}

pcm.inch8 {
    type plug
    slave.pcm {
        type dsnoop
        ipc_key 1111
        slave pci-sc
        bindings [ 7 ]
        hint.description "PCI Sound Card input/capture channel 8 (from input port 8)"
    }
}

今回も同じ問題が発生しました。 、inch1録音機器または再生機器リストにはありますが、inch2は使用できません!上記はUSBサウンドカードに適しています。私はそれを試してテストしました。 PCIベースのサウンドカードにも適用できませんか?どのハードウェアの依存関係を知っておくべきですか?inch3outch1outch2outch3

ここで何が間違っている可能性がありますか?この問題をどのように解決しますか?

ベストアンサー1

おすすめ記事