changeset 1180:c50cd5db2359

added warning message
author al3x
date Thu, 21 Jun 2001 21:27:56 +0000
parents 2da8cd8aced9
children 27374756fc40
files libao2/ao_alsa1x.c libao2/ao_alsa9.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_alsa1x.c	Thu Jun 21 15:19:38 2001 +0000
+++ b/libao2/ao_alsa1x.c	Thu Jun 21 21:27:56 2001 +0000
@@ -2,6 +2,8 @@
   ao_alsa9 - ALSA-0.9.x output plugin for MPlayer
 
   (C) Alex Beregszaszi <alex@naxine.org>
+
+  Don't use this buggy driver, ALSA-0.9.x emulates OSS very well...
 */
 
 #include <errno.h>
@@ -83,6 +85,8 @@
     int err;
     int cards = -1;
     snd_pcm_info_t *alsa_info;
+    
+    printf("alsa-init: Don't use this buggy driver, ALSA-0.9.x emulates OSS very well...\n");
 
     printf("alsa-init: requested format: %d Hz, %d channels, %s\n", rate_hz,
 	channels, audio_out_format_name(format));
--- a/libao2/ao_alsa9.c	Thu Jun 21 15:19:38 2001 +0000
+++ b/libao2/ao_alsa9.c	Thu Jun 21 21:27:56 2001 +0000
@@ -2,6 +2,8 @@
   ao_alsa9 - ALSA-0.9.x output plugin for MPlayer
 
   (C) Alex Beregszaszi <alex@naxine.org>
+
+  Don't use this buggy driver, ALSA-0.9.x emulates OSS very well...
 */
 
 #include <errno.h>
@@ -83,6 +85,8 @@
     int err;
     int cards = -1;
     snd_pcm_info_t *alsa_info;
+    
+    printf("alsa-init: Don't use this buggy driver, ALSA-0.9.x emulates OSS very well...\n");
 
     printf("alsa-init: requested format: %d Hz, %d channels, %s\n", rate_hz,
 	channels, audio_out_format_name(format));