Skip to content

Commit f00480b

Browse files
committed
cleaning...
1 parent f66beea commit f00480b

4 files changed

Lines changed: 5 additions & 8 deletions

File tree

src/game/client/videoservices/VPXDecoder.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
SOFTWARE.
2323
*/
2424

25+
2526
#ifndef VPXDECODER_HPP
2627
#define VPXDECODER_HPP
2728
#if defined( _WIN32 )
@@ -30,6 +31,7 @@
3031

3132
#include "WebMDemuxer.hpp"
3233

34+
3335
struct vpx_codec_ctx;
3436

3537
class VPXDecoder

src/game/client/videoservices/WebMDemuxer.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
SOFTWARE.
2323
*/
2424

25+
2526
#ifndef WEBMDEMUXER_HPP
2627
#define WEBMDEMUXER_HPP
2728
#if defined( _WIN32 )
@@ -30,6 +31,7 @@
3031

3132
#include <stddef.h>
3233

34+
3335
namespace mkvparser {
3436
class IMkvReader;
3537
class Segment;

src/game/client/videoservices/video_material.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,7 @@ class CVideoMaterial : public IVideoMaterial
206206
unsigned int m_currentFrame;
207207
CUtlQueue< WebMFrame*> m_videoFrames;
208208

209-
#ifdef _LINUX
210-
SDL_AudioSpec* m_pAudioDevice;
211-
Uint8* m_pAudioBuffer;
212-
213-
SDL_AudioStream *m_pSDLAudioStream;
214-
#elif _WIN32
209+
#ifdef _WIN32
215210
IDirectSound* m_pAudioDevice;
216211
IDirectSoundBuffer* m_pAudioBuffer;
217212

src/game/client/videoservices/video_services.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#ifdef _WIN32
2222
#include <Windows.h>
2323
#include "dsound.h"
24-
#elif _LINUX
25-
#include "SDL2/SDL_audio.h"
2624
#endif
2725

2826
class CVideoMaterial;

0 commit comments

Comments
 (0)