Home
last modified time | relevance | path

Searched full:channels (Results 1 – 25 of 275) sorted by relevance

1234567891011

/sof-2.7.6/tools/topology/topology1/platform/intel/
Dintel-generic-dmic.m414 ifdef(`CHANNELS',`',`fatal_error(note: Need to define channel number for intel-generic-dmic
39 # Handle possible different channels count for PCM and DAI
40 ifdef(`DMIC_DAI_CHANNELS', `', `define(DMIC_DAI_CHANNELS, CHANNELS)')
41 ifdef(`DMIC_PCM_CHANNELS', `', `define(DMIC_PCM_CHANNELS, CHANNELS)')
42 ifdef(`DMIC16K_DAI_CHANNELS', `', `define(DMIC16K_DAI_CHANNELS, CHANNELS)')
43 ifdef(`DMIC16K_PCM_CHANNELS', `', `define(DMIC16K_PCM_CHANNELS, CHANNELS)')
49 ifelse(CHANNELS, 1, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FL, 1, 0)))')
50 ifelse(CHANNELS, 2, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FL, 1, 0),
52 ifelse(CHANNELS, 3, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FL, 1, 0),
55 ifelse(CHANNELS, 4, `define(`VOLUME_CHANNEL_MAP', LIST(` ', KCONTROL_CHANNEL(FLW, 1, 0),
[all …]
Dintel-generic-dmic-kwd.m414 ifdef(`CHANNELS',`',`fatal_error(note: Need to define channel number for intel-generic-dmic-kwd
66 dnl pipe id, pcm, max channels, format,
71 # Passthrough capture pipeline using max channels defined by CHANNELS.
79 DMIC_PIPELINE_48k_ID, DMIC_PCM_48k_ID, CHANNELS, s32le,
91 # Passthrough capture pipeline 7 on PCM 7 using max 2 channels.
129 dnl pipe id, max channels, format,
156 ifelse(CHANNELS, 4,
/sof-2.7.6/test/cmocka/src/audio/volume/
Dvolume_process.c41 uint32_t channels; member
49 static void set_volume(int32_t *vol, int32_t value, uint32_t channels) in set_volume() argument
53 for (i = 0; i < channels; i++) in set_volume()
79 size = parameters->frames * get_frame_bytes(parameters->sink_format, parameters->channels) * in setup()
83 parameters->channels, size); in setup()
87 parameters->channels) * parameters->buffer_size_ms; in setup()
90 parameters->channels, size); in setup()
94 set_volume(cd->volume, parameters->volume, parameters->channels); in setup()
143 int channels = sink->stream.channels; in verify_s16_to_s16() local
149 for (i = 0; i < sink->stream.size / sizeof(uint16_t); i += channels) { in verify_s16_to_s16()
[all …]
/sof-2.7.6/tools/topology/topology1/development/
Dsof-apl-dmic.m420 define(DMIC_PDM_CONFIG, ifelse(CHANNELS, `4', ``FOUR_CH_PDM0_PDM1'',
21 `ifelse(CHANNELS, `2', ``STEREO_PDM0'', `')'))
40 dnl pipe id, pcm, max channels, format,
45 # Passthrough capture pipeline 6 on PCM 6 using max channels defined by CHANNELS.
48 6, 6, CHANNELS, s32le,
52 # Passthrough capture pipeline 7 on PCM 7 using max channels defined by CHANNELS.
55 7, 7, CHANNELS, s32le,
Dsof-apl-nocodec-ci.m44 # APL Host GW DMAC support max 6 playback and max 6 capture channels so some
38 dnl pipe id, pcm, max channels, format,
43 # Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s16le.
50 # Volume switch capture pipeline 2 on PCM 0 using max 2 channels of s16le.
57 # Low Latency playback pipeline 3 on PCM 1 using max 2 channels of s16le.
64 # Volume switch capture pipeline 4 on PCM 1 using max 2 channels of s16le.
71 # Low Latency playback pipeline 5 on PCM 2 using max 2 channels of s16le.
78 # Volume switch capture pipeline 6 on PCM 2 using max 2 channels of s16le.
85 # Low Latency playback pipeline 7 on PCM 3 using max 2 channels of s16le.
92 # Volume switch capture pipeline 8 on PCM 3 using max 2 channels of s16le.
[all …]
Dsof-cml-src-rt5682.m435 dnl pipe id, pcm, max channels, format,
40 # Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s24le.
47 # Low Latency capture pipeline 2 on PCM 0 using max 2 channels of s24le.
54 # Passthrough capture pipeline 3 on PCM 1 using max 4 channels.
61 # Low Latency playback pipeline 4 on PCM 2 using max 2 channels of s32le.
68 # Low Latency playback pipeline 5 on PCM 3 using max 2 channels of s32le.
75 # Low Latency playback pipeline 6 on PCM 4 using max 2 channels of s32le.
/sof-2.7.6/src/drivers/intel/hda/
Dhda.c35 dai_info(dai, "hda_set_config(): channels %u rate %u", params->channels, in hda_set_config()
38 if (params->channels) in hda_set_config()
39 hda->params.channels = params->channels; in hda_set_config()
52 dai_info(dai, "hda_get_hw_params(): channels %u rate %u", hda->params.channels, in hda_get_hw_params()
56 params->channels = hda->params.channels; in hda_get_hw_params()
/sof-2.7.6/tools/tune/tdfb/
Dexample_pass_config.m15 % Setup for two channels
17 bf.input_channel_select = [0 1]; % Input two channels
20 bf.num_output_channels = 2; % Two channels
34 % Setup for four channels
35 bf.input_channel_select = [0 1 2 3]; % Input two channels
38 bf.num_output_channels = 4; % Four channels
Dexample_line_array.m41 bf.input_channel_select = [0 1]; % Input two channels
42 bf.output_channel_mix = [3 3]; % Mix both filters to channels 0 and 1 (2^ch)
44 bf.num_output_channels = 2; % Two channels
64 bf.input_channel_select = [ 0 1 2 3]; % Input four channels
67 bf.num_output_channels = 4; % Four channels
/sof-2.7.6/test/cmocka/src/
Dutil.h17 uint16_t channels, in create_test_sink() argument
38 buffer->stream.channels = channels; in create_test_sink()
52 uint16_t channels, in create_test_source() argument
73 buffer->stream.channels = channels; in create_test_source()
/sof-2.7.6/test/cmocka/src/audio/selector/
Dselector_test.c152 uint32_t channels = source->channels; in verify_s16le_2ch_to_2ch() local
157 for (i = 0; i < sink->size / sizeof(uint16_t); i += channels) { in verify_s16le_2ch_to_2ch()
158 for (channel = 0; channel < channels; channel++) { in verify_s16le_2ch_to_2ch()
171 uint32_t channels = source->channels; in verify_s16le_4ch_to_4ch() local
176 for (i = 0; i < sink->size / sizeof(uint16_t); i += channels) { in verify_s16le_4ch_to_4ch()
177 for (channel = 0; channel < channels; channel++) { in verify_s16le_4ch_to_4ch()
232 uint32_t channels = source->channels; in verify_s32le_2ch_to_2ch() local
237 for (i = 0; i < sink->size / sizeof(uint32_t); i += channels) { in verify_s32le_2ch_to_2ch()
238 for (channel = 0; channel < channels; channel++) { in verify_s32le_2ch_to_2ch()
251 uint32_t channels = source->channels; in verify_s32le_4ch_to_4ch() local
[all …]
/sof-2.7.6/tools/test/audio/test_utils/
Dchirp_test_analyze.m27 %% Quick check length, RMS, offset, and channels sum
35 % and maximum of sum of channels. The input is such that the channels should
36 % sum to zero. A phase difference in channels would cause non-zero output
37 % for channels sum. Dithered input causes a small non-zero sum value.
50 fprintf('Failed output chirp channels phase.\n');
/sof-2.7.6/src/audio/selector/
Dselector.c11 * \brief output. In case 2 or 4 channels are selected on output the component
113 /* check whether params->channels (received from driver) are equal to in selector_verify_params()
124 cd->config.in_channels_count != params->channels) { in selector_verify_params()
125 comp_err(dev, "selector_verify_params(): src in_channels_count does not match pcm channels"); in selector_verify_params()
133 * (it can vary), we set params->channels to sink buffer in selector_verify_params()
134 * channels, which were previosly set in in selector_verify_params()
138 cd->config.out_channels_count : buffer->stream.channels; in selector_verify_params()
139 params->channels = out_channels; in selector_verify_params()
145 cd->config.out_channels_count != params->channels) { in selector_verify_params()
146 comp_err(dev, "selector_verify_params(): src in_channels_count does not match pcm channels"); in selector_verify_params()
[all …]
/sof-2.7.6/tools/topology/topology1/
Dsof-apl-pcm512x.m49 # if CHANNELS is not defined, define with default 2ch. Note that
12 ifdef(`CHANNELS', , `define(CHANNELS, 2)')
48 dnl pipe id, pcm, max channels, format,
53 # Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s32le.
60 # Low Latency capture pipeline 2 on PCM 0 using max 2 channels of s32le.
67 # Low Latency playback pipeline 2 on PCM 5 using max 2 channels of s32le.
74 # Low Latency playback pipeline 3 on PCM 6 using max 2 channels of s32le.
81 # Low Latency playback pipeline 4 on PCM 7 using max 2 channels of s32le.
91 ifelse(CHANNELS, `0', ,
126 # Media playback pipeline 5 on PCM 4 using max 2 channels of s16le.
Dsof-tgl-sdw-max98373-rt5682.m422 define(DMIC_PDM_CONFIG, ifelse(CHANNELS, `4', ``FOUR_CH_PDM0_PDM1'',
23 `ifelse(CHANNELS, `2', ``STEREO_PDM0'', `')'))
93 dnl pipe id, pcm, max channels, format,
98 # Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s32le.
105 # Low Latency capture pipeline 2 on PCM 1 using max 2 channels of s32le.
115 define(CHANNELS, `4') macro
133 # Low Latency playback pipeline 6 on PCM 5 using max 2 channels of s32le.
140 # Low Latency playback pipeline 7 on PCM 6 using max 2 channels of s32le.
147 # Low Latency playback pipeline 8 on PCM 7 using max 2 channels of s32le.
154 # Low Latency playback pipeline 9 on PCM 8 using max 2 channels of s32le.
Dsof-glk-da7219-kwd.m448 dnl pipe id, pcm, max channels, format,
53 # Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s32le.
60 # Low Latency playback pipeline 2 on PCM 1 using max 2 channels of s32le.
67 # Low Latency capture pipeline 3 on PCM 1 using max 2 channels of s32le.
74 # Low Latency capture pipeline 4 on PCM 99 using max 4 channels of s32le.
82 # Low Latency playback pipeline 5 on PCM 5 using max 2 channels of s32le.
89 # Low Latency playback pipeline 6 on PCM 6 using max 2 channels of s32le.
96 # Low Latency playback pipeline 7 on PCM 7 using max 2 channels of s32le.
104 # Capture pipeline 10 on PCM 4 using max 2 channels of s32le.
180 # Passthrough capture pipeline 8 on PCM 8 using max 2 channels.
[all …]
Dsof-apl-tdf8532.m432 dnl pipe id, pcm, max channels, format,
37 # Low Latency playback pipeline 1 on PCM 0 using max 4 channels of s32le.
44 # Low Latency playback pipeline 2 on PCM 1 using max 8 channels of s32le.
51 # Low Latency capture pipeline 3 on PCM 1 using max 8 channels of s32le.
58 # Low Latency playback pipeline 4 on PCM 2 using max 2 channels of s16le.
65 # Low Latency capture pipeline 5 on PCM 2 using max 2 channels of s16le.
72 # Low Latency capture pipeline 6 on PCM 3 using max 2 channels of s16le.
79 # Low Latency playback pipeline 7 on PCM 4 using max 2 channels of s16le.
86 # Low Latency capture pipeline 8 on PCM 4 using max 2 channels of s16le.
93 # Low Latency playback pipeline 9 on PCM 5 using max 2 channels of s16le.
[all …]
Dsof-jsl-rt5682.m437 define(CHANNELS, `4') macro
55 dnl pipe id, pcm, max channels, format,
58 # Low Latency playback pipeline 1 on PCM 0 using max 2 channels of s32le.
68 # Low Latency playback pipeline 2 on PCM 1 using max 2 channels of s32le.
80 # Low Latency capture pipeline 3 on PCM 1 using max 2 channels of s32le.
87 # Low Latency playback pipeline 2 on PCM 2 using max 2 channels of s32le.
94 # Low Latency playback pipeline 3 on PCM 3 using max 2 channels of s32le.
101 # Low Latency playback pipeline 4 on PCM 4 using max 2 channels of s32le.
/sof-2.7.6/src/drivers/intel/
Dalh.c42 if (config->alh.channels || config->alh.rate) { in alh_set_config_tplg()
43 alh->params.channels = config->alh.channels; in alh_set_config_tplg()
45 dai_info(dai, "alh_set_config() channels %d rate %d", in alh_set_config_tplg()
46 config->alh.channels, config->alh.rate); in alh_set_config_tplg()
63 alh->params.channels = 2; in alh_set_config_blob()
86 params->channels = alh->params.channels; in alh_get_hw_params()
/sof-2.7.6/src/platform/intel/cavs/lib/
Ddma.c116 .channels = 8,
131 .channels = 8,
146 .channels = 8,
166 .channels = 8,
182 .channels = 8,
196 .channels = 7,
208 .channels = DMAC_HOST_OUT_CHANNELS_COUNT,
220 .channels = DMAC_LINK_IN_CHANNELS_COUNT,
232 .channels = DMAC_LINK_OUT_CHANNELS_COUNT,
/sof-2.7.6/tools/test/audio/
Dsof_test_perf_config.m16 play.nch = 2; % Number of playback channels
17 play.ch = [1 2]; % Playback channels to test
27 rec.nch = 8; % Number audio capture channels
28 rec.ch = [1 2]; % Capture channels to measure
/sof-2.7.6/src/audio/tdfb/
Dtdfb_generic.c34 int in_nch = source->channels; in tdfb_fir_s16()
35 int out_nch = sink->channels; in tdfb_fir_s16()
43 /* Read two frames from all input channels */ in tdfb_fir_s16()
97 int in_nch = source->channels; in tdfb_fir_s24()
98 int out_nch = sink->channels; in tdfb_fir_s24()
106 /* Read two frames from all input channels */ in tdfb_fir_s24()
160 int in_nch = source->channels; in tdfb_fir_s32()
161 int out_nch = sink->channels; in tdfb_fir_s32()
169 /* Read two frames from all input channels */ in tdfb_fir_s32()
Dtdfb_hifiep.c37 int in_nch = source->channels; in tdfb_fir_s16()
38 int out_nch = sink->channels; in tdfb_fir_s16()
46 /* Read two frames from all input channels */ in tdfb_fir_s16()
102 int in_nch = source->channels; in tdfb_fir_s24()
103 int out_nch = sink->channels; in tdfb_fir_s24()
111 /* Read two frames from all input channels */ in tdfb_fir_s24()
167 int in_nch = source->channels; in tdfb_fir_s32()
168 int out_nch = sink->channels; in tdfb_fir_s32()
176 /* Read two frames from all input channels */ in tdfb_fir_s32()
/sof-2.7.6/src/include/user/
Deq.h27 * This describes the number of channels in this EQ config data. It
34 * E.g. {0, 0, 0, 0, 1, 1, 1, 1} would apply to channels 0-3 the
35 * same first defined response and for to channels 4-7 the second.
73 * This describes the number of channels in this EQ config data. It
83 * E.g. {0, 0, 0, 0, -1, -1, -1, -1} would apply to channels 0-3 the
84 * same first defined response and leave channels 4-7 unequalized.
114 int32_t data[]; /* eq_assign[channels], eq 0, eq 1, ... */
/sof-2.7.6/src/platform/amd/renoir/lib/
Ddma.c33 .channels = 8,
46 .channels = 8,
59 .channels = 8,
73 .channels = 8,

1234567891011