Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Vorbis tools
Commits
84c2ad15
Commit
84c2ad15
authored
Jul 21, 2002
by
Michael Smith
Browse files
Change -R usage to not have an option. This makes more sense and is more standard.
svn path=/trunk/vorbis-tools/; revision=3703
parent
3ec957c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
oggdec/oggdec.1
View file @
84c2ad15
...
...
@@ -12,7 +12,7 @@ oggdec - simple decoder, Ogg Vorbis file to PCM audio file (WAV or RAW).
] [
.B -e endianness
] [
.B -R
rawness
.B -R
] [
.B -s signedness
] [
...
...
@@ -50,7 +50,7 @@ Display version information.
Bits per sample. Valid values are 8 or 16.
.IP "-e n, --endian=n"
Set endianness for 16-bit output. 0 (default) is little-endian (Intel byte order). 1 is big-endian (sane byte order).
.IP "-R
n
, --raw
=n
"
.IP "-R, --raw"
Output in raw format. If not specified, writes WAV file (RIFF headers).
.IP "-s n, --sign=n"
Set signedness for output. 0 for unsigned, 1 (default) for signed.
...
...
oggdec/oggdec.c
View file @
84c2ad15
...
...
@@ -26,7 +26,7 @@ struct option long_options[] = {
{
"version"
,
0
,
0
,
'v'
},
{
"bits"
,
1
,
0
,
'b'
},
{
"endianness"
,
1
,
0
,
'e'
},
{
"raw"
,
1
,
0
,
'R'
},
{
"raw"
,
0
,
0
,
'R'
},
{
"sign"
,
1
,
0
,
's'
},
{
"output"
,
1
,
0
,
'o'
},
{
NULL
,
0
,
0
,
0
}
...
...
@@ -100,7 +100,7 @@ static void parse_options(int argc, char **argv)
case
'o'
:
outfilename
=
strdup
(
optarg
);
case
'R'
:
raw
=
atoi
(
optarg
)
;
raw
=
1
;
break
;
default:
fprintf
(
stderr
,
"Internal error: Unrecognised argument
\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment