www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/26/05:56:09

From: "Carlos Giani_AEN2003 (M2003)" <DARKVALE AT pcc DOT tgm DOT ac DOT at>
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)" <DARKVALE AT pcc DOT tgm DOT ac DOT at>
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 <michael DOT burian AT sbg DOT at>
> 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!"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019