Displaying 3 results from an estimated 3 matches for "pcm_channel".
Did you mean:
pcm_channels
2002 Jul 20
1
small mistake in docs
Hi,
in ov_read_float.html there is a small mistake:
long ov_read(OggVorbis_File *vf, float ***pcm_channels, int
*bitstream);
hould read:
long ov_read_float(OggVorbis_File *vf, float ***pcm_channels, int
samples, int *bitstream);
It seems this function has been changed (compared to the RC3). Anything
else worked fine for me with the 1.0 release.
Olaf
<p>--- >8 ----
List archives: http://...
2005 Oct 09
1
ov_read_float vs. ov_read
Hello,
Am I missing something?
float** pcm_channels;
int bitstream;
int where = ov_pcm_tell(&vf);
-> The Result is "0";
ov_read_float(&vf, &pcm_channels, 1, &bitstream);
-> pcm_channels[0][0] is "0.000338580"
ov_pcm_seek(&vf, 0);
char* buffer = new char[2];
ov_read(&vf, buffer, sizeof(buffer), 0,...
2002 Jan 16
2
Problem with ov_read_float()
...ear why.
The ov_read_float docs give this as "Typical usage", but it doesn't
even compile under gcc, so it's clearly wrong:
float **pcm; bytes_read=ov_read_float(&vf,pcm,¤t_section);
Can anyone tell me what I'm missing? I'm sure there is a good reason
that pcm_channels is a triple pointer, but I don't see what it is. It seems
to me that a double pointer would work fine. Thanks in advance,
-David Mitchell
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message...