diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-30 12:01:30 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-30 12:01:30 +0000 |
commit | 4b141479da70665db8d5780c9ca9e430c9dd1f09 (patch) | |
tree | 9f61bb3b6989d4049f57a4d360d9e9b4d0047e9d /stream/tvi_bsdbt848.c | |
parent | cbe1fcbf8309755549d01cec871c84316432ab8c (diff) | |
download | mpv-4b141479da70665db8d5780c9ca9e430c9dd1f09.tar.bz2 mpv-4b141479da70665db8d5780c9ca9e430c9dd1f09.tar.xz |
Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_bsdbt848.c')
-rw-r--r-- | stream/tvi_bsdbt848.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stream/tvi_bsdbt848.c b/stream/tvi_bsdbt848.c index 1ad7778f37..1926a5d45b 100644 --- a/stream/tvi_bsdbt848.c +++ b/stream/tvi_bsdbt848.c @@ -39,7 +39,7 @@ #include <errno.h> #include <sys/param.h> -#ifdef USE_SUN_AUDIO +#ifdef CONFIG_SUN_AUDIO #include <sys/audioio.h> #endif @@ -206,7 +206,7 @@ static tvi_handle_t *tvi_init_bsdbt848(tv_param_t* tv_param) /* set audio device name */ if (!tv_param->adevice) -#ifdef USE_SUN_AUDIO +#ifdef CONFIG_SUN_AUDIO priv->dspdev = strdup("/dev/sound"); #else priv->dspdev = strdup("/dev/dsp"); @@ -845,13 +845,13 @@ return priv->dspbytesread * 1.0 / priv->dsprate; static int get_audio_framesize(priv_t *priv) { int bytesavail; -#ifdef USE_SUN_AUDIO +#ifdef CONFIG_SUN_AUDIO struct audio_info auinf; #endif if(priv->dspready == FALSE) return 0; -#ifdef USE_SUN_AUDIO +#ifdef CONFIG_SUN_AUDIO if(ioctl(priv->dspfd, AUDIO_GETINFO, &auinf) < 0) { mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_Bt848IoctlFailed, "AUDIO_GETINFO", strerror(errno)); |