cAudio 2.3.0
3d Audio Engine
Loading...
Searching...
No Matches
cOggAudioDecoderFactory.h
1// Copyright (c) 2008-2011 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones, Murat (wolfmanfx) Sari
2// This file is part of the "cAudio Engine"
3// For conditions of distribution and use, see copyright notice in cAudio.h
4
5#pragma once
6
7#include "IAudioDecoderFactory.h"
8#include "cOggDecoder.h"
9#include "cMutex.h"
10
11#if CAUDIO_COMPILE_WITH_OGG_DECODER == 1
12
13namespace cAudio
14{
15 class cOggAudioDecoderFactory : public IAudioDecoderFactory
16 {
17 public:
18 cOggAudioDecoderFactory() {}
19 ~cOggAudioDecoderFactory() {}
20
21 IAudioDecoder* CreateAudioDecoder(IDataSource* stream)
22 {
23 return CAUDIO_NEW cOggDecoder(stream);
24 }
25 };
26};
27
28#endif
Main namespace for the entire cAudio library.
Definition: cAudioCapture.h:16