Miles Sound System SDK 7.2a

AILCODECSETPROP

The function AILCODECSETPROP provides a way for ASI properties to be set during a compression or decompression.

S32 AILCODECSETPROP(
  char const * property,
  void const * value
);

In Parameters

property
indicates the property name to set.
value
indicates the value to set the property to.

Returns

1 if the property set was successful, 0 if the property set failed.

Discussion

This function address is provided in the value parameter of the AILLENGTHYCB function when the AIL_LENGTHY_SET_PROPERTY state is passed.

The Miles MPEG encoder defines the following properties:

"Requested bit rate": which specifies the output bit rate to use in kilobits per second - you may use: 32,40,48,56,64,80,96,112,128,160,192,224,256,320).

"Requested sample rate": which specifies the output playback (for MPEG I Layer 3, this means 32000, 44100, or 48000 Hz).

"Requested # of channels": which is the number of output channels (1 for mono, 2 for stereo).


Group: Utility Services
Related Functions: AILLENGTHYCB
Related Basic Types: MILES_LENGTHY_STATE, S32, char const *, void const *

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.