Skip to content

Commit

Permalink
[cosmetic] - add some comments according to what audio/x-xbmc-pcm is
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed Oct 8, 2012
1 parent 87fb490 commit b8aca98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/cores/dvdplayer/DVDDemuxers/DVDFactoryDemuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ CDVDDemux* CDVDFactoryDemuxer::CreateDemuxer(CDVDInputStream* pInputStream)
// Try to open the AirTunes demuxer
if (pInputStream->IsStreamType(DVDSTREAM_TYPE_FILE) && pInputStream->GetContent().compare("audio/x-xbmc-pcm") == 0 )
{
// audio/x-xbmc-pcm this is the used codec for AirTunes
// (apples audio only streaming)
auto_ptr<CDVDDemuxBXA> demuxer(new CDVDDemuxBXA());
if(demuxer->Open(pInputStream))
return demuxer.release();
Expand Down
2 changes: 2 additions & 0 deletions xbmc/cores/paplayer/CodecFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ ICodec* CodecFactory::CreateCodecDemux(const CStdString& strFile, const CStdStri
return CreateOGGCodec(strFile,filecache);
else if (strContent.Equals("audio/x-xbmc-pcm"))
{
// audio/x-xbmc-pcm this is the used codec for AirTunes
// (apples audio only streaming)
DVDPlayerCodec *dvdcodec = new DVDPlayerCodec();
dvdcodec->SetContentType(strContent);
return dvdcodec;
Expand Down

0 comments on commit b8aca98

Please sign in to comment.