mirror of
https://github.com/alexkay/spek.git
synced 2025-05-31 23:59:19 +03:00
Don't show window size and function on stream error
This commit is contained in:
parent
3010e0f635
commit
ac9c92df2d
@ -205,6 +205,7 @@ std::string spek_pipeline_desc(const struct spek_pipeline *pipeline)
|
||||
));
|
||||
}
|
||||
|
||||
if (pipeline->file->get_error() == AudioError::OK) {
|
||||
items.push_back(std::string(wxString::Format(wxT("W:%i"), pipeline->nfft).utf8_str()));
|
||||
|
||||
std::string window_function_name;
|
||||
@ -224,6 +225,7 @@ std::string spek_pipeline_desc(const struct spek_pipeline *pipeline)
|
||||
if (window_function_name.size()) {
|
||||
items.push_back("F:" + window_function_name);
|
||||
}
|
||||
}
|
||||
|
||||
std::string desc;
|
||||
for (const auto& item : items) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user