Link to home
Start Free TrialLog in
Avatar of Aarto
Aarto

asked on

recording audio from line-in of SB16

Is it possible to record audio from the line-in port of SB16 and compatibles?  I can record from the mic using TWaveIn but can't do it using the line-in
Avatar of mheacock
mheacock

Aren't mic and line-in the same?  I only have one input plug on my soundblaster.
Avatar of Aarto

ASKER

Not so in any soundcard i have..
I've got 2  soundcards.. (not in the same PC though)
A SB16 and a "Galaxy" SB-compatible..  both have line-in and mic input plugs. In control-panel, the only recording option for each sound card is from the mic-plug
ASKER CERTIFIED SOLUTION
Avatar of javiertb
javiertb

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aarto

ASKER

The actual question is how to find the handle of
line-in  waveform-audio input device
Here you have how to get the LineId:

   Information: TMixerLine;
begin
   With Informacion Do
    Begin
       { Set record size}
       cbStruct := SizeOf(Informacion);
       { and number of the line we want to get information from}
       dwDestination := {Here it goes the number of the line :                            0,1,2...};
         { We get information about the line} }
       mixerGetLineInfo(0, @Information,                                                   Mixer_GetLineInfOf_Destination);
      { We get the number of channels, conections, controls and
        ,  LINEID accessing the following properties:
        They're all of dWord type
        cChannels
        cConnections
        cControls
        **************
        ** dwLineID **      
        **************      
        }
   end;
end