Mercurial > mplayer.hg
changeset 17618:270f61c80d46
Remove the now superfluous mmap suboption.
author | cladisch |
---|---|
date | Mon, 13 Feb 2006 11:17:43 +0000 |
parents | adfab82139c0 |
children | 9b619133f11a |
files | libao2/ao_alsa.c |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_alsa.c Mon Feb 13 11:16:29 2006 +0000 +++ b/libao2/ao_alsa.c Mon Feb 13 11:17:43 2006 +0000 @@ -63,7 +63,6 @@ static size_t bits_per_sample, bytes_per_sample, bits_per_frame; static size_t chunk_bytes; -static int ao_mmap = 0; static int ao_noblock = 0; static int open_mode; @@ -261,7 +260,6 @@ strarg_t device; snd_pcm_uframes_t bufsize; opt_t subopts[] = { - {"mmap", OPT_ARG_BOOL, &ao_mmap, NULL}, {"block", OPT_ARG_BOOL, &block, NULL}, {"device", OPT_ARG_STR, &device, (opt_test_f)str_maxlen}, {NULL} @@ -345,7 +343,6 @@ //subdevice parsing // set defaults - ao_mmap = 0; block = 1; /* switch for spdif * sets opening sequence for SPDIF @@ -404,8 +401,6 @@ print_help(); return 0; } - if (ao_mmap) - mp_msg(MSGT_AO,MSGL_WARN,"alsa-init: mmap option is obsolete and has no effect"); ao_noblock = !block; parse_device(alsa_device, device.str, device.len);