Merge branch 'develop' of git://github.com/Vocaluxe/Vocaluxe into develop

This commit is contained in:
Flamefire committed 2013-04-26 19:01:05 +02:00
commit 81074d5a0a
1 file changed
+5 -3
+5 -3
View File
@@ -26,9 +26,10 @@ namespace Vocaluxe.Lib.Sound
class CGstreamerAudio : IPlayback class CGstreamerAudio : IPlayback
{ {
//static float LastPosition; //static float LastPosition;
private CGstreamerAudioWrapper.LogCallback _LogCallback;
#region log #region log
private static void _LogHandler(string text) private void _LogHandler(string text)
{ {
CLog.LogError(text); CLog.LogError(text);
} }
@@ -36,9 +37,10 @@ namespace Vocaluxe.Lib.Sound
public CGstreamerAudio() public CGstreamerAudio()
{ {
_LogCallback = _LogHandler;
//Is this really needed? CodaAnalyzer complains about it... //Is this really needed? CodaAnalyzer complains about it...
//GC.SuppressFinalize(Log); //GC.SuppressFinalize(_LogCallback);
CGstreamerAudioWrapper.SetLogCallback(_LogHandler); CGstreamerAudioWrapper.SetLogCallback(_LogCallback);
} }
public bool Init() public bool Init()