Merge branch 'develop' of git://github.com/Vocaluxe/Vocaluxe into develop
This commit is contained in:
commit
81074d5a0a
1 file changed
+5
-3
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user