summaryrefslogtreecommitdiffstats
path: root/stream/tvi_v4l.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-06 23:19:29 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-06 23:19:29 +0000
commit024b6efdf1439c2573350048a433d0324dcee349 (patch)
tree1b6f2ddfb80e8caaed1338601dc0036d06347070 /stream/tvi_v4l.c
parent64877d97ad5d2803a385f628bcc4033932e8e5b5 (diff)
downloadmpv-024b6efdf1439c2573350048a433d0324dcee349.tar.bz2
mpv-024b6efdf1439c2573350048a433d0324dcee349.tar.xz
Introduce CONFIG_ALSA preprocessor directive for ALSA 0.9 and 1.x.
Use it in all the places that checked for either ALSA 0.9 or 1.x. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27422 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_v4l.c')
-rw-r--r--stream/tvi_v4l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tvi_v4l.c b/stream/tvi_v4l.c
index b5c647241c..8979691776 100644
--- a/stream/tvi_v4l.c
+++ b/stream/tvi_v4l.c
@@ -627,7 +627,7 @@ static int init(priv_t *priv)
/* audio init */
if (!priv->tv_param->noaudio) {
-#if defined(CONFIG_ALSA9) || defined(CONFIG_ALSA1X)
+#ifdef CONFIG_ALSA
if (priv->tv_param->alsa)
audio_in_init(&priv->audio_in, AUDIO_IN_ALSA);
else