Skip to content

Commit cfca08b

Browse files
committed
audio/playback/*: IWYU
1 parent ca93e7d commit cfca08b

File tree

4 files changed

+23
-18
lines changed

4 files changed

+23
-18
lines changed

src/audio/playback/coreaudio.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,15 @@
4848

4949
#include <AudioUnit/AudioUnit.h>
5050
#include <Availability.h>
51+
#include <MacTypes.h>
52+
#include <cassert>
53+
#include <cstdio>
5154
#include <chrono>
5255
#include <cinttypes>
5356
#include <climits>
5457
#include <CoreAudio/AudioHardware.h>
5558
#include <iostream>
59+
#include <stdexcept>
5660
#include <stdlib.h>
5761
#include <string>
5862
#include <string.h>

src/audio/playback/decklink.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@
3737
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3838
*/
3939

40-
#ifdef HAVE_CONFIG_H
41-
#include "config.h"
42-
#include "config_unix.h"
43-
#include "config_win32.h"
44-
#endif
45-
40+
#include <cassert> // for assert
41+
#include <cstdint> // for uint32_t
42+
#include <cstdio> // for printf, fprintf, stderr
43+
#include <cstdlib> // for NULL, free, atoi, calloc, malloc
44+
#include <cstring> // for memcpy, strlen, strcpy, strtok_r
4645
#include <iostream>
4746

4847
#include "audio/audio_playback.h"
4948
#include "audio/types.h"
5049
#include "audio/utils.h"
5150
#include "blackmagic_common.hpp"
51+
#include "compat/strings.h" // for strcasecmp, strncasecmp
5252
#include "debug.h"
5353
#include "host.h"
5454
#include "lib_common.h"

src/audio/playback/dump.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,16 @@
3535
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3636
*/
3737

38-
#ifdef HAVE_CONFIG_H
39-
#include "config.h"
40-
#include "config_unix.h"
41-
#include "config_win32.h"
42-
#endif
43-
38+
#include <cstdio> // for printf
39+
#include <cstdlib> // for free
40+
#include <cstring> // for memcpy, size_t, strcmp, strlen, NULL
41+
#include <memory> // for unique_ptr
4442
#include <string>
4543

46-
#include "debug.h"
4744
#include "audio/export.h"
4845
#include "audio/audio_playback.h"
4946
#include "audio/types.h"
47+
#include "host.h" // for INIT_NOERR
5048
#include "lib_common.h"
5149

5250
namespace{

src/audio/playback/pipewire.cpp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,15 @@
3535
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3636
*/
3737

38-
#ifdef HAVE_CONFIG_H
39-
#include "config.h"
40-
#include "config_unix.h"
41-
#endif
42-
38+
#include <algorithm> // for min
39+
#include <cassert> // for assert
40+
#include <cstddef> // for byte, size_t
41+
#include <cstdint> // for INT32_MAX, uint32_t
42+
#include <cstdlib> // for calloc, free
43+
#include <cstring> // for strcpy, memcpy
4344
#include <memory>
45+
#include <string> // for char_traits, basic_string
46+
#include <string_view> // for operator==, basic_string_view
4447

4548
#include "audio/audio_playback.h"
4649
#include "audio/types.h"

0 commit comments

Comments
 (0)