Skip to content

Commit

Permalink
Update cleo_plugins/Audio/CAudioStream.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Seemann <[email protected]>
  • Loading branch information
MiranDMC and x87 authored Oct 12, 2024
1 parent 6b9ba0d commit 6d9d67f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cleo_plugins/Audio/CAudioStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ using namespace CLEO;

CAudioStream::CAudioStream(const char* filepath)
{
static_assert(offsetof(CAudioStream, streamInternal) == 4, "CAudioStream compatibility with CLEO4 broken!");
// see https://github.com/cleolibrary/CLEO5/pull/230
static_assert(offsetof(CAudioStream, streamInternal) == 4 && alignof(CAudioStream) == 4, "CAudioStream compatibility with CLEO4 broken!");

if (isNetworkSource(filepath) && !CSoundSystem::allowNetworkSources)
{
Expand Down

0 comments on commit 6d9d67f

Please sign in to comment.