Skip to content

Commit

Permalink
remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
spiff committed May 14, 2012
1 parent f373a7d commit 7039846
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xbmc/cores/AudioEngine/Engines/PulseAE/PulseAE.cpp
Expand Up @@ -301,8 +301,6 @@ static void SinkInfo(pa_context *c, const pa_sink_info *i, int eol, void *userda
if (add)
{
CStdString desc, sink;
if (sinkStruct->list->size() == 0)
sinkStruct->list->push_back(AEDevice("(PulseAudio)", "pulse:default@default"));
desc.Format("%s (PulseAudio)", i->description);
sink.Format("pulse:%s@default", i->name);
sinkStruct->list->push_back(AEDevice(desc, sink));
Expand Down

0 comments on commit 7039846

Please sign in to comment.