summaryrefslogtreecommitdiff
path: root/src/wx/audio_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/audio_panel.cc')
-rw-r--r--src/wx/audio_panel.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc
index b7d6979d3..a2de484c0 100644
--- a/src/wx/audio_panel.cc
+++ b/src/wx/audio_panel.cc
@@ -268,16 +268,7 @@ AudioPanel::setup_description ()
return;
}
- shared_ptr<AudioContent> acs = ac.front ();
- if (acs->audio_frame_rate() != acs->resampled_audio_frame_rate ()) {
- _description->SetLabel (wxString::Format (
- _("Audio will be resampled from %.3fkHz to %.3fkHz."),
- acs->audio_frame_rate() / 1000.0,
- acs->resampled_audio_frame_rate() / 1000.0
- ));
- } else {
- _description->SetLabel (_("Audio will not be resampled."));
- }
+ _description->SetLabel (std_to_wx (ac.front()->processing_description ()));
}
void