Commit 6814b2c2 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Avoiding the term "mode" in opus_demo

parent 2d83e7e2
...@@ -48,7 +48,7 @@ void print_usage( char* argv[] ) ...@@ -48,7 +48,7 @@ void print_usage( char* argv[] )
"<bits per second> [options] <input> <output>\n", argv[0]); "<bits per second> [options] <input> <output>\n", argv[0]);
fprintf(stderr, " %s -d <sampling rate (Hz)> <channels (1/2)> " fprintf(stderr, " %s -d <sampling rate (Hz)> <channels (1/2)> "
"[options] <input> <output>\n\n", argv[0]); "[options] <input> <output>\n\n", argv[0]);
fprintf(stderr, "mode: voip | audio | restricted-lowdelay\n" ); fprintf(stderr, "application: voip | audio | restricted-lowdelay\n" );
fprintf(stderr, "options:\n" ); fprintf(stderr, "options:\n" );
fprintf(stderr, "-e : only runs the encoder (output the bit-stream)\n" ); fprintf(stderr, "-e : only runs the encoder (output the bit-stream)\n" );
fprintf(stderr, "-d : only runs the decoder (reads the bit-stream as input)\n" ); fprintf(stderr, "-d : only runs the decoder (reads the bit-stream as input)\n" );
...@@ -573,7 +573,7 @@ int main(int argc, char *argv[]) ...@@ -573,7 +573,7 @@ int main(int argc, char *argv[])
bandwidth_string = "fullband"; bandwidth_string = "fullband";
break; break;
case OPUS_AUTO: case OPUS_AUTO:
bandwidth_string = "auto"; bandwidth_string = "auto bandwidth";
break; break;
default: default:
bandwidth_string = "unknown"; bandwidth_string = "unknown";
...@@ -585,7 +585,7 @@ int main(int argc, char *argv[]) ...@@ -585,7 +585,7 @@ int main(int argc, char *argv[])
(long)sampling_rate, channels); (long)sampling_rate, channels);
else else
fprintf(stderr, "Encoding %ld Hz input at %.3f kb/s " fprintf(stderr, "Encoding %ld Hz input at %.3f kb/s "
"in %s mode with %d-sample frames.\n", "in %s with %d-sample frames.\n",
(long)sampling_rate, bitrate_bps*0.001, (long)sampling_rate, bitrate_bps*0.001,
bandwidth_string, frame_size); bandwidth_string, frame_size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment