dcsimg
Results 1 to 5 of 5

Thread: check if audio is going though sound card?

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2012
    Posts
    14

    Exclamation check if audio is going though sound card?

    Hi Everyone,

    I was wondering what sorta code you would you to check if audio is going though a sound card?
    I am designing a media player and I would like to show that audio is playing.

    Thanks!

    Josh

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    9,540

    Re: check if audio is going though sound card?

    Take a look at this and this. The first article is an amazing piece to read, don't just scroll down to the bottom :P the latter of the two is written in C#, however I still suggest studing it.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2012
    Posts
    14

    Re: check if audio is going though sound card?

    Thanks for your reply, That is quite interesting & how it works.

    But I am writing my program in Visual basics, not C#. Would you know of a way to do this in Visual Basics 2010?
    I would rather keep writing my app in Visual Basics, as Its quite a big one and it would take along time to re-write and learn C#.


    Thanks!

    Josh.

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    32,264

    Re: check if audio is going though sound card?

    you would do it the same way.... that's the beauty of the .NET framework... if it's String.Length in C#, it's String.Length in VB ... the only difference is the use of semicolons and curly brackets... and some minor differences in how variables are declared, but that's pretty much it.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2012
    Posts
    14

    Re: check if audio is going though sound card?

    Hi,

    I have never worked with C#, Could you please help me do this?

    Thanks

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width