[xiph-commits] r14558 - trunk/vorbis/examples
erikd at svn.xiph.org
erikd at svn.xiph.org
Fri Mar 7 18:23:34 PST 2008
Author: erikd
Date: 2008-03-07 18:23:34 -0800 (Fri, 07 Mar 2008)
New Revision: 14558
Modified:
trunk/vorbis/examples/encoder_example.c
Log:
Minor clarification to comments about assuming 44.1kHz/stereo/16bit WAV
in example code.
Modified: trunk/vorbis/examples/encoder_example.c
===================================================================
--- trunk/vorbis/examples/encoder_example.c 2008-03-08 00:35:28 UTC (rev 14557)
+++ trunk/vorbis/examples/encoder_example.c 2008-03-08 02:23:34 UTC (rev 14558)
@@ -62,9 +62,9 @@
/* this also lets the user set stdin and stdout */
#endif
- /* we cheat on the WAV header; we just bypass 44 bytes and never
- verify that it matches 16bit/stereo/44.1kHz. This is just an
- example, after all. */
+ /* we cheat on the WAV header; we just bypass 44 bytes (simplest WAV
+ header is 44 bytes) and assume that the data is 44.1khz, stereo, 16 bit
+ little endian pcm samples. This is just an example, after all. */
#ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */
/* if we were reading/writing a file, it would also need to in
More information about the commits
mailing list