hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
    "pipe_0": {
        "node_0": {
            "node_opts": {
                "node_name"       : "alsa_capture"
            },
            "node_opts_extra": {
                "node_source_uri" : "hw:1,0",
                "node_buff_type"  : 0,
                "node_buff_count" : 4,
                "node_buff_size"  : 2048,
                "node_buff_alloc_type" : "malloc"
            },
            "stream_opts_extra": {
                "opt_alsa_mode"   : "nonblock",
                "opt_samaple_rate": 48000,
                "opt_format"      : "audio:pcm_16",
                "opt_channel"     : 2,
                "opt_channel_layout"  : "int64:3"
            },
            "stream_opts": {
                "stream_fmt_in"   : "audio:pcm_16",
                "stream_fmt_out"  : "audio:pcm_16",
                "stream_output"   : "audio:pcm_0"
            }
        },
        "node_1": {
            "node_opts": {
                "node_name"       : "resample"
            },
            "node_opts_extra": {
                "node_buff_type"  : 0,
                "node_buff_count" : 4,
                "node_buff_size"  : 2048,
                "node_buff_alloc_type" : "malloc"
            },
            "stream_opts_extra": {
                "opt_samaple_rate": 48000,
                "opt_format"      : "audio:pcm_16",
                "opt_channel"     : 2,
                "opt_channel_layout"  : "int64:3"
            },
            "stream_opts": {
                "stream_fmt_in"   : "audio:pcm_16",
                "stream_fmt_out"  : "audio:pcm_16",
                "stream_input"    : "audio:pcm_0",
                "stream_output"   : "audio:pcm_1"
            }
        },
        "node_2": {
            "node_opts": {
                "node_name"       : "filter_volume"
            },
            "node_opts_extra": {
                "node_buff_type"  : 0,
                "node_buff_count" : 4,
                "node_buff_size"  : 2048,
                "node_buff_alloc_type" : "malloc"
            },
            "stream_opts_extra": {
                "opt_samaple_rate": 48000,
                "opt_format"      : "audio:pcm_16",
                "opt_channel"     : 2,
                "opt_channel_layout"  : "int64:3"
            },
            "stream_opts": {
                "stream_fmt_in"   : "audio:pcm_16",
                "stream_fmt_out"  : "audio:pcm_16",
                "stream_input"    : "audio:pcm_1",
                "stream_output"   : "audio:pcm_2"
            }
        },
        "node_3": {
            "node_opts": {
                "node_name"       : "alsa_playback"
            },
            "node_opts_extra": {
                "node_source_uri" : "default:CARD=rockchiprk809co"
            },
            "stream_opts_extra": {
                "opt_audio_ppm"   : 1,
                "opt_samaple_rate": 48000,
                "opt_format"      : "audio:pcm_16",
                "opt_channel"     : 2,
                "opt_channel_layout"  : "int64:3"
            },
            "stream_opts": {
                "stream_fmt_in"   : "audio:pcm_16",
                "stream_fmt_out"  : "audio:pcm_16",
                "stream_input"    : "audio:pcm_2"
            }
        }
    }
}