[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] soundcard



On Friday, January 2, 2004, at 04:03  PM, Mike Whyte wrote:

it's in Server.options,
the superclass of Server, i think.

-mike

Not the superclass, a different class.

Every server object has an instance of ServerOptions stored in the instance variable options.

These are passed to the server app as arguments when it is booted.

You can change the options like so:

(where s is some server)

s.options.numOutputBusChannels = 8;

If you do this after the server is booted, you will need to restart it before the changes will take effect.

To set this permanently you can add lines like this to the startup method of Main:

Server.local.options.numOutputBusChannels = 8;
Server.internal.options.numOutputBusChannels = 8;

This will then be done automatically after the class library compiles.

S.