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
Aren't mic and line-in the same? I only have one input plug on my soundblaster.
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The actual question is how to find the handle of
line-in waveform-audio input device
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_Destina tion);
{ 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
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_Destina
{ 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