diff options
author | wm4 <wm4@mplayer2.org> | 2012-07-28 20:20:17 +0200 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-07-28 20:44:59 +0200 |
commit | 16145ff43fd92947cb8fe301ebce46e7be52a9fb (patch) | |
tree | 5a5ade633d922f416d3b1c7c68e8aff878da9a8f /libao2/audio_out.c | |
parent | f03eed6469e34a5bff975ed43292016a621296ea (diff) | |
download | mpv-16145ff43fd92947cb8fe301ebce46e7be52a9fb.tar.bz2 mpv-16145ff43fd92947cb8fe301ebce46e7be52a9fb.tar.xz |
libvo, libao: remove useless video and audio output drivers
Some of these have only limited use, and some of these have no use at
all. Remove them. They make maintainance harder and nobody needs them.
It's possible that many of the removed drivers were very useful a dozen
of years ago, but now it's 2012.
Note that some of these could be added back, in case they were more
useful than I thought. But right now, they are just a burden.
Reason for removal for each module:
vo_3dfx, vo_dfbmga, vo_dxr3, vo_ivtv, vo_mga, vo_s3fb,
vo_tdfxfb, vo_xmga, vo_tdfx_vid:
All of these are for very specific and outdated hardware. Some
of them require non-standard kernel drivers or do direct HW
access.
vo_dga: the most crappy and ancient way to get fast output on X.
vo_aa: there's vo_caca for the same purpose.
vo_ggi: this never lived, and is entirely useless.
vo_mpegpes: for DVB cards, I can't test this and it's crappy.
vo_fbdev, vo_fbdev2: there's vo_directfb2
vo_bl: what is this even? But it's neither important, nor alive.
vo_svga, vo_vesa: you want to use this? You can't be serious.
vo_wii: I can't test this, and who the hell uses this?
vo_xvr100: some Sun thing.
vo_xover: only useful in connection with xvr100.
ao_nas: still alive, but I doubt it has any meaning today.
ao_sun: Sun.
ao_win32: use ao_dsound or ao_portaudio instead.
ao_ivtv: removed along vo_ivtv.
Also get rid of anything SDL related. SDL 1.x is total crap for video
output, and will be replaced with SDL 2.x soon (perhaps), so if you
want to use SDL, write output drivers for SDL 2.x.
Additionally, I accidentally damaged Sun support, which made me
completely remove Sun/Solaris support. Nobody cares about this anyway.
Some left overs from previous commits removing modules were cleaned up.
Diffstat (limited to 'libao2/audio_out.c')
-rw-r--r-- | libao2/audio_out.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libao2/audio_out.c b/libao2/audio_out.c index 36b3e2d7c6..6836963d66 100644 --- a/libao2/audio_out.c +++ b/libao2/audio_out.c @@ -34,25 +34,14 @@ char *ao_subdevice = NULL; extern const struct ao_driver audio_out_oss; extern const struct ao_driver audio_out_coreaudio; -extern const struct ao_driver audio_out_arts; extern const struct ao_driver audio_out_rsound; -extern const struct ao_driver audio_out_esd; extern const struct ao_driver audio_out_pulse; extern const struct ao_driver audio_out_jack; extern const struct ao_driver audio_out_openal; extern const struct ao_driver audio_out_null; extern const struct ao_driver audio_out_alsa; -extern const struct ao_driver audio_out_nas; -extern const struct ao_driver audio_out_sdl; -extern const struct ao_driver audio_out_sun; -extern const struct ao_driver audio_out_sgi; -extern const struct ao_driver audio_out_win32; extern const struct ao_driver audio_out_dsound; -extern const struct ao_driver audio_out_kai; -extern const struct ao_driver audio_out_dart; -extern const struct ao_driver audio_out_ivtv; extern const struct ao_driver audio_out_v4l2; -extern const struct ao_driver audio_out_mpegpes; extern const struct ao_driver audio_out_pcm; extern const struct ao_driver audio_out_pss; extern const struct ao_driver audio_out_portaudio; @@ -62,15 +51,6 @@ static const struct ao_driver * const audio_out_drivers[] = { #ifdef CONFIG_DIRECTX &audio_out_dsound, #endif -#ifdef CONFIG_WIN32WAVEOUT - &audio_out_win32, -#endif -#ifdef CONFIG_KAI - &audio_out_kai, -#endif -#ifdef CONFIG_DART - &audio_out_dart, -#endif #ifdef CONFIG_COREAUDIO &audio_out_coreaudio, #endif @@ -86,26 +66,13 @@ static const struct ao_driver * const audio_out_drivers[] = { #ifdef CONFIG_PORTAUDIO &audio_out_portaudio, #endif -#ifdef CONFIG_SUN_AUDIO - &audio_out_sun, -#endif // wrappers: #ifdef CONFIG_JACK &audio_out_jack, #endif -#ifdef CONFIG_NAS - &audio_out_nas, -#endif #ifdef CONFIG_OPENAL &audio_out_openal, #endif -#ifdef CONFIG_SDL - &audio_out_sdl, -#endif - &audio_out_mpegpes, -#ifdef CONFIG_IVTV - &audio_out_ivtv, -#endif #ifdef CONFIG_V4L2_DECODER &audio_out_v4l2, #endif |