ref: ea6d0af986409440c28b5bce853995e151f4c335
parent: 14f650f64260115098d55fb91e1f83110cb628d3
author: Gregory Maxwell <[email protected]>
date: Tue Jul 10 07:09:09 EDT 2012
Remove non-working --stereo and --mono arguments to opusdec. To be reintroduced later in working form.
--- a/man/opusdec.1
+++ b/man/opusdec.1
@@ -11,10 +11,6 @@
[
.B -hv
] [
-.B --mono
-] [
-.B --stereo
-] [
.B --rate Hz
] [
.B --no-dither
@@ -53,11 +49,6 @@
Display version information
.IP "--quiet"
Suppresses program output
-.IP "--mono"
-.br
-Force decoding in mono
-.IP "--stereo"
-Force decoding in stereo
.IP "--rate"
.br
Force decoding at sampling rate n Hz
--- a/src/opusdec.c
+++ b/src/opusdec.c
@@ -392,8 +392,6 @@
printf (" (nothing) Will be played to soundcard\n");
printf ("\n");
printf ("Options:\n");
- printf (" --mono Force decoding in mono\n");
- printf (" --stereo Force decoding in stereo\n");
printf (" --rate n Force decoding at sampling rate n Hz\n");
printf (" --no-dither Do not dither 16-bit output\n");
printf (" --packet-loss n Simulate n %% random packet loss\n");
@@ -550,8 +548,6 @@
{"version", no_argument, NULL, 0},
{"version-short", no_argument, NULL, 0},
{"rate", required_argument, NULL, 0},
- {"mono", no_argument, NULL, 0},
- {"stereo", no_argument, NULL, 0},
{"no-dither", no_argument, NULL, 0},
{"packet-loss", required_argument, NULL, 0},
{"save-range", required_argument, NULL, 0},
@@ -611,12 +607,6 @@
{
version_short();
exit(0);
- } else if (strcmp(long_options[option_index].name,"mono")==0)
- {
- channels=1;
- } else if (strcmp(long_options[option_index].name,"stereo")==0)
- {
- channels=2;
} else if (strcmp(long_options[option_index].name,"no-dither")==0)
{
dither=0;