mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-09 02:15:44 -04:00
Fix include shenanigans
This commit is contained in:
@@ -17,17 +17,7 @@ namespace JASDsp {
|
||||
}
|
||||
|
||||
#if TARGET_PC
|
||||
/**
|
||||
* An object to manage the lifetime of the sample data pointed to by JASChannel.
|
||||
*
|
||||
* JASChannel can (optionally) accept an unique_ptr to an object to this type,
|
||||
* in which case it will be destroyed when the JASChannel is done.
|
||||
*
|
||||
* @see JASChannel::mSampleReference
|
||||
*/
|
||||
struct JASSampleDataReference {
|
||||
virtual ~JASSampleDataReference() = default;
|
||||
};
|
||||
#include "JSystem/JAudio2/JASSampleDataReference.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
#ifndef DUSKLIGHT_JASSAMPLEDATAREFERENCE_H
|
||||
#define DUSKLIGHT_JASSAMPLEDATAREFERENCE_H
|
||||
|
||||
#if TARGET_PC
|
||||
/**
|
||||
* An object to manage the lifetime of the sample data pointed to by JASChannel.
|
||||
*
|
||||
* JASChannel can (optionally) accept an unique_ptr to an object to this type,
|
||||
* in which case it will be destroyed when the JASChannel is done.
|
||||
*
|
||||
* @see JASChannel::mSampleReference
|
||||
*/
|
||||
struct JASSampleDataReference {
|
||||
virtual ~JASSampleDataReference() = default;
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif // DUSKLIGHT_JASSAMPLEDATAREFERENCE_H
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <memory>
|
||||
|
||||
#if TARGET_PC
|
||||
struct JASSampleDataReference;
|
||||
#include "JSystem/JAudio2/JASSampleDataReference.h"
|
||||
#endif
|
||||
|
||||
struct JASWaveArc;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include "JSystem/JAudio2/JASChannel.h"
|
||||
#include "JSystem/JAudio2/JASWaveInfo.h"
|
||||
#include "absl/container/flat_hash_map.h"
|
||||
|
||||
Reference in New Issue
Block a user