This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
Carla
mirror of
https://github.com/falkTX/Carla
Watch
1
Star
0
Fork
0
Code
Releases
42
Activity
Browse Source
Even more msvc compat
Signed-off-by: falkTX <falktx@falktx.com>
pull/1780/head
falkTX
1 year ago
parent
944460ac74
commit
5cceaa18a4
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
4 changed files
with
12 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
cmake/CMakeLists.txt
+8
-1
source/modules/audio_decoder/ad.h
+0
-2
source/modules/audio_decoder/ad_dr_mp3.c
+2
-1
source/modules/audio_decoder/ad_plugin.h
+ 2
- 0
cmake/CMakeLists.txt
View File
@@ -881,6 +881,8 @@ target_link_libraries(carla-utils
PkgConfig::FLUIDSYNTH
PkgConfig::X11
${CARLA_PTHREADS}
PUBLIC
$<$<BOOL:${WIN32}>:winmm>
)
target_sources(carla-utils
+ 8
- 1
source/modules/audio_decoder/ad.h
View File
@@ -23,9 +23,16 @@
#ifndef __AD_H__
#define __AD_H__
#include <
uni
std.h>
#include <std
def
.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <basetsd.h>
typedef SSIZE_T ssize_t;
#else
#include <sys/types.h>
#endif
struct adinfo {
unsigned int sample_rate;
unsigned int channels;
+ 0
- 2
source/modules/audio_decoder/ad_dr_mp3.c
View File
@@ -20,8 +20,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <math.h>
#include "ad_plugin.h"
+ 2
- 1
source/modules/audio_decoder/ad_plugin.h
View File
@@ -16,9 +16,10 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __AD_PLUGIN_H__
#define __AD_PLUGIN_H__
#include <stdint.h>
#include "ad.h"
#define dbg(A, B, ...) ad_debug_printf(__func__, A, B, ##__VA_ARGS__)
Write
Preview
Loading…
Cancel
Save