core-api

Where do I report a Windows core library problem?

How do I let Microsoft know about a problem I've found in one of their core library routines? Do they have a central repository to report these things? I am not a member of Microsoft Development Network (MSDN). Or should I even bother? ...

Is it possible to relate the same audio device in different APIs?

I'm using the winmm api to deal with audio. I'm using waveInGetDeviceCaps and waveInMessage to uniquely identify an "audio line". Everything works fine, except that in Vista, the name of the device is capped in 32 chars by the WaveInCaps struct. To work around that, I'm envisioning using the core api when OS version is >= Vista. I'm usi...

Confused about how Windows get audio line names

I'm getting very confused about how audio devices/lines/endpoints are named in windows (vista). First I go to the control panel applet "Sound". Among others, I find one input line that resides physically on a USB Audio Device. The name of the "recording device" in the applet is: Microphone 3- USB Audio Device Working From the waveInGe...

Why doesn't each_slice work?

I am trying to use the Enumerable#each_slice. It doesn't work on my computer, stating that method is not found. I am running ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] API: http://ruby-doc.org/core/classes/Enumerable.html#M003142 Example: (1..10).each_slice(3) {|a| p a} # I get NoMethodError: undefined method `eac...