Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Step 2: Declare and Initialize variables
No permission to create posts
December 27, 2014
11:13 pm
W Pirkle
Forum Posts: 247
Member Since:
January 29, 2017
sp_UserOfflineSmall Offline

Use the FX book as your guide as it has all the information you need about the control variables and their attributes. Also, see the Appendix A and B for information on the linked list that stores the control objects. The wrapper code shows you how to setup the two basic types of controls, a slider and a drop-list (or string-list) control, one of each.

In the RafxToAUWrap.h file, see the declaration of the volume and mute variables near the bottom. Again, refer to the FX book for details.

In the RafxToAUWrap.cpp file, got to the bottom and setup the control object instances, starting with ui0 and control ID 0 and then index upwards from that. I left detailed comments there for you to understand how the object attributes are initialized. See the FX book Appendix for more details

Next Topic: use the variables to do something

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

JimmyM: 30

TheSmile: 27

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 522

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 545

Posts: 2134

Newest Members:

Bill, hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman, venkman, Jfx, drorh

Moderators: W Pirkle: 247

Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 247