VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMeafSource.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
6 #pragma once
7 
11 
12 #include <vrvAudio/vrvAudio.h>
13 #include <makAudio/source.h>
14 #include <string>
15 
16 namespace makVrv
17 {
22  class DT_DLL_VRVAUDIO DtMeafSource : public makAudio::DtSource
23  {
24  public:
29  explicit DtMeafSource(const DtFilename& filename, bool forceMono = false, ALCcontext* context = nullptr);
30 
32  virtual ~DtMeafSource();
33 
36  virtual bool load();
37 
40  virtual bool unLoad();
41 
43  virtual void reset();
44 
46  virtual void finishedBuffer(unsigned int bufferId);
47 
51  virtual makAudio::DtAudioBuffer* nextBuffer(unsigned int& nextBufferIndex);
52 
53  private:
55  };
56 
58  class DT_DLL_VRVAUDIO DtMeafSourceCreator : public makAudio::DtSourceCreator
59  {
60  public:
65  virtual makAudio::DtSource* create(const DtFilename& filename, bool is3d, ALCcontext* context = nullptr);
66  };
67 
77  DT_DLL_VRVAUDIO std::string DtMeafFallbackPath(const std::string& wavPath);
78 }
struct ALCcontext_struct ALCcontext
Definition: radioAudioManager.h:27
Contains the DLL export macro for vrvAudio classes.
Creator registered with makAudio::DtAudioManager for the &quot;meaf&quot; extension.
Definition: DtMeafSource.h:58
Loads a .meaf (MAK Encrypted Audio Format) file as a makAudio::DtSource.
Definition: DtMeafSource.h:22
DT_DLL_VRVAUDIO std::string DtMeafFallbackPath(const std::string &wavPath)
Returns the MEAF fallback path for a resolved WAV path.
bool myForceMono
Definition: DtMeafSource.h:54
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)