@@ -7,12 +7,11 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
77# These are needed only for the IDE
88set (HEADER_FILES
99 application/application.hpp
10- application/instrument_request.hpp
11- application/command/note_edit_command.hpp
1210 application/command/automation_command.hpp
1311 application/command/composite_command.hpp
12+ application/command/note_edit_command.hpp
1413 application/command/undo_stack.hpp
15- view/qml/Editor/line_number_renderer .hpp
14+ application/instrument_request .hpp
1615 application/models/audio_settings_model.hpp
1716 application/models/column_settings_model.hpp
1817 application/models/event_selection_model.hpp
@@ -24,10 +23,9 @@ set(HEADER_FILES
2423 application/models/note_column_model_handler.hpp
2524 application/models/pitch_bend_automations_model.hpp
2625 application/models/recent_files_model.hpp
27- application/models/track_settings_model.hpp
2826 application/models/sampler/sampler_pad_model.hpp
27+ application/models/track_settings_model.hpp
2928 application/note_converter.hpp
30- view/qml/Editor/note_column_renderer.hpp
3129 application/position.hpp
3230 application/service/application_service.hpp
3331 application/service/audio_service.hpp
@@ -58,9 +56,9 @@ set(HEADER_FILES
5856 common/constants.hpp
5957 common/utils.hpp
6058 common/waveform_generator.hpp
59+ domain/arpeggiator.hpp
6160 domain/automation.hpp
6261 domain/automation_location.hpp
63- domain/arpeggiator.hpp
6462 domain/column.hpp
6563 domain/column_settings.hpp
6664 domain/devices/device.hpp
@@ -88,12 +86,17 @@ set(HEADER_FILES
8886 domain/side_chain_settings.hpp
8987 domain/song.hpp
9088 domain/track.hpp
89+ infra/audio/async_audio_file_reader.hpp
90+ infra/audio/async_audio_file_writer.hpp
9191 infra/audio/audio_engine.hpp
92+ infra/audio/audio_player.hpp
9293 infra/audio/audio_recorder.hpp
9394 infra/audio/backend/audio_file_reader.hpp
9495 infra/audio/backend/sndfile_reader.hpp
96+ infra/audio/implementation/alsa/audio_player_alsa.hpp
97+ infra/audio/implementation/alsa/audio_recorder_alsa.hpp
98+ infra/audio/implementation/jack/audio_player_jack.hpp
9599 infra/audio/implementation/jack/audio_recorder_jack.hpp
96- infra/audio/implementation/librtaudio/audio_recorder_rt_audio.hpp
97100 infra/audio/ring_buffer.hpp
98101 infra/midi/export/midi_exporter.hpp
99102 infra/midi/import/midi_importer.hpp
@@ -110,16 +113,17 @@ set(HEADER_FILES
110113 infra/video/default_animation.hpp
111114 infra/video/video_config.hpp
112115 infra/video/video_generator.hpp
116+ view/qml/Editor/line_number_renderer.hpp
117+ view/qml/Editor/note_column_renderer.hpp
113118)
114119
115120set (SOURCE_FILES
116121 application/application.cpp
117- application/instrument_request.cpp
118- application/command/note_edit_command.cpp
119122 application/command/automation_command.cpp
120123 application/command/composite_command.cpp
124+ application/command/note_edit_command.cpp
121125 application/command/undo_stack.cpp
122- view/qml/Editor/line_number_renderer .cpp
126+ application/instrument_request .cpp
123127 application/models/audio_settings_model.cpp
124128 application/models/column_settings_model.cpp
125129 application/models/event_selection_model.cpp
@@ -131,11 +135,10 @@ set(SOURCE_FILES
131135 application/models/note_column_model_handler.cpp
132136 application/models/pitch_bend_automations_model.cpp
133137 application/models/recent_files_model.cpp
134- application/models/track_settings_model.cpp
135138 application/models/sampler/sampler_model.cpp
136139 application/models/sampler/sampler_pad_model.cpp
140+ application/models/track_settings_model.cpp
137141 application/note_converter.cpp
138- view/qml/Editor/note_column_renderer.cpp
139142 application/service/application_service.cpp
140143 application/service/audio_service.cpp
141144 application/service/audio_worker.cpp
@@ -166,11 +169,13 @@ set(SOURCE_FILES
166169 common/constants.cpp
167170 common/utils.cpp
168171 common/waveform_generator.cpp
172+ domain/arpeggiator.cpp
169173 domain/automation.cpp
170174 domain/automation_location.cpp
171- domain/arpeggiator.cpp
172175 domain/column.cpp
173176 domain/column_settings.cpp
177+ domain/devices/device.cpp
178+ domain/devices/sampler_device.cpp
174179 domain/event.cpp
175180 domain/event_data.cpp
176181 domain/instrument.cpp
@@ -192,16 +197,16 @@ set(SOURCE_FILES
192197 domain/play_order.cpp
193198 domain/song.cpp
194199 domain/track.cpp
195- domain/devices/device .cpp
196- domain/devices/sampler_device .cpp
200+ infra/audio/async_audio_file_reader .cpp
201+ infra/audio/async_audio_file_writer .cpp
197202 infra/audio/audio_engine.cpp
198- infra/audio/audio_recorder.cpp
199203 infra/audio/audio_player.cpp
204+ infra/audio/audio_recorder.cpp
200205 infra/audio/backend/sndfile_reader.cpp
201- infra/audio/implementation/jack/audio_recorder_jack.cpp
206+ infra/audio/implementation/alsa/audio_player_alsa.cpp
207+ infra/audio/implementation/alsa/audio_recorder_alsa.cpp
202208 infra/audio/implementation/jack/audio_player_jack.cpp
203- infra/audio/implementation/librtaudio/audio_recorder_rt_audio.cpp
204- infra/audio/implementation/librtaudio/audio_player_rt_audio.cpp
209+ infra/audio/implementation/jack/audio_recorder_jack.cpp
205210 infra/midi/export/midi_exporter.cpp
206211 infra/midi/import/midi_importer.cpp
207212 infra/midi/implementation/librtmidi/midi_in_rt_midi.cpp
@@ -217,6 +222,8 @@ set(SOURCE_FILES
217222 infra/video/default_animation.cpp
218223 infra/video/video_generator.cpp
219224 main.cpp
225+ view/qml/Editor/line_number_renderer.cpp
226+ view/qml/Editor/note_column_renderer.cpp
220227)
221228
222229qt_add_executable (${BINARY_NAME} ${HEADER_FILES} ${SOURCE_FILES} )
@@ -354,7 +361,7 @@ qt_add_qml_module(${BINARY_NAME}
354361
355362target_include_directories (${BINARY_NAME} PRIVATE contrib/SimpleLogger/src )
356363target_include_directories (${BINARY_NAME} PRIVATE contrib/Argengine/src )
357- target_include_directories (${BINARY_NAME} PRIVATE ${RTAUDIO_INCLUDE_DIRS } )
364+ target_include_directories (${BINARY_NAME} PRIVATE ${ALSA_INCLUDE_DIRS } )
358365target_include_directories (${BINARY_NAME} PRIVATE ${SNDFILE_INCLUDE_DIRS} )
359366
360367target_compile_definitions (${BINARY_NAME} PRIVATE $<$<OR :$<CONFIG :Debug >,$<CONFIG :RelWithDebInfo >>:QT_QML_DEBUG >)
@@ -365,7 +372,7 @@ if(ENABLE_MIDI_DEBUG)
365372 target_compile_definitions (${BINARY_NAME} PRIVATE ENABLE_MIDI_DEBUG )
366373endif ()
367374
368- target_link_libraries (${BINARY_NAME} PRIVATE Qt6::Core Qt6::Quick ${RTMIDI_LIBRARIES} ${RTAUDIO_LIBRARIES } ${SNDFILE_LIBRARIES} SimpleLogger_static Argengine_static )
375+ target_link_libraries (${BINARY_NAME} PRIVATE Qt6::Core Qt6::Quick ${RTMIDI_LIBRARIES} ${ALSA_LIBRARIES } ${SNDFILE_LIBRARIES} SimpleLogger_static Argengine_static )
369376
370377if (JACK_FOUND)
371378 target_include_directories (${BINARY_NAME} PRIVATE ${JACK_INCLUDE_DIRS} )
0 commit comments