@@ -33,7 +33,6 @@ class cDBusRecordingsHelper
3333 gboolean b ;
3434 guint64 tu64 ;
3535 int i ;
36- gdouble d ;
3736
3837 c = recording -> FileName ();
3938 if (c != NULL )
@@ -62,8 +61,7 @@ class cDBusRecordingsHelper
6261 cDBusHelper ::AddKeyValue (array , "Lifetime" , "i" , (void * * )& i );
6362 i = recording -> HierarchyLevels ();
6463 cDBusHelper ::AddKeyValue (array , "HierarchyLevels" , "i" , (void * * )& i );
65- d = recording -> FramesPerSecond ();
66- cDBusHelper ::AddKeyValue (array , "FramesPerSecond" , "d" , (void * * )& d );
64+ cDBusHelper ::AddKeyDouble (array , "FramesPerSecond" , recording -> FramesPerSecond ());
6765 i = recording -> NumFrames ();
6866 cDBusHelper ::AddKeyValue (array , "NumFrames" , "i" , (void * * )& i );
6967 i = recording -> LengthInSeconds ();
@@ -97,8 +95,7 @@ class cDBusRecordingsHelper
9795 c = info -> Aux ();
9896 if (c != NULL )
9997 cDBusHelper ::AddKeyValue (array , "Info/Aux" , "s" , (void * * )& c );
100- d = info -> FramesPerSecond ();
101- cDBusHelper ::AddKeyValue (array , "Info/FramesPerSecond" , "d" , (void * * )& d );
98+ cDBusHelper ::AddKeyDouble (array , "Info/FramesPerSecond" , info -> FramesPerSecond ());
10299 const cComponents * components = info -> Components ();
103100 if ((components != NULL ) && (components -> NumComponents () > 0 )) {
104101 for (int comp = 0 ; comp < components -> NumComponents (); comp ++ ) {
0 commit comments