From: "MineBoom!" Newsgroups: comp.os.msdos.djgpp Subject: Where is EasyMik?! Date: Thu, 18 Mar 1999 20:00:20 +0200 Organization: SAUNALAHDEN SERVERIN asiakas Lines: 77 Message-ID: <7crf1s$sok$1@tron.sci.fi> NNTP-Posting-Host: ccclxxx.kdyn.saunalahti.fi X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi there! Well, i was looking for MikAlleg and i would have needed EasyMik but the link has died. I visited the original MikAlleg home, i would need it because i'm having some problems with the original one... Im making a player for my frend.. 1. On the test progam i *hear* the music as it should. 2. On my program, not even a whisper !!..absolutely silence . I have copied code from the test program and still silence haunts my program... Phew! Help is appreciated and i thank you in advance ! Code follows.. -------- void init_mod(void) { setvbuf(stdout, NULL, _IONBF, 0); srandom(_farpeekw(_dos_ds, 0x0046C)); md_mixfreq =44100; md_dmabufsize =6000; md_mode =DMODE_16BITS|DMODE_STEREO; md_device =0; ML_RegisterLoader(&load_mod); ML_RegisterLoader(&load_xm); ML_RegisterLoader(&load_stm); ML_RegisterLoader(&load_s3m); ML_RegisterLoader(&load_mtm); ML_RegisterLoader(&load_uni); ML_RegisterLoader(&load_ult); MD_RegisterDriver(&drv_nos); MD_RegisterDriver(&drv_ss); MD_RegisterDriver(&drv_sb); MD_RegisterDriver(&drv_gus); MD_RegisterPlayer(tickerhandler); allegro_init(); install_timer(); if(!MD_Init()) { printf("Driver error: %s.\n",myerr); exit (1); } mf=ML_LoadFN("tom.xm"); printf("Using %s for %d bit %s %s sound at %u Hz\n\n", md_driver->Name, (md_mode&DMODE_16BITS) ? 16:8, (md_mode&DMODE_INTERP) ? "interpolated":"normal", (md_mode&DMODE_STEREO) ? "stereo":"mono", md_mixfreq); MP_Init(mf); md_numchn=mf->numchn; // set the number of voices to use.. you MD_PlayStart(); } ----- Code ends. Pekkaka AT dlc DOT fi ThankS !!