[xiph-cvs] cvs commit: ogg-tools/omplay omplay.c
Stan Seibert
volsung at xiph.org
Sun Sep 30 15:17:54 PDT 2001
volsung 01/09/30 15:17:54
Modified: omplay omplay.c
Log:
Fix to bug that caused buzzing when playing the test file. Wrote both
audio channels to the right channel on accident.
Revision Changes Path
1.2 +1 -1 ogg-tools/omplay/omplay.c
Index: omplay.c
===================================================================
RCS file: /usr/local/cvsroot/ogg-tools/omplay/omplay.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- omplay.c 2001/09/23 04:18:33 1.1
+++ omplay.c 2001/09/30 22:17:53 1.2
@@ -509,7 +509,7 @@
int bout = (samples < convsize ? samples : convsize);
for (i = 0; i < device.vi.channels; i++) {
- ogg_int16_t *ptr = convbuffer+1;
+ ogg_int16_t *ptr = convbuffer+i;
float *mono = pcm[i];
for (j = 0; j < bout; j++) {
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list