comparison libao2/ao_oss.c @ 8304:2dcdd2ae333f

1l, opposite meaning of what's intended!
author rfelker
date Thu, 28 Nov 2002 16:15:13 +0000
parents 322f1a91a5e7
children 30bef3c97b8b
comparison
equal deleted inserted replaced
8303:322f1a91a5e7 8304:2dcdd2ae333f
115 } 115 }
116 116
117 #ifdef __linux__ 117 #ifdef __linux__
118 /* Remove the non-blocking flag */ 118 /* Remove the non-blocking flag */
119 if(fcntl(audio_fd, F_SETFL, 0) < 0) { 119 if(fcntl(audio_fd, F_SETFL, 0) < 0) {
120 mp_msg(MSGT_AO,MSGL_ERR,"audio_setup: Can't make filedescriptor non-blocking: %s\n", strerror(errno)); 120 mp_msg(MSGT_AO,MSGL_ERR,"audio_setup: Can't make filedescriptor blocking: %s\n", strerror(errno));
121 return 0; 121 return 0;
122 } 122 }
123 #endif 123 #endif
124 124
125 #if defined(FD_CLOEXEC) && defined(F_SETFD) 125 #if defined(FD_CLOEXEC) && defined(F_SETFD)