HEADERS += \
    $$PWD/code/base/media_common.h \
    $$PWD/code/base/logger.h \
    $$PWD/code/base/media_thread_base.h \
    $$PWD/code/base/types.h \
    $$PWD/code/capture/capture_abstract_capturer.h \
    $$PWD/code/capture/capture_audio_capturer.h \
    $$PWD/code/capture/capture_video_capturer.h \
    $$PWD/code/codec/codec_abstract_codec.h \
    $$PWD/code/codec/codec_audio_decoder.h \
    $$PWD/code/codec/codec_audio_encoder.h \
    $$PWD/code/codec/codec_video_decoder.h \
    $$PWD/code/codec/codec_video_encoder.h \
    $$PWD/code/muxer/muxer_abstract_muxer.h \
    $$PWD/code/muxer/muxer_file_muxer.h \
    $$PWD/code/muxer/muxer_stream_muxer.h \
    $$PWD/code/utils/utils_frame_queue.h \
    $$PWD/code/utils/utils_packet_queue.h \
    $$PWD/code/utils/utils_performance_monitor.h \
    $$PWD/code/utils/utils_synchronizer_v2.h \
    $$PWD/code/utils/utils_thread_pool.h

SOURCES += \
    $$PWD/code/base/media_common.cpp \
    $$PWD/code/base/logger.cpp \
    $$PWD/code/base/media_thread_base.cpp \
    $$PWD/code/capture/capture_abstract_capturer.cpp \
    $$PWD/code/capture/capture_audio_capturer.cpp \
    $$PWD/code/capture/capture_video_capturer.cpp \
    $$PWD/code/codec/codec_abstract_codec.cpp \
    $$PWD/code/codec/codec_audio_decoder.cpp \
    $$PWD/code/codec/codec_audio_encoder.cpp \
    $$PWD/code/codec/codec_video_decoder.cpp \
    $$PWD/code/codec/codec_video_encoder.cpp \
    $$PWD/code/muxer/muxer_abstract_muxer.cpp \
    $$PWD/code/muxer/muxer_file_muxer.cpp \
    $$PWD/code/muxer/muxer_stream_muxer.cpp \
    $$PWD/code/utils/utils_frame_queue.cpp \
    $$PWD/code/utils/utils_packet_queue.cpp \
    $$PWD/code/utils/utils_performance_monitor.cpp \
    $$PWD/code/utils/utils_synchronizer_v2.cpp \
    $$PWD/code/utils/utils_thread_pool.cpp

include($$PWD/code/player/player.pri)
 include($$PWD/code/recorder/recorder.pri)

# Test files (uncomment to enable)
# SOURCES += $$PWD/test_basic.cpp
# SOURCES += $$PWD/test_codec.cpp
# SOURCES += $$PWD/test_decoder.cpp
# SOURCES += $$PWD/test_audio_encoder.cpp
# SOURCES += $$PWD/test_window_capture.cpp
# SOURCES += $$PWD/test_utils.cpp
# SOURCES += $$PWD/test_audio_debug.cpp
# SOURCES += $$PWD/test_player_with_ui.cpp
# SOURCES += $$PWD/test_seek_pause_fixed.cpp
# Example files for PlayerV2 (uncomment to enable)
# SOURCES += $$PWD/code/examples/player_v2_example.cpp

# PlayerV2 Test Configuration (uncomment to enable full test suite)
# include($$PWD/test_playerv2.pri)

# Legacy integration example
# SOURCES += $$PWD/integration_example.cpp



