mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 07:50:49 +00:00
Deprecate OSS driver
This commit is contained in:
parent
dc24dcd435
commit
3229899a34
1 changed files with 33 additions and 0 deletions
|
@ -123,6 +123,17 @@ new_fluid_oss_audio_driver(fluid_settings_t *settings, fluid_synth_t *synth)
|
|||
char *devname = NULL;
|
||||
int format;
|
||||
|
||||
FLUID_LOG(FLUID_WARN,
|
||||
"\n\n"
|
||||
"================= OSS audio driver has been deprecated! ==================\n"
|
||||
"You're using the OSS driver. This driver is old, unmaintained and believed\n"
|
||||
"to be unused. If you still need it, pls. let us know by posting to our\n"
|
||||
"mailing list at fluid-dev@nongnu.org - otherwise this driver might be removed\n"
|
||||
"in a future release of FluidSynth!\n"
|
||||
"================= OSS audio driver has been deprecated! ==================\n"
|
||||
"\n"
|
||||
);
|
||||
|
||||
dev = FLUID_NEW(fluid_oss_audio_driver_t);
|
||||
|
||||
if(dev == NULL)
|
||||
|
@ -296,6 +307,17 @@ new_fluid_oss_audio_driver2(fluid_settings_t *settings, fluid_audio_func_t func,
|
|||
int realtime_prio = 0;
|
||||
int format;
|
||||
|
||||
FLUID_LOG(FLUID_WARN,
|
||||
"\n\n"
|
||||
"================= OSS audio driver has been deprecated! ==================\n"
|
||||
"You're using the OSS driver. This driver is old, unmaintained and believed\n"
|
||||
"to be unused. If you still need it, pls. let us know by posting to our\n"
|
||||
"mailing list at fluid-dev@nongnu.org - otherwise this driver might be removed\n"
|
||||
"in a future release of FluidSynth!\n"
|
||||
"================= OSS audio driver has been deprecated! ==================\n"
|
||||
"\n"
|
||||
);
|
||||
|
||||
dev = FLUID_NEW(fluid_oss_audio_driver_t);
|
||||
|
||||
if(dev == NULL)
|
||||
|
@ -607,6 +629,17 @@ new_fluid_oss_midi_driver(fluid_settings_t *settings,
|
|||
int realtime_prio = 0;
|
||||
char *device = NULL;
|
||||
|
||||
FLUID_LOG(FLUID_WARN,
|
||||
"\n\n"
|
||||
"================= OSS MIDI driver has been deprecated! ==================\n"
|
||||
"You're using the OSS driver. This driver is old, unmaintained and believed\n"
|
||||
"to be unused. If you still need it, pls. let us know by posting to our\n"
|
||||
"mailing list at fluid-dev@nongnu.org - otherwise this driver might be removed\n"
|
||||
"in a future release of FluidSynth!\n"
|
||||
"================= OSS MIDI driver has been deprecated! ==================\n"
|
||||
"\n"
|
||||
);
|
||||
|
||||
/* not much use doing anything */
|
||||
if(handler == NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue