Displaying 1 result from an estimated 1 matches for "oggz_new".
Did you mean:
ogg_new
2009 Feb 13
1
Decoding from memory using libfishsound
...packages, decode them
and send to sound card.
This is code for decoding, which cast callback function read_packet.
oggz = oggz_open_stdio(newfile,OGGZ_READ);
oggz_set_read_callback (oggz, -1, read_packet, fsound);
while ((n = oggz_read (oggz, 1024)) > 0);
I've tried to create object using oggz_new, a write from memory data
using oggz_read, but it doesn't worked.
Data from package is stored in QByteArray which can return char*.
Please help me, because I'm stucked at least
a month and can't find a solution.
Lukasz