Fixed bug where floating point samples came back as 'single'

This would cause lots of functions to fail since a lot of the dsp functions rely on doubles
main
David Protzman 2022-04-26 21:12:32 -04:00
rodzic d8f7b73c37
commit df18420eaf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -6,5 +6,5 @@
% @return samples Column vector of `sample_count` complex samples (might be less if not enough samples are avilable
% in the provided file
function [samples] = read_complex_floats(file_path, sample_offset, sample_count)
samples = read_complex(file_path, sample_offset, sample_count, 'single');
samples = double(read_complex(file_path, sample_offset, sample_count, 'single'));
end