Jump to content

  • Log In with Google      Sign In   
  • Create Account

lomateron

Member Since 03 Feb 2012
Offline Last Active Nov 21 2014 05:14 PM

Posts I've Made

In Topic: XAudio2 lose volume control

21 November 2014 - 04:37 PM

I am using RAWINPUTDEVICE to get input form keyboard and mouse

I get the messages using

if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
{
	TranslateMessage(&msg);

	if (WM_INPUT == msg.message && RIM_INPUT == msg.wParam)
	{
	   //pressed keys or mouse
	}			
	DispatchMessage(&msg);
}

and one of thosekeys is called VK_VOLUME_UP

what do I have to do with that key when I get it?

 

Are you consuming the events in your app? Or are you passing them along to the system handlers?

I don't know


In Topic: Can You Solve This 4th Grade Math Problem ?

20 November 2014 - 11:19 AM

dis homework, thread is no kill,

my threds is kill

wat?


In Topic: xaudio2 problem

06 November 2014 - 05:26 PM

Can someone test my code to see if it's just my computer?

 

http://www.filedropper.com/soundinput

 

you will start hearing random sine waves, sometimes there will be more than one sine wave playing at the same time and when this happens I start hearing the "crinchi" sound in my computer

 

search for the number 32000.0, it defines the amplitude of the sine wave, when I change 32000.0 to 5000.0 the "crinchi" sound goes away


In Topic: xaudio2 problem

05 November 2014 - 10:40 PM

soooo non of you experience a similar problem or loss in sound quality when SubmitSourceBuffer() and start() ing multiple IXAudio2SourceVoice at the same time?


In Topic: xaudio2 problem

05 November 2014 - 02:42 PM

32,767 is the maximun amplitud of the sine wave.

playing 2 sine waves with 32,767 amplitud produces the "crinchi" sound

if I lower this to 15,000 the "crinchi" sound goes away when playing 2 sine waves, with 3 it comes again

if I lower this to 10,000, I can play 3 sine waves, and so on

 

that's why I think the Masteringvoice is mixing the voices the wrong way


PARTNERS