similar to: ov_time_tell returns NAN (-INF) after ov_time_seek to 0 s

Displaying 20 results from an estimated 1000 matches similar to: "ov_time_tell returns NAN (-INF) after ov_time_seek to 0 s"

2001 Feb 14
1
Problem with seek functions,
On Mon, 12 February 2001, OmegaDan wrote: [snip code] Hmm, weird.. that does work for me. I only had the trouble that ov_time_tell returned negative infinity after a ov_time_seek to 0 secs. This is my code: function TMainForm.ReadBuf(Buffer: PChar; Size: Longword; var Time: Single): Longword; var BytesRead, Change: Longword; begin BytesRead := 0; Time := ov_time_tell(vf^); if Time <
2001 Mar 01
2
ov_time_seek to 0s fails... AGAIN
Hello everybody, I sent something about this before, but this bug is still there, so... If you call ov_time_seek(vf, 0); it will fail, returning OV_EFAULT (from ov_pcm_seek_page). I think this must be a bug, because seeking to 0 seconds *should* be OK. Another thing, when ov_time_seek fails with OV_EFAULT, you cannot continue playing (because of the goto seek_error). This is not clear from
2001 Feb 03
0
Winamp plugin annoyance
Hello, When the Winamp plugin is playing an Ogg Vorbis file, if you try to scroll the playlist so that the title of the Ogg file scrolls out of view, it jumps back again, which is very annoying. The fix: In function DecodeThread, replace if(lostsync || (decode_pos_ms - lastupdate > 500)) { ... mod.SetInfo(bitrate / 1000, samplerate / 1000, num_channels, 1); by if(lostsync ||
2001 Jul 15
1
getting a wierd results from ov_time_tell()
>From the documentation that I read, ov_time_tell is supposed to tell you the how many seconds the decoder is into in the stream. However, I'm getting some weird results from it. On my stream (which is seekable - I verified it), ov_time_total returns the correct total seconds. However, when I start playing, ov_time_tell first gives me a wrong floating point number (like 4.969.). when I
2001 May 11
2
Application Crashes When Calling ov_time_seek() function
I’m running into a problem with my application crashing when I make a call to the ov_time_seek() function. The call includes the OggVorbis_File and it is indeed seekable, as I first check that using the ov_seekable() function. Everytime, however I try to seek forward, the application dies with a core dump. I’m working with the example from the “VorbisFile Documentation” site. The application
2001 Feb 09
2
Announce: VCE v0.1.1
Hi All, I have released VCE v0.1.1. It is primarily a bug fix/cleanup release. I recommend all users to upgrade (It's only a 50k download). VCE is still lacking UTF-8 support. This is planned for the next release. I have already got UTF-8/unicode working on my Windows 2000 box. I just need to get Win 95/98/ME to work. VCE needs an icon. If anybody has a good icon, design, or idea please let
2010 Jan 21
0
fPortfolio prob: maxreturnPortfolio() returns Na/NaN/Inf error
Hi - First posting here. I am using fPortfolio to try and optimize a simple portfolio consisting of 5 daily return series. I want to maximize return subject to setTargetRisk(myspec)=0.08 using only constraints="LongOnly" I can run feasiblePortfolio() using a spec file that specifies the weights, and it works fine. When I run maxreturnPortfolio(mydata,myspec,"LongOnly"),
2002 Sep 25
0
vorbisfile bug?
Good day. It seems vorbisfile has a bug. There is a such string in ov_time_seek: ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate; It is not accounted type convertion between double and ogg_int64_t. E.g. if I convert 440267'th sample (44100Hz source) to time: double dSec = 440267 / (double) 44100; and then try to seek dSec: ov_time_seek(pOVFile, dSec); the resulting
2011 Dec 13
1
NA/NaN/Inf in foreign function call question
Dear all, I have a datafile where I run haplo.GLM analyses using several variables (a matrix). However, when I include a certain binary variable (0,1) I get this message Error: NA/NaN/Inf in foreign function call (arg 4) I don't get an error when I include another binary variable, again with only 0,1. Both variables don't have missing values, they only have 0 and 1. Why do I get an
2005 Oct 24
0
In da.norm Error: NA/NaN/Inf in foreign function call (arg 2)
I am conducting a simulation study generating multivariate normal data, deleting observations to create a data set with missing values and then using multiple imputation via da.norm in Schafer's norm package. >From da.norm, I get the following error message: "Error: NA/NaN/Inf in foreign function call (arg 2)" The frequency of the error message seems to depend on the ratio of n
2003 May 16
0
glmmPQL, NA/NaN/Inf in foreign function call (arg 3)
Dear all, I try to fit a glmmPQL on a huge data with 384189 individuals id=1:384189: working in 1520 establishments est:1:1516. The minimum number of individuals in every establishment is 30. This works for a subsample excluding establishemnet cells smaller than 100, but fail when we include smaller cells: R> summary(glmmPQL(count ~ + I( age-ave(age,est) )* ave(age,est) + + I(
1998 Jul 22
0
R-beta: NaN & Inf: Thanks for your quick help
Thanks to Ted and Guido for your quick help, I think I know what happened. ernesto ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
2008 Jul 25
0
fit.dist gnlm question, NaN and Inf results
I am attempting to fit discrete data (daily counts of arrivals of recreational vessels at locks on a river) using the fit.dist package. Some distributions return values of NaN and Inf for certain situations, an example with Inf values is shown below. # of vessels: 1 2 3 4 5 6 7 8 9 10 11 # of days with # of vessels: 35 20 10 5 6
2002 Jun 14
1
Error: NA/NaN/Inf in foreign function call (arg 1)
Hi, I have a huge data table with several variables containing missing values. I want to make a simple scatter plot (Mass, HSI) and draw a smooth regression on it. Here are the summaries of these two variables: > summary(Mass) Min. 1st Qu. Median Mean 3rd Qu. Max. 46.0 205.9 272.5 282.6 348.3 610.1 > summary(HSI) Min. 1st Qu. Median Mean 3rd Qu. Max.
2013 Feb 12
0
NA/NaN/Inf in foreign function call (arg 6) error from coxph
Dear R-helpers: I am trying to fit a multivariate Cox proportional hazards model, modelling survival outcome as a function of treatment and receptor status. The data look like below: # structure of the data str(sample.data) List of 4 $ survobj : Surv [1:129, 1:2] 0.8925+ 1.8836+ 2.1191+ 5.3744+ 1.6099+ 5.2567 0.2081+ 0.2108+ 0.2683+ 0.4873+ ... ..- attr(*, "dimnames")=List of 2
1998 Jul 22
1
R-beta: NaN & Inf
Can someone explain what this words (NaN and Inf) mean ? I get then as a result of some matrix operations, in the end I have a matrix without any figures just this words. regards ernesto ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing
2006 Jul 14
1
dweibull retuns NaN instead of Inf (PR#9080)
Full_Name: G?ran Brostr?m Version: 2.3.1 OS: Linux, ubuntu Submission from: (NULL) (85.11.40.53) > dweibull(0, 0.5, 1) [1] NaN Warning message: NaNs produced in: dweibull(x, shape, scale, log) should give Inf (and no Warning). Compare with > dgamma(0, 0.5, 1) [1] Inf This happens when 'shape' < 1.
2008 Oct 25
1
0 ^ NaN == Inf, why?
In R, 0 ^ NaN yields Inf. I would have expected NaN or perhaps 0. Is this behaviour intended? >sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils
2011 Feb 14
1
Error en lm.fit NA/NaN/Inf en llamada a una función externa
Hello, I am new with R, and I'm trying to fit a linear model, I did the following and obtein this result, can anybody help? Thanks, > logdftodos7925vi <- log(dftodos7925vi) > logALTURA7925<- log(dftodos7925$ALTURA7917) > logtodos7925.lm <- lm (logALTURA7925~., data= logdftodos7925vi) Error en lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : NA/NaN/Inf en
2011 May 26
2
NaN, Inf to NA
Hi, I want to recode all Inf and NaN values to NA, but I;m surprised to see the result of the following code. Could anybody enlighten me about this? > df <- data.frame(a=c(NA, NaN, Inf, 1:3)) > df[is.infinite(df) | is.nan(df)] <- NA > df a 1 NA 2 NaN 3 Inf 4 1 5 2 6 3 > Thanks! Cheers!! Albert-Jan