Jump to content

change sound recording source (line in or mic)


bimbim

Recommended Posts

Hi,

I'm currently doing test on sound and I've found the ones from the examples. It work well but I can't select programmaticaly the input source, mic or line in. I succeed at switching it from windows menus but automation rules...

Can anyone tell me how to change the sound recording line via LabVIEW please?

Can anybody help me to find a solution?

Thank you in advance.

Bim

Link to comment
If you search MSDN on multimedia function calls you can find the correct function and DLL to switch. Then use the LabVIEW Call Library node to call this function.

Hi,

I've tried to find something about the dll called in the Vi I attached (based from examples) but as I've never interaced a dll via LabVIEW I'm a little bit lost!

I attached the VI I use and the picture of the volume control (no action on my VI) and recording control (acts on the source oberved in my VI).

I may not use the best way to detect a sound on my PC?

Thank you in advance for your help.

I'm looking forward to your answer.

Bim

post-1776-1133273058.gif?width=400

post-1776-1133273068.gif?width=400

Download File:post-1776-1133273125.llb

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.