Skip to content

Commit

Permalink
[osx] remove CCoreAudioGraph::ShowGraph, it does a CAShow which dumps…
Browse files Browse the repository at this point in the history
… to console
  • Loading branch information
davilla committed May 12, 2012
1 parent ee6fc2f commit 4b9f16f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
17 changes: 0 additions & 17 deletions xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,6 @@ bool CCoreAudioGraph::Open(ICoreAudioSource *pSource, AEAudioFormat &format,

SetInputSource(pSource);

ShowGraph();

return Start();
}

Expand Down Expand Up @@ -403,7 +401,6 @@ bool CCoreAudioGraph::Start()
CLog::Log(LOGERROR, "CCoreAudioGraph::Start: "
"Error starting audio graph. Error = %s", GetError(ret).c_str());
}
ShowGraph();
}

return true;
Expand Down Expand Up @@ -488,10 +485,6 @@ CAUOutputDevice *CCoreAudioGraph::DestroyUnit(CAUOutputDevice *outputUnit)

AUGraphUpdate(m_audioGraph, NULL);

printf("Remove unit\n\n");
ShowGraph();
printf("\n");

Start();

return NULL;
Expand Down Expand Up @@ -551,11 +544,6 @@ CAUOutputDevice *CCoreAudioGraph::CreateUnit(AEAudioFormat &format)


AUGraphUpdate(m_audioGraph, NULL);

printf("Add unit\n\n");
ShowGraph();
printf("\n");

m_auUnitList.push_back(outputUnit);

return outputUnit;
Expand Down Expand Up @@ -609,8 +597,3 @@ int CCoreAudioGraph::GetMixerChannelOffset(int busNumber)
}
return offset;
}

void CCoreAudioGraph::ShowGraph()
{
CAShow(m_audioGraph);
}
1 change: 0 additions & 1 deletion xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class CCoreAudioGraph
void ReleaseBus(int busNumber);
bool IsBusFree(int busNumber);
int GetMixerChannelOffset(int busNumber);
void ShowGraph();
};

#endif

0 comments on commit 4b9f16f

Please sign in to comment.