Replies: 2 comments
-
Thanks for the suggestion and patches. I would prefer not to show replay gain info in the status bar. However it fits well into the song info dialog (libaudqt/info-dialog, info-widget). Could you please implement it there and submit a pull request? Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I could not see applied ReplayGain anywhere in the UI. I guess it could make sense to display in the track mouseover info, the right-click Song Info or the status bar. Using the following it can be shown in the status bar but duplicates replay_gain_mode code. Not sure I made the code tags work.
.../libaudcore/playback.cc
`
EXPORT void aud_drct_get_info(int & bitrate, int & samplerate, int & channels, float & rg)
{
auto mh = mutex.take();
bool ready = is_ready(mh);
}
`
.../qtui/status_bar.cc
`
void StatusBar::update_codec()
{
/* codec info is hidden when a message is displayed */
if (!currentMessage().isEmpty())
return;
}
`
Beta Was this translation helpful? Give feedback.
All reactions