search for: outformat

Displaying 4 results from an estimated 4 matches for "outformat".

2016 Jul 11
0
[PATCH] wave_out: fix casts
...e, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2 ) +wave_callback ( HWAVEOUT hWave, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2 ) { if ( uMsg == WOM_DONE ) { EnterCriticalSection ( &cs ); @@ -125,7 +125,7 @@ Set_WIN_Params ( FILE_T dummyFile , outFormat.nBlockAlign = (outFormat.wBitsPerSample + 7) / 8 * outFormat.nChannels; outFormat.nAvgBytesPerSec = outFormat.nSamplesPerSec * outFormat.nBlockAlign; - switch ( waveOutOpen ( &dev, deviceID, &outFormat, (DWORD)wave_callback, 0, CALLBACK_FUNCTION ) ) + switch ( waveOutOpen ( &dev...
2003 Sep 01
2
readcsvIts() to create irregular time series
...d; test<-readcsvIts('Fires98.csv',informat=its.format("%m/%d/%Y"),header=FA LSE) the function reads in the data from the csv file as; V2 05/10/1998 7 05/11/1998 5 When testing if it's a its object is.its(test) the result is FALSE. When do you use informat or outformat? What goes wrong? 2. When reading in the data as a table; m1 <- read.table('Fires98.csv',header=FALSE, sep=",", dec=".") V1 V2 1 5/10/1998 7 2 5/11/1998 5 ... test2 <- its(m1,dates=as.POSIXct(x=strptime(dimnames(V1)[[1]] format=its.format("%m/%...
2005 Jul 20
1
Build under XP with mingw
...problem comes with speexdec which always crashes when trying to use the sound card. I've worked a bit around it and it crashes always in module wave_out.c. In details, the cause seems to be the use of waveOutOpen function, at line 128: [...] switch ( waveOutOpen ( &dev, deviceID, &outFormat, (DWORD)wave_callback, 0, CALLBACK_FUNCTION ) ) [...] All the parameters seem to have their right values to perform a successfully call. All but the forth: ... (DWORD)wave_callback, ... which seems not to work on my system. If i replace this parameter with a 0 (zero) this call goes ok, the soun...
2004 Aug 25
1
Difficulties in starting up with its package
...in two of my own data files like this -- nifty.its <- readcsvIts(filename="nifty.d", header=F, sep=" ", col.names=c("date", "r.nifty"), informat=its.format("%Y%m%d"), outformat=its.format("%Y-%m-%d")) inrusd.its <- readcsvIts(filename="inrusd.d", header=F, sep=" ", col.names=c("date", "r.inrusd"), informat=its.format("%Y%m%d"), out...