search for: iarg

Displaying 7 results from an estimated 7 matches for "iarg".

Did you mean: arg
2005 Sep 02
2
DTX mode using preprocessor?
...he preprocessor to send the packet with the 'dtx_enable' flag in it, so the decoder on the other end knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1) At the moment, I can hack around it by doing something like: if (VAD for prev frame && ! VAD for this frame) { iArg = 0; speex_encoder_ctl(m_esEncState,SPEEX_SET_VBR, &iArg); speex_encoder_ctl(m_esEncState,SPEEX_SET_QUALITY, &iArg); SBEncState *sbe = static_cast<SBEncState *>(m_esEncState); EncState *es = static_cast<EncState *>(sbe->st_low); es->dtx_count = 1; } (in wi...
2009 Jun 25
2
stringsAsFactors has no impact in expand.grid()?
Hi I have the feeling, that the argument stringsAsFactors has no impact in the function expand.grid: a <- c("PR", "NC", "A2", "BS") b <- c(1, 0.5, 0.25, 0.125, 0.0625, 0.03125) class(expand.grid(css, fscs, stringsAsFactors=FALSE)[[1]]) [1] "factor" class(expand.grid(css, fscs, stringsAsFactors=TRUE)[[1]]) [1] "factor" Also, when
2005 Sep 04
0
DTX mode using preprocessor?
...acket with the 'dtx_enable' flag in it, so the decoder on the other end > knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1) > > At the moment, I can hack around it by doing something like: > > if (VAD for prev frame && ! VAD for this frame) { > iArg = 0; > speex_encoder_ctl(m_esEncState,SPEEX_SET_VBR, &iArg); > speex_encoder_ctl(m_esEncState,SPEEX_SET_QUALITY, &iArg); > > SBEncState *sbe = static_cast<SBEncState *>(m_esEncState); > EncState *es = static_cast<EncState *>(sbe->st_low); > e...
2012 Dec 27
0
Suggestion: 'method' slot for expand.grid() (incl. diffs)
...## x should either be a list or a set of vectors or factors nargs <- length(args <- list(...)) @@ -26,7 +27,9 @@ if(nargs == 0L) return(as.data.frame(list())) ## avoid classed args such as data frames: cargs <- args cargs <- vector("list", nargs) - iArgs <- seq_len(nargs) + seqArgs <- seq_len(nargs) + method <- match.arg(method) + iArgs <- if(method=="decreasing") seqArgs else rev(seqArgs) nmc <- paste0("Var", iArgs) nm <- names(args) if(is.null(nm)) ### ./src/library/base/man/expand....
2010 Oct 05
0
Please help me simplify my manipulation and printing of function calls
...# turn it into (list version of) a call to the graphics function we actually want TheCallList[[1]]<-quote(segments) # replace the variable names used with their values # (because I do not wish to record all the messy calculation I do) if (length(TheCallList)>1) { for (iarg in seq(2, length(TheCallList))) { TheCallList[[iarg]]<-eval(TheCallList[[iarg]]) } } # make it back into a call TheCall<-as.call(TheCallList) # and finally call it ToReturn<-eval(TheCall) # and the purpose of the whole shebang is to be able...
2005 Sep 04
1
DTX mode using preprocessor?
...tx_enable' flag in it, so the decoder on the other end >> knows it's in dtx mode? (and SPEEX_GET_DTX_STATUS returns 1) >> >> At the moment, I can hack around it by doing something like: >> >> if (VAD for prev frame && ! VAD for this frame) { >> iArg = 0; >> speex_encoder_ctl(m_esEncState,SPEEX_SET_VBR, &iArg); >> speex_encoder_ctl(m_esEncState,SPEEX_SET_QUALITY, &iArg); >> >> SBEncState *sbe = static_cast<SBEncState *>(m_esEncState); >> EncState *es = static_cast<EncState *>(sbe-&gt...
2012 Apr 27
4
GSoC xapian node binding
...ument names: to indicate expected type in docs, prefix with the V8 >> type names & underscore: >> string_n object_n array_n int32_n uint32_n function_n external_n >> boolean_n >> >> Similarly with result objects: { name:v8type } >> >> (I generally use iArg, oArg, ioArg to indicate whether the arg is input, >> output, or both, but since JS functions get a single Arguments object, I >> abandoned that in this binding.) >> >> Should the list-iterator functions take optional start & end arguments to >> allow the user to l...