Homework2 Flashcards Preview

GraphicsII > Homework2 > Flashcards

Flashcards in Homework2 Deck (20)
Loading flashcards...
1

A DirectInput ________ represents a physical object that can provide input to the computer.

device

2

When sound waves reflect back from a solid object, it is know as a(n) ______

echo

3

You use a ________ to get mutliple sounds to play at once.

mixer

4

Name two types of buffers used with DirectSound. (This is meant to be an easy question, so keep it simple and state the obvious.)

primary and secondary

5

Give one advantage to using DirectInput over standard API calls.

Win32 was not designed for games or speed

Win32 can't support complex joysticks

Mouse support is limited to 3 buttons and 2 axes

Keyboard supports has stuff you don't need

Message processing is slow

6

All sounds have a(n) ___________________ and a(n) ________________________.

amplitude and frequency

7

What are devices composed of?

Devices are composed of a set of objects, each one defining a button, axis, POV hat, etc. 

8

What version of DirectX did Microsoft introduce a component called DirectMusic, which allows applications to dynamically improvise music for games?

DirectX 6.1

9

Sound waves are considered to be ___________ in nature.

sinusoidal

10

What is the DirectInput keyboard constant for the Right-side Alt key?

 DIK_RMENU

11

What is the DirectInput keyboard constant for the Left-side Ctrl key?

DIK_LCONTROL

12

What structure is used to setup the description of a DirectSound buffer?

DSBUFFERDESC

13

_____________is measure in Hertz (Hz).

frequency

14

Explain the concept of sound, in your own words.

magic, wizardry, waves of energy that are caused by movement of physical objects and can be interpreted either organically or electronically.

15

A Directinput device represents a __________ object that can give input to the computer.

physical

16

Name two ways to receive data from a device.

immediate and buffered

17

The mouse and keyboard can have _________ which are classes that are notified when events happen.

listeners

18

After successfully creating an IDirectInputDevice8 interface for a DirectInput device, what should be the first thing you do?

set the cooperative level

19

True or False

 

The magnitude of sound defines how loud the sound is and is usually measured in decibels(dB).

False

20

Direct Sound __________ are your main tools in DirectSound.

buffers