Fix include shenanigans

This commit is contained in:
PJB3005
2026-08-06 01:05:19 +02:00
parent cb09860e1f
commit d4ca7b696b
4 changed files with 21 additions and 12 deletions
@@ -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"