Author Topic: Mic Input  (Read 2901 times)

Brif8

  • Posts: 46
Mic Input
« on: 20 Jan '03 - 04:40 »
Hi All

Currently I have two streams both playing the same mp3 but on different sample rates. As seen here

BASS_RecordSetInput(Box1.ItemIndex,BASS_INPUT_ON); // Set to Mixer

Rec1Hdle := BASS_WMA_EncodeOpenNetwork
           (SAMPLERATE,BASS_WMA_ENCODE_TAGS,64000,90,25);
Rec2Hdle := BASS_WMA_EncodeOpenNetwork  
           (22050,BASS_WMA_ENCODE_TAGS,22000,95,25);

 if Rec1Hdle = 0 then
    ShowMessage ('Can''t initialize Record Encoding')
 else
    begin
    BASS_WMA_EncodeSetTag(Rec1Hdle,'Title',PChar(
         'Radio HIGH')); // set WMA title tag
    BASS_WMA_EncodeSetTag(Rec1Hdle,NIL,NIL);  
    BASS_WMA_EncodeSetNotify (Rec1Hdle,@Client1Proc,0);

    BASS_WMA_EncodeSetTag(Rec2Hdle,'Title',PChar(
         'Radio LOW')); // set WMA title tag
    BASS_WMA_EncodeSetTag(Rec2Hdle,NIL,NIL);      
    BASS_WMA_EncodeSetNotify (Rec2Hdle,@Client2Proc,0);
....
....

How does one incorporate Mic input and what changes would have to be made ??

I appreicate the help
Thanks in advance
B
??? ???