?
Solved

recording audio from line-in of SB16

Posted on 1997-04-12
5
Medium Priority
?
194 Views
Last Modified: 2010-04-06
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
0
Comment
Question by:Aarto
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:mheacock
ID: 1335350
Aren't mic and line-in the same?  I only have one input plug on my soundblaster.
0
 

Author Comment

by:Aarto
ID: 1335351
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
0
 
LVL 2

Accepted Solution

by:
javiertb earned 400 total points
ID: 1335352
In the function waveInOpen I guess you'll have to change the parameter uDeviceID and instead of using the device identifier you'll have to use a handle of an open waveform-audio input device (the line-in in this case).

Anyway, you'll have to deal with wavein functions in order to retrieve information about line-in input device.
0
 

Author Comment

by:Aarto
ID: 1335353
The actual question is how to find the handle of
line-in  waveform-audio input device
0
 
LVL 2

Expert Comment

by:javiertb
ID: 1335354
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

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question