Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 8th, 2007, 02:18 AM
Registered User
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default USB Audio Mixer

Iam facing a similar problem with the USB Audio Device of Logitech Web Cam.The code works properly on Mike connected to Sound Card but when i open the mixer such as


result = mixerOpen(&hMixer, 1, 0, 0, 0);

//i see no error.but when i use


    if (result != MMSYSERR_NOERROR) {
        bResult = false;
    } else {
        // get the speaker line of the mixer device
        ml.cbStruct = sizeof(MIXERLINE);
        ml.dwComponentType = deviceType;
        result = mixerGetLineInfo((HMIXEROBJ) hMixer, &ml, MIXER_GETLINEINFOF_COMPONENTTYPE);

mixerGetLineInfo fails to get the Line Information

it would be great if any one can give me solution for this issue...............

Thanks
Prab








Similar Threads
Thread Thread Starter Forum Replies Last Post
backing up through USB Shira VB Databases Basics 1 October 9th, 2008 06:57 AM
Audio Mixer example? phoenix2648 Visual Basic 2005 Basics 0 November 15th, 2007 08:28 AM
USB Communication BrianWren VB.NET 0 July 21st, 2006 01:34 PM
USB Communication BrianWren VB How-To 0 July 21st, 2006 12:40 PM
Usb Port? dedex C# 1 November 9th, 2004 06:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.