Skip to content

Commit d0930c8

Browse files
singalsukv2019i
authored andcommitted
Audio: Tune: Change file suffix from .blob to bin
To align the suffix for binary blob files for UCM cset-tlv and sof-ctl the file naming is changed from .blob to .bin. The .bin is better associated for binary files. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 418044c commit d0930c8

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

src/audio/crossover/tune/sof_example_crossover.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ function export_crossover(cr)
4949
tplg1_fn = sprintf('%s/coef_%s_%s_%s.m4', tpath1, str_way, str_freq, str_pid); % Control Bytes File
5050
tplg2_fn = sprintf('%s/coef_%s_%s_%s.conf', tpath2, str_way, str_freq, str_pid);
5151
% Use those files with sof-ctl to update the component's configuration
52-
blob3_fn = sprintf('%s/coef_%dway.blob', ctlpath3, cr.num_sinks); % Blob binary file
52+
blob3_fn = sprintf('%s/coef_%dway.bin', ctlpath3, cr.num_sinks); % Blob binary file
5353
alsa3_fn = sprintf('%s/coef_%dway.txt', ctlpath3, cr.num_sinks); % ALSA CSV format file
54-
blob4_fn = sprintf('%s/coef_%dway.blob', ctlpath4, cr.num_sinks); % Blob binary file
54+
blob4_fn = sprintf('%s/coef_%dway.bin', ctlpath4, cr.num_sinks); % Blob binary file
5555
alsa4_fn = sprintf('%s/coef_%dway.txt', ctlpath4, cr.num_sinks); % ALSA CSV format file
5656

5757
% This array is an example on how to assign a buffer from pipeline 1 to output 0,

src/audio/dcblock/tune/sof_example_dcblock.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ function dcblock_blob_calculate(prm)
3737
tplg1_fn = sprintf("%s/topology1/m4/dcblock_coef_%s.m4", sof_tplg, prm.id); % Control Bytes File
3838
tplg2_fn = sprintf("%s/topology2/include/components/dcblock/%s.conf", sof_tplg, prm.id);
3939
% Use those files with sof-ctl to update the component's configuration
40-
blob3_fn = sprintf("%s/ipc3/dcblock/coef_%s.blob", sof_ctl, prm.id); % Blob binary file
40+
blob3_fn = sprintf("%s/ipc3/dcblock/coef_%s.bin", sof_ctl, prm.id); % Blob binary file
4141
alsa3_fn = sprintf("%s/ipc3/dcblock/coef_%s.txt", sof_ctl, prm.id); % ALSA CSV format file
42-
blob4_fn = sprintf("%s/ipc4/dcblock/coef_%s.blob", sof_ctl, prm.id); % Blob binary file
42+
blob4_fn = sprintf("%s/ipc4/dcblock/coef_%s.bin", sof_ctl, prm.id); % Blob binary file
4343
alsa4_fn = sprintf("%s/ipc4/dcblock/coef_%s.txt", sof_ctl, prm.id); % ALSA CSV format file
4444

4545
endian = "little";

src/audio/drc/tune/sof_example_drc.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ function drc_coefs_and_config_export(params, id)
6060
tplg1_fn = sprintf("%s/topology1/m4/drc_coef_%s.m4", sof_tplg, id); % Control Bytes File
6161
tplg2_fn = sprintf("%s/topology2/include/components/drc/%s.conf", sof_tplg, id); % Control Bytes File
6262
% Use those files with sof-ctl to update the component's configuration
63-
blob3_fn = sprintf("%s/ipc3/drc_coef_%s.blob", sof_ctl, id); % Blob binary file
63+
blob3_fn = sprintf("%s/ipc3/drc_coef_%s.bin", sof_ctl, id); % Blob binary file
6464
alsa3_fn = sprintf("%s/ipc3/drc_coef_%s.txt", sof_ctl, id); % ALSA CSV format file
65-
blob4_fn = sprintf("%s/ipc4/drc/%s.blob", sof_ctl, id); % Blob binary file
65+
blob4_fn = sprintf("%s/ipc4/drc/%s.bin", sof_ctl, id); % Blob binary file
6666
alsa4_fn = sprintf("%s/ipc4/drc/%s.txt", sof_ctl, id); % ALSA CSV format file
6767

6868
endian = "little";

src/audio/eq_iir/tune/sof_example_fir_eq.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function sof_example_fir_eq()
2424
%% -------------------
2525
%% Example 1: Loudness
2626
%% -------------------
27-
fn.bin = 'loudness.blob';
27+
fn.bin = 'loudness.bin';
2828
fn.txt = 'loudness.txt';
2929
fn.tplg1 = 'eq_fir_coef_loudness.m4';
3030
fn.tplg2 = 'loudness.conf';
@@ -55,7 +55,7 @@ function sof_example_fir_eq()
5555
%% -------------------
5656
%% Example 2: Mid boost
5757
%% -------------------
58-
fn.bin = 'mid.blob';
58+
fn.bin = 'mid.bin';
5959
fn.txt = 'mid.txt';
6060
fn.tplg1 = 'eq_fir_coef_mid.m4';
6161
fn.tplg2 = 'midboost.conf';
@@ -82,7 +82,7 @@ function sof_example_fir_eq()
8282
%% -------------------
8383
%% Example 3: Flat EQ
8484
%% -------------------
85-
fn.bin = 'flat.blob';
85+
fn.bin = 'flat.bin';
8686
fn.txt = 'flat.txt';
8787
fn.tplg1 = 'eq_fir_coef_flat.m4';
8888
fn.tplg2 = 'flat.conf';
@@ -109,7 +109,7 @@ function sof_example_fir_eq()
109109
%% --------------------------
110110
%% Example 4: Pass-through EQ
111111
%% --------------------------
112-
fn.bin = 'pass.blob';
112+
fn.bin = 'pass.bin';
113113
fn.txt = 'pass.txt';
114114
fn.tplg1 = 'eq_fir_coef_pass.m4';
115115
fn.tplg2 = 'passthrough.conf';

src/audio/eq_iir/tune/sof_example_iir_bandsplit.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function sof_example_iir_bandsplit()
2020
%% --------------------------------------------------
2121
%% Example: Band-split 2ch to 4ch low and high bands
2222
%% --------------------------------------------------
23-
blob_fn = fullfile(cpath, 'bandsplit.blob');
23+
blob_fn = fullfile(cpath, 'bandsplit.bin');
2424
alsa_fn = fullfile(cpath, 'bandsplit.txt');
2525
tplg_fn = fullfile(tpath, 'eq_iir_bandsplit.m4');
2626
comment = 'Bandsplit, created with example_iir_bandsplit.m';

src/audio/eq_iir/tune/sof_example_iir_eq.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function sof_example_iir_eq()
2424
%% -------------------
2525
%% Example 1: Loudness
2626
%% -------------------
27-
fn.bin = 'loudness.blob';
27+
fn.bin = 'loudness.bin';
2828
fn.txt = 'loudness.txt';
2929
fn.tplg1 = 'eq_iir_coef_loudness.m4';
3030
fn.tplg2 = 'loudness.conf';
@@ -55,7 +55,7 @@ function sof_example_iir_eq()
5555
%% ------------------------------------
5656
%% Example 2: Bass boost
5757
%% ------------------------------------
58-
fn.bin = 'bassboost.blob';
58+
fn.bin = 'bassboost.bin';
5959
fn.txt = 'bassboost.txt';
6060
fn.tplg1 = 'eq_iir_coef_bassboost.m4';
6161
fn.tplg2 = 'bassboost.conf';
@@ -82,7 +82,7 @@ function sof_example_iir_eq()
8282
%% ------------------------------------
8383
%% Example 3: Band-pass
8484
%% ------------------------------------
85-
fn.bin = 'bandpass.blob';
85+
fn.bin = 'bandpass.bin';
8686
fn.txt = 'bandpass.txt';
8787
fn.tplg1 = 'eq_iir_coef_bandpass.m4';
8888
fn.tplg2 = 'bandpass.conf';
@@ -109,7 +109,7 @@ function sof_example_iir_eq()
109109
%% -------------------
110110
%% Example 4: Flat IIR
111111
%% -------------------
112-
fn.bin = 'flat.blob';
112+
fn.bin = 'flat.bin';
113113
fn.txt = 'flat.txt';
114114
fn.tplg1 = 'eq_iir_coef_flat.m4';
115115
fn.tplg2 = 'flat.conf';
@@ -136,7 +136,7 @@ function sof_example_iir_eq()
136136
%% ---------------------------
137137
%% Example 5: Pass-through IIR
138138
%% ---------------------------
139-
fn.bin = 'pass.blob';
139+
fn.bin = 'pass.bin';
140140
fn.txt = 'pass.txt';
141141
fn.tplg1 = 'eq_iir_coef_pass.m4';
142142
fn.tplg2 = 'passthrough.conf';
@@ -180,7 +180,7 @@ function sof_example_iir_eq()
180180
fn.txt = sprintf('highpass_%dhz_%ddb_%dkhz.txt', fc, g, fsk);
181181
comment = sprintf('%d Hz second order high-pass, gain %d dB, created with sof_example_iir_eq.m', ...
182182
fc, g);
183-
fn.bin = sprintf('highpass_%dhz_%ddb_%dkhz.blob', fc, g, fsk);
183+
fn.bin = sprintf('highpass_%dhz_%ddb_%dkhz.bin', fc, g, fsk);
184184

185185
%% Design IIR high-pass
186186
eq_hp = hp_iir_eq(fs, fc, g);
@@ -207,7 +207,7 @@ function sof_example_iir_eq()
207207
%% Example 7: Merge previous desigs to single blob for use as presets
208208
%% ------------------------------------------------------------------
209209

210-
fn.bin = 'bundle.blob';
210+
fn.bin = 'bundle.bin';
211211
fn.txt = 'bundle.txt';
212212
fn.tplg1 = 'eq_iir_bundle.m4';
213213
fn.tplg2 = 'bundle.conf';

src/audio/eq_iir/tune/sof_example_spk_eq.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ function sof_example_spk_eq()
3434

3535
%% File names
3636
fir.txt = 'spk.txt';
37-
fir.bin = 'spk.blob';
37+
fir.bin = 'spk.bin';
3838
fir.tplg1 = 'eq_fir_coef_spk.m4';
3939
fir.tplg2 = 'example_speaker.conf';
4040
iir.txt = 'spk.txt';
41-
iir.bin = 'spk.blob';
41+
iir.bin = 'spk.bin';
4242
iir.tplg1 = 'eq_iir_coef_spk.m4';
4343
iir.tplg2 = 'example_speaker.conf';
4444

src/audio/multiband_drc/tune/sof_example_multiband_drc.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ function export_multiband_drc(prm)
3939
tplg1_fn = sprintf("%s/topology/topology1/m4/multiband_drc_coef_%s.m4", sof_tools, prm.name); % Control Bytes File
4040
tplg2_fn = sprintf("%s/topology/topology2/include/components/multiband_drc/%s.conf", sof_tools, prm.name); % Control Bytes File
4141
% Use those files with sof-ctl to update the component's configuration
42-
blob3_fn = sprintf("%s/ctl/ipc3/multiband_drc/%s.blob", sof_tools, prm.name); % Blob binary file
42+
blob3_fn = sprintf("%s/ctl/ipc3/multiband_drc/%s.bin", sof_tools, prm.name); % Blob binary file
4343
alsa3_fn = sprintf("%s/ctl/ipc3/multiband_drc/%s.txt", sof_tools, prm.name); % ALSA CSV format file
44-
blob4_fn = sprintf("%s/ctl/ipc4/multiband_drc/%s.blob", sof_tools, prm.name); % Blob binary file
44+
blob4_fn = sprintf("%s/ctl/ipc4/multiband_drc/%s.bin", sof_tools, prm.name); % Blob binary file
4545
alsa4_fn = sprintf("%s/ctl/ipc4/multiband_drc/%s.txt", sof_tools, prm.name); % ALSA CSV format file
4646

4747
endian = "little";

0 commit comments

Comments
 (0)