Skip to content

Commit

Permalink
Merge pull request #13169 from FernetMenta/nullsink
Browse files Browse the repository at this point in the history
AE: drop null sink
  • Loading branch information
FernetMenta committed Dec 11, 2017
2 parents 014d7f6 + 2226b46 commit 66747ba
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 228 deletions.
4 changes: 1 addition & 3 deletions xbmc/cores/AudioEngine/CMakeLists.txt
Expand Up @@ -20,8 +20,7 @@ set(SOURCES AEResampleFactory.cpp
Utils/AELimiter.cpp
Utils/AEPackIEC61937.cpp
Utils/AEStreamInfo.cpp
Utils/AEUtil.cpp
Sinks/AESinkNULL.cpp)
Utils/AEUtil.cpp)

set(HEADERS AEResampleFactory.h
AESinkFactory.h
Expand All @@ -47,7 +46,6 @@ set(HEADERS AEResampleFactory.h
Interfaces/AEStream.h
Interfaces/IAudioCallback.h
Interfaces/ThreadedAE.h
Sinks/AESinkNULL.h
Utils/AEAudioFormat.h
Utils/AEBitstreamPacker.h
Utils/AEChannelData.h
Expand Down
10 changes: 0 additions & 10 deletions xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp
Expand Up @@ -836,16 +836,6 @@ void CActiveAESink::OpenSink()
m_sink = CAESinkFactory::Create(device, m_sinkFormat);
}

// open NULL sink
//! @todo should not be required by ActiveAE
if (!m_sink)
{
device = "NULL:NULL";
m_sinkFormat = m_requestedFormat;
CLog::Log(LOGDEBUG, "CActiveAESink::OpenSink - open NULL sink");
m_sink = CAESinkFactory::Create(device, m_sinkFormat);
}

if (!m_sink)
{
CLog::Log(LOGERROR, "CActiveAESink::OpenSink - no sink was returned");
Expand Down
161 changes: 0 additions & 161 deletions xbmc/cores/AudioEngine/Sinks/AESinkNULL.cpp

This file was deleted.

54 changes: 0 additions & 54 deletions xbmc/cores/AudioEngine/Sinks/AESinkNULL.h

This file was deleted.

0 comments on commit 66747ba

Please sign in to comment.