This commit is contained in:
psykose 2024-10-16 05:32:32 +02:00
parent 086ab02f77
commit 9f33247d32

View file

@ -9,7 +9,6 @@ class Playbin : Object {
// lets us access the about-to-finish signal // lets us access the about-to-finish signal
private dynamic Gst.Element playbin = Gst.ElementFactory.make ("playbin3", null); private dynamic Gst.Element playbin = Gst.ElementFactory.make ("playbin3", null);
// cubic: recommended for media player volume sliders?
public double volume { public double volume {
get { get {
return ((Gst.Audio.StreamVolume) this.playbin).get_volume (Gst.Audio.StreamVolumeFormat.CUBIC); return ((Gst.Audio.StreamVolume) this.playbin).get_volume (Gst.Audio.StreamVolumeFormat.CUBIC);