summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authoranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-26 02:16:01 +0000
committeranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-26 02:16:01 +0000
commitbd1cda3d8cafd1f898d276e430ce00beba54f67e (patch)
treecbf078cdb4b9b3daa26ca81a5b108347c1a3cfe8 /libao2
parent7428fbd444aa3d771e813b881d9c560130e4e9be (diff)
downloadmpv-bd1cda3d8cafd1f898d276e430ce00beba54f67e.tar.bz2
mpv-bd1cda3d8cafd1f898d276e430ce00beba54f67e.tar.xz
Parse bug fixed (I hope)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3136 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_alsa1x.c4
-rw-r--r--libao2/ao_alsa9.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libao2/ao_alsa1x.c b/libao2/ao_alsa1x.c
index 5b04d806d4..0f35f2e819 100644
--- a/libao2/ao_alsa1x.c
+++ b/libao2/ao_alsa1x.c
@@ -70,7 +70,7 @@ static int control(int cmd, int arg)
}
#undef start /* orig. undef */
-#define buffersize
+#define buffsize
#define buffertime /* orig. undef? */
#define set_period
#define sw_params /* orig. undef */
@@ -243,7 +243,7 @@ static int init(int rate_hz, int channels, int format, int flags)
}
}
#endif
-#ifdef buffersize
+#ifdef buffsize
if ((err = snd_pcm_hw_params_get_buffer_size(alsa_hwparams)) < 0)
{
printf("alsa-init: unable to get buffer size: %s\n",
diff --git a/libao2/ao_alsa9.c b/libao2/ao_alsa9.c
index 5b04d806d4..0f35f2e819 100644
--- a/libao2/ao_alsa9.c
+++ b/libao2/ao_alsa9.c
@@ -70,7 +70,7 @@ static int control(int cmd, int arg)
}
#undef start /* orig. undef */
-#define buffersize
+#define buffsize
#define buffertime /* orig. undef? */
#define set_period
#define sw_params /* orig. undef */
@@ -243,7 +243,7 @@ static int init(int rate_hz, int channels, int format, int flags)
}
}
#endif
-#ifdef buffersize
+#ifdef buffsize
if ((err = snd_pcm_hw_params_get_buffer_size(alsa_hwparams)) < 0)
{
printf("alsa-init: unable to get buffer size: %s\n",