gtkmediafile: Use cubic volume function

Gstreamer suggests doing that.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1439

Fixes #3295
This commit is contained in:
Benjamin Otte 2020-10-27 16:16:16 +01:00
parent 6d5c512571
commit 8e6701c9a6

View File

@ -294,7 +294,7 @@ gtk_gst_media_file_update_audio (GtkMediaStream *stream,
GtkGstMediaFile *self = GTK_GST_MEDIA_FILE (stream);
gst_player_set_mute (self->player, muted);
gst_player_set_volume (self->player, volume);
gst_player_set_volume (self->player, volume * volume * volume);
}
static void