mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
6d5c512571
commit
8e6701c9a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user