From 6e4d643f3c3d1e05688c6cc4f7af398acbda05cb Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 4 Oct 2004 15:10:33 +0000 Subject: removing ao_alsa9.c and ao_alsa1x.c as they are superseded by ao_alsa.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13543 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/audio_out.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libao2/audio_out.c') diff --git a/libao2/audio_out.c b/libao2/audio_out.c index 79419d9d3f..b51449a0ae 100644 --- a/libao2/audio_out.c +++ b/libao2/audio_out.c @@ -138,6 +138,11 @@ ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate,int c if(ao_list && ao_list[0]) while(ao_list[0][0]){ char* ao=strdup(ao_list[0]); + if (strncmp(ao, "alsa9", 5) == 0 || strncmp(ao, "alsa1x", 6) == 0) { + mp_msg(MSGT_AO, MSGL_FATAL, MSGTR_AO_ALSA9_1x_Removed); + free(ao); + exit_player(NULL); + } ao_subdevice=strchr(ao,':'); if(ao_subdevice){ ao_subdevice[0]=0; -- cgit v1.2.3