Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# All input formats for e.g. host-copier, decoder,
# and module-copier
num_input_audio_formats 40
CombineArrays.Object.Base.input_audio_format [
{
in_channels [ 1 ]
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 8 ]
in_valid_bit_depth [ 8 ]
in_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ]
in_ch_map [ $CHANNEL_MAP_MONO ]
in_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
in_channels [ 1 ]
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 16 ]
in_valid_bit_depth [ 16 ]
in_ch_map [ $CHANNEL_MAP_MONO ]
in_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
in_channels [ 1 ]
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 24 ]
in_ch_map [ $CHANNEL_MAP_MONO ]
in_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
in_channels [ 1 ]
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 32 ]
in_ch_map [ $CHANNEL_MAP_MONO ]
in_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 8 ]
in_valid_bit_depth [ 8 ]
in_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ]
}
{
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 16 ]
in_valid_bit_depth [ 16 ]
}
{
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 24 ]
}
{
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 32 ]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Input formats for e.g. micsel
num_input_audio_formats 10
CombineArrays.Object.Base.input_audio_format [
{
in_channels [ 1 ]
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 32 ]
in_ch_map [ $CHANNEL_MAP_MONO ]
in_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
in_rate [
8000
44100
48000
96000
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 32 ]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Input and output audio formats for SRC
num_input_audio_formats 28
CombineArrays.Object.Base.input_audio_format [
{
in_channels [ 1 ]
in_rate [
8000
11025
12000
16000
22050
24000
32000
44100
48000
64000
88200
96000
176400
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 32 ]
in_ch_map [ $CHANNEL_MAP_MONO ]
in_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
in_rate [
8000
11025
12000
16000
22050
24000
32000
44100
48000
64000
88200
96000
176400
192000
]
in_bit_depth [ 32 ]
in_valid_bit_depth [ 32 ]
}
]

num_output_audio_formats 2
Object.Base.output_audio_format [
{
out_channels 1
out_rate 48000
out_bit_depth 32
out_valid_bit_depth 32
out_ch_map $CHANNEL_MAP_MONO
out_ch_cfg $CHANNEL_CONFIG_MONO
}
{
out_channels 2
out_rate 48000
out_bit_depth 32
out_valid_bit_depth 32
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Output audio formats for e.g. host-copier and decoder
num_output_audio_formats 40
CombineArrays.Object.Base.output_audio_format [
{
out_channels [ 1 ]
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 8 ]
out_valid_bit_depth [ 8 ]
out_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ]
out_ch_map [ $CHANNEL_MAP_MONO ]
out_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
out_channels [ 1 ]
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 16 ]
out_valid_bit_depth [ 16 ]
out_ch_map [ $CHANNEL_MAP_MONO ]
out_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
out_channels [ 1 ]
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 32 ]
out_valid_bit_depth [ 24 ]
out_ch_map [ $CHANNEL_MAP_MONO ]
out_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
out_channels [ 1 ]
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 32 ]
out_valid_bit_depth [ 32 ]
out_ch_map [ $CHANNEL_MAP_MONO ]
out_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 8 ]
out_valid_bit_depth [ 8 ]
out_sample_type [ $SAMPLE_TYPE_UNSIGNED_INTEGER ]
}
{
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 16 ]
out_valid_bit_depth [ 16 ]
}
{
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 32 ]
out_valid_bit_depth [ 24 ]
}
{
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 32 ]
out_valid_bit_depth [ 32 ]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Output audio formats e.g. module-copier
num_output_audio_formats 10
CombineArrays.Object.Base.output_audio_format [
{
out_channels [ 1 ]
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 32 ]
out_valid_bit_depth [ 32 ]
out_ch_map [ $CHANNEL_MAP_MONO ]
out_ch_cfg [ $CHANNEL_CONFIG_MONO ]
}
{
out_rate [
8000
44100
48000
96000
192000
]
out_bit_depth [ 32 ]
out_valid_bit_depth [ 32 ]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Micsel single format output
num_output_audio_formats 1
Object.Base.output_audio_format [
{
out_channels 2
out_rate 48000
out_bit_depth 32
out_valid_bit_depth 32
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<include/components/pipeline.conf>
<include/components/gain.conf>
<include/components/decoder.conf>
<include/components/micsel.conf>

Class.Pipeline."compr-playback" {

Expand Down Expand Up @@ -59,6 +60,8 @@ Class.Pipeline."compr-playback" {

src."1" {}

micsel."1" {}

gain."1" {}

mixin."1" {}
Expand All @@ -81,6 +84,10 @@ Class.Pipeline."compr-playback" {
}
{
source src.$index.1
sink micsel.$index.1
}
{
source micsel.$index.1
sink gain.$index.1
}
{
Expand Down
Loading
Loading