Re: Selecting speaker output as capture device

keghn <[email protected]> Sat, 27 Apr 2013 21:25:27 -0700 (PDT)
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>

 i wonder if openal can pick up your hardware. My be you can use this:


	ALenum errorCode=0; 
	ALuint helloBuffer[16], helloSource[1]; 


      const ALchar *pDeviceList = alcGetString(NULL,
ALC_CAPTURE_DEVICE_SPECIFIER);
      if (pDeviceList)
      {
            printf("Available Capture Devices are:-\n\n");

            while (*pDeviceList)
            {
               printf("%s\n", pDeviceList);
               pDeviceList += strlen(pDeviceList) + 1;
	      }
       }
    char letterrr;
	std::cin >> letterrr;

	const char* devices = alcGetString(NULL,ALC_DEFAULT_ALL_DEVICES_SPECIFIER); 
	printf("Available capture devices: %s\n",devices);


-- 
View this message in context: http://old.nabble.com/Selecting-speaker-output-as-capture-device-tp35337095p35342137.html
Sent from the OpenAL - User mailing list archive at Nabble.com.

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal