Displaying 20 results from an estimated 600 matches similar to: "(no subject)"
1999 Nov 15
3
vorbis under win32
Hello Monty,
I tried to complile vorbis under win32 (using MS Visual C 5.0)
I found some things:
1.)
In bitvise.c there must be buffer cleared after malloc:
void _oggpack_writeinit(oggpack_buffer *b){
memset(b,0,sizeof(oggpack_buffer));
b->ptr=b->buffer=malloc(BUFFER_INCREMENT);
+ memset(b->ptr,0,BUFFER_INCREMENT);
b->storage=BUFFER_INCREMENT;
}
void
2017 Feb 06
3
libvorbis without encapulsation
Using libvorbis (1.3.5) I wish to extract the raw vorbis packets.
I've built some simple code on the excellent libvorbis API overview on
the xiph.org site, but the example relies on the ogg_packet struct for
final output and input to decoder, and shows now examples on how to do
without it.
Taking a look at the vorbis_bitstream_flush() function, which in the
overview is the last step before
2002 Aug 19
1
small error in Ogg Vorbis FAQ
"Ogg Vorbis uses the Ogg bistream format, and the correct
extension is .ogg"
-- http://www.xiph.org/ogg/vorbis/faq.html
I'm guessing it should read 'bitstream'.
<p>--- >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 'vorbis-dev-request@xiph.org'
2006 Jan 13
2
libogg2 issue in revision 10730
hi all
I found that in the revision 10730 of the libogg2 library it is
impossible to do bitpacking. this is due to the implementation of the
(at least) two functions oggpack_writeinit() and oggpack_readinit().
they both take an (oggpack_buffer *) as an argument and immediately
erase all it's contents:
void oggpack_readinit(oggpack_buffer *b,ogg_reference *r){
memset(b,0,sizeof(*b));
2001 Jul 13
1
Got a problem (BUG?)
Hi
we run a util at work called 'bounds checker' and it came up with this
little beauty:
void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){
memset(b,0,sizeof(oggpack_buffer));
b->buffer=b->ptr=buf;
b->storage=bytes;
}
Stack memory overrun: Copying 20 bytes to opb; Starting offset 0,
destination size 4 bytes.
This is in RC1 code base.
Any ideas?
2005 Nov 09
2
Quickie: Bitpacker endianness / OggPCM
Michael Smith wrote:
> libogg has two bitpackers; a little endian one and a bigendian one.
ok, I didn't see it in the docs at
http://www.xiph.org/ogg/doc/libogg/reference.html and didn't look in the
header file first. My bad.
Is it correct to state that the oggpack_* functions use little endian
order, and the oggpackB_* functions use big endian order? Is it safe to
mix calls to
2008 Sep 12
4
[Patch] New function of libvorbis
This patch offers interface to get the library name which software uses.
Function:
char *vorbis_version_string(void);
PATCH (for libvorbis-1.2.1RC2):
diff -crN libvorbis-1.2.1RC2/include/vorbis/codec.h libvorbis-1.2.1RC2_NI/include/vorbis/codec.h
*** libvorbis-1.2.1RC2/include/vorbis/codec.h Mon Aug 25 05:57:44 2008
--- libvorbis-1.2.1RC2_NI/include/vorbis/codec.h Sat Sep 13 05:00:22 2008
2006 Aug 24
1
AMD64 bug
The theora_unpack_comment casts a pointer-to-int to pointer-to-long. This
is incorrect on AMD64, where ints and longs are of different size. On my
system (Debian unstable, gcc 4.1) this causes players to crash when they
reach the end of a movie. The patch below fixes this bug.
--- libtheora-0.0.0.alpha7/lib/toplevel.c 2006-06-13 00:57:36.000000000 +0200
+++ libtheora-pdw/lib/toplevel.c
2008 Mar 28
1
[PATCH] oggmerge, various
> To provide you with a proper answer, I'd have to read what you do to
> the text data to encode it in binary. Haven't got the time for that
> right now, sorry. But if it is some binary encoding and not just a
> gzip-type compression, maybe application/x-kate may indeed be
> appropriate. This would however mean that some specialised application
> is required to decode the
2017 Feb 06
2
libvorbis without encapulsation
L'octidi 18 pluviôse, an CCXXV, Miscellaneous a écrit :
> I've built some simple code on the excellent libvorbis API overview on
> the xiph.org site, but the example relies on the ogg_packet struct for
> final output and input to decoder, and shows now examples on how to do
> without it.
Why do you not want it? It is just a simple C struct to carry the
packet's metadata.
2014 Apr 15
6
[PATCH 0/3] misc. cleanup
Hello,
some misc. cleanup patches for speexdsp, nothing big
I'm not sure about how to submit patches, so this is a test balloon :)
ultimately, I'd like to fix the FIXED_POINT issue, see
http://lists.xiph.org/pipermail/speex-dev/2013-December/008465.html
currently, I think the only way to find out how speexdsp has been compiled is
to resample some bytes and observe the output; which is
2007 Jun 18
1
two bessel function bugs for nu<0
#bug 1: besselI() for nu<0 and expon.scaled=TRUE
#tested with R-devel (2007-06-17 r41981)
x <- 2.3
nu <- -0.4
print(paste(besselI(x, nu, TRUE), "=", exp(-x)*besselI(x, nu, FALSE)))
#fix:
#$ diff bessel_i_old.c bessel_i_new.c
#57c57
#< bessel_k(x, -alpha, expo) * ((ize == 1)? 2. : 2.*exp(-x))/M_PI
#---
#> bessel_k(x, -alpha, expo) * ((ize == 1)? 2. :
2003 Jun 25
1
indication tones and callwaiting chirp too loud
I am wondering if anyone could help me figure out how to turn down the volume on all the dial tones, indications, etc.. and especially the call-waiting CHIRP!
I don't want to change the txgain and rxgain because they are working at levels that I would like. However, when voice conversations and voicemail recordings are at good levels then the dial tones, busy tones, etc are way too loud.
2006 Oct 09
1
Vorbis primitive API examples (LONG)
Okay, how do I drop a changeset/patchset/tag for you folks from SVN?
At this point, I have written three examples of how to use the basics of
the ogg streaming and decoding in Tremor. I heartily welcome any
suggestions, improvements and corrections that you can point out in the
code.
The examples required me to make some small modifications to the main
tremor library. However, the changes
2008 Sep 15
2
1.2rc1
I am in the process of adding speex 1.2rc1 to a project of mine, not
via compiling as a static library yet including the source and
compiling with my own to create a dynamic link library. This worked
fine with the last beta release yet is causing problems with this
release candidate. The problem is in the file scal.c which is about
M_PI being undefined, this file was added to speex in said
2008 Apr 29
2
More trival questions
Hopefullly this is once again something trivial I'm missing. I'm still trying to figure out how to pull a part a stream. I get two out the three theora headers I can see in the file (http://v2v.cc/~j/theora_testsuite/320x240.ogg) if I use the buffer in the page struct and nothing usable if I try to use the packet structs. Hopefully this is once again something something trivial I've
2007 Oct 13
2
the use of the .C function
Dear All,
could someone please shed some light on the use of the .C or .Fortran function:
I am trying load and running on R the following function
// psi.cpp -- psi function for real arguments.
// Algorithms and coefficient values from "Computation of Special
// Functions", Zhang and Jin, John Wiley and Sons, 1996.
//
// (C) 2003, C. Bond. All rights reserved.
//
//
2013 Aug 27
1
Error in simulation. NAN
Hi all,
im triyng to implement a bayesian model with R and c++.
I have a strange problem. I can't reproduce the error with a small
script and then i post the original one.
The problem is after the line
for(MCMC_iter2=0;MCMC_iter2<thin;MCMC_iter2++)
For the first 34 iterations all work fine, after, all the simulations
of mu_acc_P return an "nan". If i delete the line
2016 Dec 01
1
Different results for cos,sin,tan and cospi,sinpi,tanpi
hi,
my environment...
> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 8 (jessie)
locale:
[1] LC_CTYPE=ja_JP.UTF-8 LC_NUMERIC=C
[3] LC_TIME=ja_JP.UTF-8 LC_COLLATE=ja_JP.UTF-8
[5] LC_MONETARY=ja_JP.UTF-8 LC_MESSAGES=ja_JP.UTF-8
[7] LC_PAPER=ja_JP.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C
2004 Aug 06
2
What is the format of the PCM/WAV dataforspeex_encode & speex_decode?
I thought it would be more update/better/faster, any thing wrong?
In the future, would you use short, and forget about float?
If so, I use 1.1.4, I wouldn't need to change my code in the future, right?
You said, it's unstable, yes, I got compiling errors with MsVC6 and MsVC.net
And I modified it a bit to get it compiled. Should I post the errors here?
<p>-----Original Message-----