acap/{none,sdi}: IWYU

This commit is contained in:
Martin Pulec
2025-08-11 07:54:23 +02:00
parent b77f1de071
commit c725630e1c
2 changed files with 26 additions and 33 deletions

View File

@@ -8,7 +8,7 @@
* Dalibor Matura <255899@mail.muni.cz>
* Ian Wesley-Smith <iwsmith@cct.lsu.edu>
*
* Copyright (c) 2005-2023 CESNET z.s.p.o.
* Copyright (c) 2005-2025 CESNET
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted provided that the following conditions
@@ -46,18 +46,14 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config_unix.h"
#include "config_win32.h"
#endif
#include "audio/audio_capture.h"
#include "debug.h"
#include "lib_common.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h> // for assert
#include <stdint.h> // for uint32_t
#include <stdlib.h> // for free, NULL, malloc
#include "audio/audio_capture.h" // for AUDIO_CAPTURE_ABI_VERSION, audio_ca...
#include "debug.h" // for UNUSED
#include "lib_common.h" // for REGISTER_MODULE, library_class
struct device_info;
struct module;
#define AUDIO_CAPTURE_NONE_MAGIC 0x43fb99ccu

View File

@@ -3,7 +3,7 @@
* @author Martin Pulec <pulec@cesnet.cz>
*/
/*
* Copyright (c) 2011-2023 CESNET, z. s. p. o.
* Copyright (c) 2011-2025 CESNET
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -35,27 +35,24 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config_unix.h"
#include "config_win32.h"
#endif // HAVE_CONFIG_H
#include "audio/audio_capture.h"
#include "audio/capture/sdi.h"
#include "audio/types.h"
#include "debug.h"
#include "host.h"
#include "lib_common.h"
#include "types.h"
#include <condition_variable>
#include <chrono>
#include <mutex>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <chrono> // for milliseconds
#include <condition_variable> // for condition_variable
#include <cstdio> // for printf, snprintf, NULL
#include <cstdlib> // for free, calloc, malloc
#include <cstring> // for memcpy, strcmp, strncpy
#include <mutex> // for mutex, unique_lock
#include <ostream> // for basic_ostream, operator<<, basic_ios
#include <string> // for basic_string, char_traits, hash
#include <unordered_map> // for unordered_map, operator!=
#include "audio/audio_capture.h" // for AUDIO_CAPTURE_ABI_VERSION, audio_ca...
#include "audio/types.h" // for audio_frame
#include "debug.h" // for LOG, LOG_LEVEL_WARNING, UNUSED
#include "host.h" // for commandline_params, INIT_NOERR
#include "lib_common.h" // for REGISTER_MODULE, library_class
#include "types.h" // for device_info, frame_flags_common
#define DEFAULT_BUF_SIZE_MS 100L