Skip to content

Commit 2387e8b

Browse files
committed
Windows-related changes in multimedia streams
1 parent 28f7668 commit 2387e8b

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

include/private/mm/MMIOReader.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 24 апр. 2020 г.
@@ -24,7 +24,7 @@
2424

2525
#include <lsp-plug.in/runtime/version.h>
2626

27-
#ifndef USE_LIBSNDFILE
27+
#ifdef PLATFORM_WINDOWS
2828

2929
#include <lsp-plug.in/common/types.h>
3030
#include <lsp-plug.in/common/status.h>
@@ -110,6 +110,6 @@ namespace lsp
110110
} /* namespace mm */
111111
} /* namespace lsp */
112112

113-
#endif /* USE_LIBSNDFILE */
113+
#endif /* PLATFORM_WINDOWS */
114114

115115
#endif /* PRIVATE_MM_MMIOREADER_H_ */

include/private/mm/MMIOWriter.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 25 апр. 2020 г.
@@ -24,7 +24,7 @@
2424

2525
#include <lsp-plug.in/runtime/version.h>
2626

27-
#ifndef USE_LIBSNDFILE
27+
#ifdef PLATFORM_WINDOWS
2828

2929
#include <lsp-plug.in/common/types.h>
3030
#include <lsp-plug.in/common/status.h>
@@ -117,6 +117,6 @@ namespace lsp
117117
} /* namespace mm */
118118
} /* namespace lsp */
119119

120-
#endif /* USE_LIBSNDFILE */
120+
#endif /* PLATFORM_WINDOWS */
121121

122122
#endif /* PRIVATE_MM_MMIOWRITER_H_ */

src/main/mm/MMIOReader.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 24 апр. 2020 г.
@@ -19,7 +19,7 @@
1919
* along with lsp-runtime-lib. If not, see <https://www.gnu.org/licenses/>.
2020
*/
2121

22-
#ifndef USE_LIBSNDFILE
22+
#ifdef PLATFORM_WINDOWS
2323

2424
#include <lsp-plug.in/common/alloc.h>
2525
#include <lsp-plug.in/common/debug.h>
@@ -230,4 +230,4 @@ namespace lsp
230230

231231
} /* namespace mm */
232232
} /* namespace lsp */
233-
#endif /* USE_LIBSNDFILE */
233+
#endif /* PLATFORM_WINDOWS */

src/main/mm/MMIOWriter.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 25 апр. 2020 г.
@@ -22,7 +22,7 @@
2222
#include <lsp-plug.in/common/endian.h>
2323
#include <private/mm/MMIOWriter.h>
2424

25-
#ifndef USE_LIBSNDFILE
25+
#ifdef PLATFORM_WINDOWS
2626
namespace lsp
2727
{
2828
namespace mm
@@ -225,4 +225,4 @@ namespace lsp
225225
} /* namespace mm */
226226
} /* namespace lsp */
227227

228-
#endif /* USE_LIBSNDFILE */
228+
#endif /* PLATFORM_WINDOWS */

0 commit comments

Comments
 (0)