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
Remove audiofile global init
Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX
3 years ago
parent
40c00cc360
commit
d9570cef88
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
3 changed files
with
0 additions
and
13 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
source/modules/audio_decoder/ad.h
+0
-2
source/modules/audio_decoder/ad_plugin.c
+0
-8
source/native-plugins/audio-base.hpp
+ 0
- 3
source/modules/audio_decoder/ad.h
View File
@@ -37,9 +37,6 @@ struct adinfo {
int can_seek;
};
/* global init function - register codecs */
void ad_init();
/* --- public API --- */
/** open an audio file
+ 0
- 2
source/modules/audio_decoder/ad_plugin.c
View File
@@ -44,8 +44,6 @@ typedef struct {
/* samplecat api */
void ad_init() { /* global init */ }
static ad_plugin const * choose_backend(const char *fn) {
int max, val;
ad_plugin const *b=NULL;
+ 0
- 8
source/native-plugins/audio-base.hpp
View File
@@ -245,14 +245,6 @@ public:
fResampler(),
fReaderMutex()
{
static bool adInitiated = false;
if (! adInitiated)
{
ad_init();
adInitiated = true;
}
ad_clear_nfo(&fFileNfo);
}
Write
Preview
Loading…
Cancel
Save