search for: mb_ok

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

2007 Aug 24
0
speex DTX chore
...{ speex_bits_init(&bits); if(fs == 8000) { enc_state = speex_encoder_init(&speex_nb_mode); } else if(fs == 16000) { enc_state = speex_encoder_init(&speex_wb_mode); } else { MessageBox(NULL, "bad sampling frequency!", "SpeexEncoder", MB_OK | MB_ICONERROR); } int enc_frame; speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, &enc_frame); frame_size = enc_frame; // Set the quality speex_encoder_ctl(enc_state, SPEEX_SET_QUALITY, &qlty); // Set DTX speex_encoder_ctl(enc_state, SPEEX_SET_DTX, &dtx); //load...
2004 Aug 06
2
Protocol
jaromil, > > > > wanted to ask again if someone has some online documentation on the > > icecast (or shoutcast) protocol at the socket/data level. > > have a look into MuSE/libmpeg/httpinput.cc (http://muse.dyne.org) > i hope that code can help you figuring out > No actually not. It just makes the connection to the shoutcast/icecast server. I've gotten this
2003 Aug 27
0
Building a wine(lib) based shared library to link with a Linux application
...can port a windows dll to Linux and build a shared library that I can use in an ordinary Linux program. To be more specific: Supose I have sources for a Windows dll (mydll.c and mydll.def): mydll.c #include <windows.h> int ShowBox(void) { MessageBox(NULL, "DLL", "DLL", MB_OK); return 0; } mydll.def LIBRARY "mydll" DESCRIPTION 'Show a MessageBox' EXPORTS ShowBox @1 Is it possible with wine(lib) to buuild a library (preferably shared) that I can link with an ordinary Linux program, so that it becomes possible to call the function ShowBox...
2007 Dec 22
1
Memory leaks
...00000004): returning 0x110118 -- snip code: #include <windows.h> int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow) { MessageBox(NULL, "Hallo", "Test", MB_OK); return 0; }
2008 Dec 16
1
My first winelib app - where am I going wrong?
...t can load Windows DLLs using winelib (I can do that, right?) but to start off, I just wanted to do a little Hello World test. Here's what I've got: main.c Code: #include <windows.h> int main(int argc, char** argv) { MessageBox(NULL, "Hello world.", "Hello", MB_OK); return 0; } This compiles fine using Mingw32 and I can successfully run the resulting binary in Wine: Code: i586-mingw32msvc-gcc *.c -o main.exe wine main.exe Now I try to compile the same code with Winelib, but I'm having problems: Code: winegcc -mwindows -mno-cygwin *.c -o mai...
2006 Mar 03
0
Fw: Voice Activation Level (speex 1.1.11.1)
...rocess, SPEEX_PREPROCESS_GET_PROB_CONTINUE, &g.s.VADcontin); /*char *lisDebugCh = (char*) malloc(20); int decimalFcvt, signFcvt; static int firstDebug = 1; lisDebugCh = gcvt(g.s.VADstart, 20, lisDebugCh); if(firstDebug == 1) { ::MessageBoxA(NULL, lisDebugCh, "Mumble", MB_OK | MB_ICONERROR); firstDebug = 0; }*/ g.s.VADstart = 0.90f; f.s.VADcontin = 0.90f; speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_SET_PROB_START, &g.s.VADstart); speex_preprocess_ctl(sppPreprocess, SPEEX_PREPROCESS_SET_PROB_CONTINUE, &g.s.VADcontin); but nothing is cha...
2011 Apr 01
0
Wine release 1.3.17
...Ex 26505 file associations built by winemenubuilder lack wineprefix 26508 Atom Zombie Smasher demo window is not fullscreen 26514 Matlab 2009a: Fails to start 26535 Escaped spaces in desktop entries 26577 eBay Turbo Lister 7 fails to install 26596 FTBFS: RTLD_NOW, MessageBoxA, and MB_OK undefined in JACK_DriverProc() ---------------------------------------------------------------- Changes since 1.3.16: Akihiro Sagawa (2): inetcpl.cpl: Update Japanese translation. po: Update Japanese translation. Alexandre Julliard (14): c2man: Fix a typo. gdi32: Don'...