From: "Carlos Giani_AEN2003 (M2003)" Organization: TGM / PCC To: djgpp AT delorie DOT com Date: Wed, 26 May 1999 11:58:18 MET-1MDT Subject: Re: HELP! sound processing(line,mic) w/ Allegro ? X-Confirm-Reading-To: "Carlos Giani_AEN2003 (M2003)" X-pmrqc: 1 X-mailer: Pegasus Mail v3.22 Message-ID: <319713B597C@pcc.tgm.ac.at> Reply-To: djgpp AT delorie DOT com Whew, you will need hardware interrupts. As example, if you wanna use a SoundBlaster card you will have to hook your own SB-IRQ. Its number is usually 5, I think. The interrupt handler should be built like this: SB_Int_Handler { Play_Data_In_Buffer1; Load_New_Data_In_Buffer2; Swap_The_Buffer_Pointers; } The idea is to play previously loaded data, and while playing, loading the following data. So there's no delay between the transfers. > From: Michael Burian > Subject: HELP! sound processing(line,mic) w/ Allegro ? > Date sent: Sat, 22 May 1999 14:06:07 +0200 > Organization: UTA Telekom AG > To: djgpp AT delorie DOT com > Send reply to: djgpp AT delorie DOT com > After playing sound streams I'd need to know how to record sound data > (16 bit /44.1kHz /stereo). > What I'd wanna do is: > input => processing => output. > > this should be done in REALTIME! > (latency_time =< 1/44100 second) > > anyone out there who can help me? > > > Carlos Rafael Giani, student of the T.G.M in Vienna During holidays or weekends use this email-address: darkvale AT fcmail DOT com "Its not a bug, its an undocumented feature!"