Skip to content

Commit

Permalink
[ci] macOS build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Apr 6, 2024
1 parent 41246af commit a96f290
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions src/plugins/score-plugin-gfx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,12 @@ if(WIN32)
elseif(APPLE)
target_sources(${PROJECT_NAME} PRIVATE Gfx/CameraDevice.avf.mm)

set_source_files_properties(
Gfx/CameraDevice.avf.mm
PROPERTIES
SKIP_UNITY_BUILD_INCLUSION 1
)

add_subdirectory("${3RDPARTY_FOLDER}/Syphon-Framework" "${CMAKE_CURRENT_BINARY_DIR}/Syphon")
target_link_libraries(${PROJECT_NAME} PRIVATE Syphon)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAS_SYPHON)
Expand Down
12 changes: 6 additions & 6 deletions src/plugins/score-plugin-gfx/Gfx/Libav/AudioFrameEncoder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct AudioFrameEncoder
int target_buffer_size{};
};

struct S16IAudioFrameEncoder : AudioFrameEncoder
struct S16IAudioFrameEncoder final : AudioFrameEncoder
{
using AudioFrameEncoder::AudioFrameEncoder;

Expand All @@ -47,7 +47,7 @@ struct S16IAudioFrameEncoder : AudioFrameEncoder
}
};

struct S24IAudioFrameEncoder : AudioFrameEncoder
struct S24IAudioFrameEncoder final : AudioFrameEncoder
{
using AudioFrameEncoder::AudioFrameEncoder;

Expand All @@ -68,7 +68,7 @@ struct S24IAudioFrameEncoder : AudioFrameEncoder
}
};

struct S32IAudioFrameEncoder : AudioFrameEncoder
struct S32IAudioFrameEncoder final : AudioFrameEncoder
{
using AudioFrameEncoder::AudioFrameEncoder;

Expand All @@ -89,7 +89,7 @@ struct S32IAudioFrameEncoder : AudioFrameEncoder
}
};

struct FltIAudioFrameEncoder : AudioFrameEncoder
struct FltIAudioFrameEncoder final : AudioFrameEncoder
{
using AudioFrameEncoder::AudioFrameEncoder;

Expand All @@ -111,7 +111,7 @@ struct FltIAudioFrameEncoder : AudioFrameEncoder
}
};

struct DblIAudioFrameEncoder : AudioFrameEncoder
struct DblIAudioFrameEncoder final : AudioFrameEncoder
{
using AudioFrameEncoder::AudioFrameEncoder;

Expand All @@ -133,7 +133,7 @@ struct DblIAudioFrameEncoder : AudioFrameEncoder
}
};

struct FltPAudioFrameEncoder : AudioFrameEncoder
struct FltPAudioFrameEncoder final : AudioFrameEncoder
{
using AudioFrameEncoder::AudioFrameEncoder;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ void ProcessGraphicsView::checkAndRemoveCurrentDialog(QPoint pos)
// Close the small output panels (gain/pan, etc) if we're clicking somewhere else
if(auto dialog = this->scene()->activePanel())
{
const auto notChildOfDialog = [this, dialog](QGraphicsItem* item) {
const auto notChildOfDialog = [dialog](QGraphicsItem* item) {
if(!item)
return true;

Expand Down

0 comments on commit a96f290

Please sign in to comment.