openbsd-ports/audio/liba52/patches/patch-libao_audio_out_oss_c

16 lines
573 B
Plaintext
Raw Normal View History

2002-08-22 08:19:17 -04:00
$OpenBSD: patch-libao_audio_out_oss_c,v 1.3 2002/08/22 12:19:17 espie Exp $
--- libao/audio_out_oss.c.orig Sun Apr 28 12:23:02 2002
+++ libao/audio_out_oss.c Thu Aug 22 13:49:19 2002
@@ -153,9 +153,9 @@ static ao_instance_t * oss_open (int fla
instance->set_params = 1;
instance->flags = flags;
- instance->fd = open ("/dev/dsp", O_WRONLY);
+ instance->fd = open ("/dev/audio", O_WRONLY);
if (instance->fd < 0) {
- fprintf (stderr, "Can not open /dev/dsp\n");
+ fprintf (stderr, "Can not open /dev/audio\n");
free (instance);
return NULL;
}