Mercurial > mplayer.hg
comparison libao2/audio_out.c @ 7609:2ac457fb9c8c
10l
author | arpi |
---|---|
date | Sun, 06 Oct 2002 01:08:04 +0000 |
parents | e9e4398029de |
children | 3c1d30a1afc0 |
comparison
equal
deleted
inserted
replaced
7608:e1962f1bb326 | 7609:2ac457fb9c8c |
---|---|
23 extern ao_functions_t audio_out_alsa5; | 23 extern ao_functions_t audio_out_alsa5; |
24 #endif | 24 #endif |
25 #ifdef HAVE_ALSA9 | 25 #ifdef HAVE_ALSA9 |
26 extern ao_functions_t audio_out_alsa9; | 26 extern ao_functions_t audio_out_alsa9; |
27 #endif | 27 #endif |
28 #ifdef HAVE_ESD | |
29 extern ao_functions_t audio_out_esd; | |
30 #endif | |
31 #ifdef HAVE_NAS | 28 #ifdef HAVE_NAS |
32 extern ao_functions_t audio_out_nas; | 29 extern ao_functions_t audio_out_nas; |
33 #endif | 30 #endif |
34 #ifdef HAVE_SDL | 31 #ifdef HAVE_SDL |
35 extern ao_functions_t audio_out_sdl; | 32 extern ao_functions_t audio_out_sdl; |
48 extern ao_functions_t audio_out_pss; | 45 extern ao_functions_t audio_out_pss; |
49 extern ao_functions_t audio_out_plugin; | 46 extern ao_functions_t audio_out_plugin; |
50 | 47 |
51 ao_functions_t* audio_out_drivers[] = | 48 ao_functions_t* audio_out_drivers[] = |
52 { | 49 { |
50 // vo-related: will fail unless you also do -vo mpegpes/dxr2 | |
51 &audio_out_mpegpes, | |
52 #ifdef HAVE_DXR2 | |
53 &audio_out_dxr2, | |
54 #endif | |
55 // native: | |
53 #ifdef USE_OSS_AUDIO | 56 #ifdef USE_OSS_AUDIO |
54 &audio_out_oss, | 57 &audio_out_oss, |
55 #endif | 58 #endif |
56 #ifdef USE_ARTS | 59 #ifdef HAVE_ALSA9 |
57 &audio_out_arts, | 60 &audio_out_alsa9, |
61 #endif | |
62 #ifdef HAVE_ALSA5 | |
63 &audio_out_alsa5, | |
64 #endif | |
65 #ifdef USE_SGI_AUDIO | |
66 &audio_out_sgi, | |
58 #endif | 67 #endif |
59 #ifdef USE_SUN_AUDIO | 68 #ifdef USE_SUN_AUDIO |
60 &audio_out_sun, | 69 &audio_out_sun, |
61 #endif | 70 #endif |
62 #ifdef USE_SGI_AUDIO | 71 // wrappers: |
63 &audio_out_sgi, | 72 #ifdef USE_ARTS |
64 #endif | 73 &audio_out_arts, |
65 #ifdef HAVE_DXR2 | |
66 &audio_out_dxr2, | |
67 #endif | |
68 &audio_out_null, | |
69 #ifdef HAVE_ALSA5 | |
70 &audio_out_alsa5, | |
71 #endif | |
72 #ifdef HAVE_ALSA9 | |
73 &audio_out_alsa9, | |
74 #endif | |
75 #ifdef HAVE_ESD | |
76 &audio_out_esd, | |
77 #endif | 74 #endif |
78 #ifdef HAVE_NAS | 75 #ifdef HAVE_NAS |
79 &audio_out_nas, | 76 &audio_out_nas, |
80 #endif | 77 #endif |
81 #ifdef HAVE_SDL | 78 #ifdef HAVE_SDL |
82 &audio_out_sdl, | 79 &audio_out_sdl, |
83 #endif | 80 #endif |
84 &audio_out_mpegpes, | 81 &audio_out_null, |
82 // should not be auto-selected: | |
85 &audio_out_pcm, | 83 &audio_out_pcm, |
86 &audio_out_plugin, | 84 &audio_out_plugin, |
87 // &audio_out_pss, | |
88 NULL | 85 NULL |
89 }; | 86 }; |
90 | 87 |
91 void list_audio_out(){ | 88 void list_audio_out(){ |
92 int i=0; | 89 int i=0; |