File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -793,29 +793,29 @@ public function ParseVorbisComments() {
793793 switch ($ index ) {
794794 case 'rg_audiophile ' :
795795 case 'replaygain_album_gain ' :
796- $ info ['replay_gain ' ]['album ' ]['adjustment ' ] = (double ) $ commentvalue [0 ];
796+ $ info ['replay_gain ' ]['album ' ]['adjustment ' ] = (float ) $ commentvalue [0 ];
797797 unset($ info ['ogg ' ]['comments ' ][$ index ]);
798798 break ;
799799
800800 case 'rg_radio ' :
801801 case 'replaygain_track_gain ' :
802- $ info ['replay_gain ' ]['track ' ]['adjustment ' ] = (double ) $ commentvalue [0 ];
802+ $ info ['replay_gain ' ]['track ' ]['adjustment ' ] = (float ) $ commentvalue [0 ];
803803 unset($ info ['ogg ' ]['comments ' ][$ index ]);
804804 break ;
805805
806806 case 'replaygain_album_peak ' :
807- $ info ['replay_gain ' ]['album ' ]['peak ' ] = (double ) $ commentvalue [0 ];
807+ $ info ['replay_gain ' ]['album ' ]['peak ' ] = (float ) $ commentvalue [0 ];
808808 unset($ info ['ogg ' ]['comments ' ][$ index ]);
809809 break ;
810810
811811 case 'rg_peak ' :
812812 case 'replaygain_track_peak ' :
813- $ info ['replay_gain ' ]['track ' ]['peak ' ] = (double ) $ commentvalue [0 ];
813+ $ info ['replay_gain ' ]['track ' ]['peak ' ] = (float ) $ commentvalue [0 ];
814814 unset($ info ['ogg ' ]['comments ' ][$ index ]);
815815 break ;
816816
817817 case 'replaygain_reference_loudness ' :
818- $ info ['replay_gain ' ]['reference_volume ' ] = (double ) $ commentvalue [0 ];
818+ $ info ['replay_gain ' ]['reference_volume ' ] = (float ) $ commentvalue [0 ];
819819 unset($ info ['ogg ' ]['comments ' ][$ index ]);
820820 break ;
821821
You can’t perform that action at this time.
0 commit comments