Skip to content

Commit

Permalink
AE: refactor IAudioCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Sep 7, 2015
1 parent 8980f4f commit 188a10f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Kodi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3873,6 +3873,7 @@
7CC7B6BF191869EA00DDB120 /* SettingUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SettingUtils.h; sourceTree = "<group>"; };
7CC7B6C619186A8800DDB120 /* SettingConditions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SettingConditions.cpp; sourceTree = "<group>"; };
7CC7B6C719186A8800DDB120 /* SettingConditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SettingConditions.h; sourceTree = "<group>"; };
7CC816681B9B47CF006DA9C5 /* IAudioCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IAudioCallback.h; sourceTree = "<group>"; };
7CC82C9118284F9F0010DF30 /* CharsetDetection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CharsetDetection.cpp; sourceTree = "<group>"; };
7CC82C9218284F9F0010DF30 /* CharsetDetection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CharsetDetection.h; sourceTree = "<group>"; };
7CCD9F6D192753E30074CF51 /* PltAction.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PltAction.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -5018,7 +5019,6 @@
E38E15960D25F9FA00618676 /* DVDSubtitleStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DVDSubtitleStream.cpp; sourceTree = "<group>"; };
E38E15970D25F9FA00618676 /* DVDSubtitleStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DVDSubtitleStream.h; sourceTree = "<group>"; };
E38E159A0D25F9FA00618676 /* IVideoPlayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IVideoPlayer.h; sourceTree = "<group>"; };
E38E15B50D25F9FA00618676 /* IAudioCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IAudioCallback.h; sourceTree = "<group>"; };
E38E15B60D25F9FA00618676 /* IPlayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IPlayer.h; sourceTree = "<group>"; };
E38E15E30D25F9FA00618676 /* AudioDecoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AudioDecoder.cpp; sourceTree = "<group>"; };
E38E15E40D25F9FA00618676 /* AudioDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AudioDecoder.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -8132,6 +8132,7 @@
DFB65F8815373AE7006B8FF1 /* Interfaces */ = {
isa = PBXGroup;
children = (
7CC816681B9B47CF006DA9C5 /* IAudioCallback.h */,
DFB65F8915373AE7006B8FF1 /* AE.h */,
DFB65F8A15373AE7006B8FF1 /* AEEncoder.h */,
DFEB902519E9335E00728978 /* AEResample.h */,
Expand Down Expand Up @@ -8520,7 +8521,6 @@
E38E14F70D25F9F900618676 /* DummyVideoPlayer.h */,
7CF05049190A1D7200222135 /* FFmpeg.cpp */,
7CF0504A190A1D7200222135 /* FFmpeg.h */,
E38E15B50D25F9FA00618676 /* IAudioCallback.h */,
E38E15B60D25F9FA00618676 /* IPlayer.h */,
);
path = cores;
Expand Down
2 changes: 1 addition & 1 deletion xbmc/addons/Visualisation.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once

#include "AddonDll.h"
#include "cores/IAudioCallback.h"
#include "cores/AudioEngine/Interfaces/IAudioCallback.h"
#include "include/xbmc_vis_types.h"
#include "guilib/IRenderingCallback.h"
#include "utils/rfft.h"
Expand Down
2 changes: 1 addition & 1 deletion xbmc/cores/AudioEngine/Interfaces/AEStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

#include "cores/AudioEngine/Utils/AEAudioFormat.h"
#include "cores/IAudioCallback.h"
#include "cores/AudioEngine/Interfaces/IAudioCallback.h"
#include <stdint.h>

extern "C" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_IAUDIOCALLBACK_H__5A6AC7CF_C60E_45B9_8113_599F036FBBF8__INCLUDED_)
#define AFX_IAUDIOCALLBACK_H__5A6AC7CF_C60E_45B9_8113_599F036FBBF8__INCLUDED_

/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
Expand All @@ -25,9 +22,7 @@
*
*/

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class IAudioCallback
{
Expand All @@ -36,7 +31,5 @@ class IAudioCallback
virtual ~IAudioCallback() {};
virtual void OnInitialize(int iChannels, int iSamplesPerSec, int iBitsPerSample) = 0;
virtual void OnAudioData(const float* pAudioData, int iAudioDataLength) = 0;

};

#endif // !defined(AFX_IAUDIOCALLBACK_H__5A6AC7CF_C60E_45B9_8113_599F036FBBF8__INCLUDED_)
2 changes: 1 addition & 1 deletion xbmc/cores/paplayer/PAPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "threads/SharedSection.h"
#include "utils/Job.h"

#include "cores/IAudioCallback.h"
#include "cores/AudioEngine/Interfaces/IAudioCallback.h"
#include "cores/AudioEngine/Utils/AEChannelInfo.h"

class IAEStream;
Expand Down

0 comments on commit 188a10f

Please sign in to comment.