Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2004
    Location
    Germany
    Posts
    38

    Grin Detection of Sound Installation

    Hello,

    I'm searching for a reliable way to detect if a target-system has a correct installed and enabled soundcard.
    My setup requires this information at startup, otherwise I have to inform the user that installation will not work properly afterwards.
    Any help is appreciated,
    thx in advance
    Thomas

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Here's the thing. Just because a sound device is installed won't necessarily indicate that the user can hear your application. I would do one of those quick sound tests which just plays a sound and asks them to click one of two buttons, "Yes I heard the sound" or "No I didn't hear anything". That's the only way to know 100% for sure if the user can hear your app. My two cents.

  3. #3
    Join Date
    Sep 2004
    Location
    Germany
    Posts
    38

    Smile

    Hi Corey,
    a very "reliable" and extremly save way.
    Thanks a lot

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Should tell you if they have a soundcard or not, but it can't tell you if they have speakers

    Code:
    nReturn = DLL.CallFunction(_SystemFolder.."\\winmm.dll", "waveOutGetNumDevs", "", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
    if nReturn == 0 then
    	--no soundcard
    end

  5. #5
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    I don't want to take over this thread or anything, but I have been looking for a way to detect the names of the installed audio devices. Worm, maybe you can help me using that winmm.dll?

    Thanks.

  6. #6
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

  7. #7
    Join Date
    Mar 2004
    Location
    Toronto, ON CANADA
    Posts
    696
    Superb!

    Thank you very much!

    Oh one thing. Is there a way with this DLL to detect the current default Windows device (as per the Control Panel)?

  8. #8
    Join Date
    Nov 2008
    Posts
    39
    Double Thank You, just solved 2 of my issues at once.

Similar Threads

  1. Sound Card Detection or Something
    By gab in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 02-01-2006, 02:25 PM
  2. Bonus: Something to Share
    By sside in forum AutoPlay Media Studio 5.0 Examples
    Replies: 79
    Last Post: 03-10-2005, 07:25 AM
  3. Unusual request..
    By M626 in forum AutoPlay Media Studio 5.0
    Replies: 11
    Last Post: 01-07-2005, 07:57 PM
  4. HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 01:55 PM
  5. Sound Playing Detection
    By carica in forum AutoPlay Menu Studio 3.0
    Replies: 3
    Last Post: 02-07-2001, 03:01 PM

Posting Permissions

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