Displaying 20 results from an estimated 400 matches similar to: "What makefile should we use ?"
2018 Nov 03
2
Decode ogg file while downloading: what are the good practices?
Well, your " OggPlayer::release; OggPlayer::open; before OggPlayer::seek"
seems to work!
Thank you so much!
Also, I'll take a look at the Opus codec, thanks for the advice!
For your information, here was the problem in details: let's say I download
an audio file whose length is 300 seconds.
When, for example, 15 seconds of the file were downloaded, I called
OggPlayer::open().
2018 Nov 05
2
Decode ogg file while downloading: what are the good practices?
Hello,
After more tests, I discovered a new problem in my code (
https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072) while
seeking in an audio file that is being downloaded.
When I seek in random positions (when I call OggPlayer::seek()), while I
extract audio samples (when I call OggPlayer::extract() every 5ms, in my
test - basically, I just play the audio file), sometimes, I
2003 Jul 28
1
error when compiling oggplay
Hi every body , i try to compile oggplayer but :
"./autogen.sh --prefix=/usr " is OK and
"make" :
oggplay.c: At top level:
oggplay.c:377: parse error before "mymngsettimer"
oggplay.c:377: parse error before "mng"
oggplay.c: In function `mymngsettimer':
oggplay.c:379: `stuff' undeclared (first use in this function)
oggplay.c:384: parse error before
2001 Jun 16
1
Compilation of my own sources
Hello community,
Just one tiny question : all source files provided for download come bundled
with Makefiles. My problem is : what makefile do i use (or what g++
compilation command line) if i want to compile my own sources ? I mean that
g++ mysource.cpp doesn't work.
Thank you
Sekine
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage:
2009 Dec 17
3
Problem reading binaries created with fortran
Is it possible to read fortran binaries with R? I tried unsucessfully and my
understanding is that fortran write binaries with leading and trailing
bytes. I get numbers but not the right ones.
Thanks
ps: the binary I'm interested in reading is a MODFLOW output with a mix of
character, double and integers.
[[alternative HTML version deleted]]
2018 Nov 03
3
Decode ogg file while downloading: what are the good practices?
Thanks for your answer.
But as I said, I don't have any problem seeking in a local file.
Also, I have full control on the ogg file I play, since I encode it by
myself.
I first would like to know if the code I provided (
https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072) is good
practice when it comes to extracting and seeking in a file that is being
downloaded.
Thanks.
2003 Jun 11
1
Problems with ov_open
Hey, i'm having trouble getting ov_open to work on my slackware 8.1 system.
The c, and makefile are as follows, and the error produced. I've also
included an ldd of the compiled file. If anyone can be of any help, it
would be greatly appreciated!
--------------------------C FILE-------------------------------
#include <stdio.h>
#include <string.h>
#include
2009 Feb 20
3
3D or 4D plot
I have data on a regular grid in the format: x y z data. I would like to
be able to plot them in 3d kind of like a volume or a mesh with colors. Is
that possible in R and how?
Thanks
[[alternative HTML version deleted]]
2001 Jul 06
1
problem with vorbis autoconf stuff
It sets:
VORBIS_LIBS="$VORBIS_LIBDIR -lvorbis -lm"
VORBISFILE_LIBS="-lvorbisfile"
VORBISENC_LIBS="-lvorbisenc"
Shouldn't this be:
VORBIS_LIBS="$VORBIS_LIBDIR -lvorbis -lm"
VORBISFILE_LIBS="$VORBIS_LIBDIR -lvorbisfile"
VORBISENC_LIBS="$VORBIS_LIBDIR -lvorbisenc"
as libvorbisenc & libvorbis are also in the same
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin
and readChar. Everything reads fine (integers and strings) except for
double precision numbers, they are read as huge or very small number
(1E-250,...). I tried various endianness, swap, But nothing has worked so
far.
I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on
windows XP 32 bit.
Any help would
2018 Nov 03
0
Decode ogg file while downloading: what are the good practices?
On 2018-11-03 05:32 AM, Matthieu Regnauld wrote:
> I first would like to know if the code I provided
> (https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072) is
> good practice when it comes to extracting and seeking in a file that is
> being downloaded.
You didn't share many details of how your code fails, but one idea:
libvorbisfile builds a seek table from
2003 Jun 12
1
static lib
I'm trying to link sox to the ogg vorbis static libraries but I'm
getting the following error:
gcc -L. -L./gsm -o sox sox.o -lst -lgsm -logg -lvorbis -lvorbisfile
-lvorbisenc -lmad -lmp3lame
ld: Undefined symbols:
_oggpack_bytes
_oggpack_get_buffer
_oggpack_reset
_oggpack_writeclear
_oggpack_writeinit
_oggpack_read
_oggpack_readinit
_oggpack_write
_oggpack_adv
_oggpack_look
2009 Dec 17
1
Problem reading binaries created with fortran (More infos)
The structure of the file is clear (see below) the first line is made of
integers and doubles with the fifth being a text string followed by arrays
of double precision number.:
int1 int2 double1 double2 text int3 int4 int5
(array of double)
here is an example of file:
1 1 1.0 1.0 "HEAD" 160 224 3
23.4 34.5 ......
I tried to read the first line with readBin (results are copied below):
2018 Nov 05
0
Decode ogg file while downloading: what are the good practices?
Can you get a backtrace that tells in which line of the code of the library it crashes?
Not that you did Fuzzing using incomplete files and found a bug.
Am 5. November 2018 20:46:21 MEZ schrieb Matthieu Regnauld <mregnauld at gmail.com>:
>Hello,
>
>After more tests, I discovered a new problem in my code (
>https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072)
2018 Nov 05
2
Decode ogg file while downloading: what are the good practices?
OK, thanks for the information.
> Is the overhead of closing and re-opening the handle significant on
android?
Not that much: I can close, reopen and seek in a file right before
extracting samples to play a second audio file, while a first file is
already extracting and playing, without any glitch, even on low-end device.
-------------- next part --------------
An HTML attachment was
2014 Aug 09
1
libvorbisfile dynamic linkage with pkg-config - inter-library dependencies?
Audacity is preparing to release version 2.0.6 shortly, so I have been
doing numerous test builds. Since the last Audacity release, my
development system (Gentoo Linux) has updated to libvorbis-1.3.4 and
libogg-1.3.1.
As a result (I think) of this, I now get link errors when
trying to compile Audacity against the system copies of libogg and
libvorbis (standard dynamic linkage to the system
2009 Aug 19
2
How to seek theora streams
I need to be exposed to a way of seeking theora streams. I have repeatedly found the same question asked on a different forums but could not find an answer. I'm working on a game and started integrating video with theora, the sound works just fine with ogg/vorbis(i find it easy to seek using ov_raw_seek for audio files). Could someone please point me to some example/code of how can i seek with
2007 Oct 08
3
tcltk scrollbar
The following code should give me (at least that's what I think) two list
boxes with their individual scrollbars. But instead both scrollbars stick to
the same listbox even though they work as they should (scroll individual
listboxes). When I remove all the widgets on top everything works perfectly.
Any help would be highly apprecciated.
ps: all subsequent listboxes and scrollbars work
2000 Jul 25
2
Library issues (BOUNCE vorbis-dev@xiph.org: Non-member submission from [rob@emusic.com]) (fwd)
BTW, I need a volunteer to upgrade xiph.org to MailMan or the like. I'm
officially sick to death of majordomo.
(Or, if you want to code all the features I want in majordomo, that's fine too
;-) I'm a little bit out of time, see....
------- Forwarded Message
Sender: robert@emusic.com
I just brought the FreeAmp codebase up to speed with the latest Vorbis
source. In doing so,
2002 Sep 11
1
Compiling
I am trying to compile the example code for vorbis files and I am getting an
undefined reference, below is my Makefile, any ideas on what is wrong?
OBJS=ogg.o
ogg: $(OBJS)
cc -o ogg $(OBJS) -L/usr/local/lib -lm -lc -lvorbis
ogg.o: ogg.c
cc -I/usr/local/include -c ogg.c
clean:
rm -f $(OBJS)
<p>_________________________________________________________________
Join