Displaying 20 results from an estimated 600 matches similar to: "Sample accuracy in reading"
2005 Jun 02
1
Lacing Values
I noticed that, when decoding an ogg vorbis file that was encoded with
the xiph library, that the comment header and setup header are encoded
on one page. Okay, the vorbis documentation says you can do this, no
problem. My question is, the lacing values seem to indicate where the
packet boundaries for the two of these are, is this required, or is this
just a hint?
Further, I'm seeing
2009 May 12
2
compile error of libtheora example
hi all:
i downloaded libtheora1.0.tar.gz from xiph.org, and when i compile it,
such error message popped.
i tried to run player_example.c under /libtheora_1.0/examples/.
error message:
ivysummer at ivysummer-desktop:~/??/libtheora-1.0/examples$ gcc -o player
player_example.c
/tmp/ccpyle3c.o: In function `buffer_data':
player_example.c:(.text+0x15): undefined reference to
2007 Feb 15
1
Using decoding vorebis from a Vorbis / Theora Video
I am trying to write a media player in c# which will be able to play .ogg
video files which contain Theora video and Vorbis audio streams.
Currently I am using LibOgg and LibTheora (via a SWIG generated wrapper).
This currently is able to decode the video and output it to the screen. I
would like to use LibVorbis to decode the audio stream. Looking at the
documentation it looks like I have to use
2006 Aug 31
0
OpenAl and Vorbis
Hello! My name is Lars Quentmeier and I'm trying to write a theora-player.
Video is already showing up, but unfortunately I can't get my Vorbis-Decoder to work correctly. Could you perhaps help me? My decoding function looks like this:
int
VorbisDecoder::getAudioData(char* audiobuf, int fragsize){
// single audio fragment audio buffering
bool audiobufReady = false;
int size=0;
int
1999 Oct 11
2
XMMS plugin patch
Hi,
I fixed the distorted audio bug in the XMMS plugin. A small follows
below:
--- vorbis.c.orig Mon Oct 11 04:05:14 1999
+++ vorbis.c Mon Oct 11 13:47:42 1999
@@ -161,7 +161,7 @@
/* XXX figure out something to put for the bitrate and how to calculate the length of the stream */
vorbis_ip.output->open_audio(FMT_S16_LE, od.vi.rate, od.vi.channels);
- vorbis_ip.set_info(filename,
2006 Jan 19
0
re: want to know, how much data will be extracted from every single packet; solved but some issues
ok, ok, i've found the solution to my problem.
if anybody dont mind, i 'll tell, what i have achieve :)
let's see logical vorbis stream (actually i have no stream, coz i have rid of ogg).
first three packets - identification, comments and codebooks. then goes a packet, which, as i understood, is just auxiliary for the next one. In addition, it holds (it can be found via
2005 Jun 22
2
ogg_sync_pageout
It seems to me that running ogg_sync_pageout doesn't automatically advance
the page. This is good if you haven't worked with the given page, makes
coding somewhat easier. However, when does a page advance. Is it after a
call to ogg_stream_pagein?
On a side note, I need to do seeking on top of libvorbis, I'd love to use
vorbisfile but sadly I can't. Is there a reasonable way to
2001 Apr 05
1
decoder_example -- event driven?
I'm trying to adapt decoder_example to to support more of an event driven
model. I'm building an RTSP client/server where the client will have a
function called everytime a new packet comes in. So, I want to queue
up these packets to be played.
My current attack is as follows (note this isn't very robust and I
realized that):
For first and second packet i grab all the header stuff
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
> > Which part?
>
> Well, my biggest problem is dealing with files. As you have mentioned
> that fill_buffer() is obsolete, what has replaced it? ogg_sync_buffer()
> didn't seem to be what I was looking for, as far as I can tell... am I
> headed in completely the wrong direction?
Ah, OK, I understand where you're headed now.
The libvorbis API is different than
2005 Jun 29
3
os_types.h
Hey guys,
Maybe its cause I'm using older tools, but I've noticed a minor problem
building the ogg libraries on a mac. I'm using Codewarrior 8. In
os_types.h on line 60, it says "#include <sys/types.h>" where it should
be "#include <types.h>"
I'm guessing this isn't an issue for all compilers, just codewarrior.
Possibly only codewarrior 8
2002 Jan 22
2
Peak value
Hi,
While testing ReplayGain (so it could be related to a bug), I noticed the following gain comments for a file:
RG_PEAK=1.71580
RG_RADIO=-7.91 dB
RG_AUDIOPHILE=-6.72 dB
I've never seen such a large peak. Not that I've looked much, nor have I analyzed the file further. I just thought I should mention it. :)
The file is the track Board Burner by Mixmaster Mike, available at:
2017 Dec 08
3
[PATCH] drm/nouveau/imem/nv50: fix incorrect use of refcount API
Commit be55287aa5b ("drm/nouveau/imem/nv50: embed nvkm_instobj directly
into nv04_instobj") introduced some new calls to the refcount api to
the nv50 mapping code. In one particular instance, it does the
following:
if (!refcount_inc_not_zero(&iobj->maps)) {
...
refcount_inc(&iobj->maps);
}
i.e., it calls refcount_inc() to increment the
2011 Jul 15
2
Odd behaviour of as.POSIXct
Dear all,
how come the first loop in the below fails, but the second performs as
expected?
days <- as.Date( c("2000-01-01", "2000-01-02") )
for(day in days)
{
as.POSIXct(day)
}
for( n in 1:length(days) )
{
show(as.POSIXct(days[n]))
}
Many thanks, Jo
[[alternative HTML version deleted]]
2011 Jul 25
1
do.call in "with" construction
Dear all,
I'd appreciate any help to rectify what must be a misconception of mine how
environments work:
##########################
myEnv <- new.env()
myEnv$a.env <- 1
myEnv$symbols.env <- "a.env"
a.global <- 2
symbols.global <- "a.global"
myFun <- function(symbols){do.call("print", lapply(symbols, FUN=as.name))}
do.call("myFun",
2011 Aug 08
1
aggregate.zoo on bivariate data
Hi,
I'm removing non-unique time indices in a zoo time series by means of
aggregate. The time series is bivariate, and the row to be kept only depends
on the maximum of one of the two columns. Here's an example:
x <- zoo(rbind( c(1,1), c(1.1, 0.9), c(1.1, 1.1), c(1,1) ),
order.by=c(1,1,2,2))
The eventual aggregated result should be
1 1.1 0.9
2 1.1 1.1
that is, in
2023 Dec 08
1
[PATCH] drm/nouveau: Fixup gk20a instobj hierarchy
From: Thierry Reding <treding at nvidia.com>
Commit 12c9b05da918 ("drm/nouveau/imem: support allocations not
preserved across suspend") uses container_of() to cast from struct
nvkm_memory to struct nvkm_instobj, assuming that all instance objects
are derived from struct nvkm_instobj. For the gk20a family that's not
the case and they are derived from struct nvkm_memory instead.
2015 Mar 01
2
[LLVMdev] Extending Vector GEP - proposal
Hi,
According to the current GEP syntax, vector GEP requires that each index must be a vector with the same number of elements.
%A = getelementptr <4 x i8*> %ptrs, <4 x i64> %offsets
I propose to lessen this requirement. Let each index be or vector or scalar. All vector indices must have the same number of elements. The scalar value will mean the splat vector value.
%A =
2005 Jun 16
2
Comments in vorbisfile_example
I have a couple of questions with respect to "vorbisfile_example.c" in the
ov sdk.
1) Near the end, there is a comment that says "we don't bother dealing
with sample rate changes, etc, but you'll have to." I assume the author is
regarding to different sample rates as a whole, not dynamic sample rates. Am
I correct in that assumption?
2) That etc
2005 Aug 22
1
Problem with security = ads
Hi list,
i am having trouble authenticating users against an
windows 2003 sp1 ads.
I am using samba 3.0.20-0.1
Here is my smb.conf:
workgroup = SIV
map to guest = Bad User
security = ads
password server = ads01.siv.de
realm = siv.de
client ntlmv2 auth = yes
spnego = yes
My krb5.conf:
[libdefaults]
default_realm = SIV.DE
2017 Dec 18
1
[PATCH] drm/nouveau/imem/nv50: fix incorrect use of refcount API
Hey Ard,
It seems that Ben already committed a similar patch to his tree (see [0]). I do
not know whether he is planning to have it part of a pull request of fixes for
4.15.
Best regards,
Pierre
[0]: https://github.com/skeggsb/nouveau/commit/9068f1df2394f0e4ab2b2a28cac06b462fe0a0aa
On 2017-12-18 — 09:27, Ard Biesheuvel wrote:
> On 8 December 2017 at 19:30, Ard Biesheuvel <ard.biesheuvel