Bernie - mixedlib question

new topic     » topic index » view thread      » older message » newer message

Hi

I'm trying to do this

--typedef struct {
--    USHORT  nFrame;                             /* envelope frame */          
--    USHORT  nValue;                             /* envelope value */          
--} AUDIOPOINT, *PAUDIOPOINT;

record("AUDIOPOINT",
        "nFrame : ushort : 1 " &
        "nValue : ushort : 1 ")

--/* audio envelope structure */
--typedef struct {
--    AUDIOPOINT aEnvelope[AUDIO_MAX_POINTS];     /* envelope points */         

--/* audio envelope structure */
--typedef struct {
--    AUDIOPOINT aEnvelope[AUDIO_MAX_POINTS];     /* envelope points */         

record("AUDIOENVELOPE",
        "aEnvelope : STRUCT : AUDIOPOINT" &         -- AUDIO_MAX_POINTS = 12

(heavily snipped)

However, I can't get my head round how to create a repeating structure
(aEnvelope) AUDIO_MAX_POINTS long (12) for the AUDIOENVELOPE record.

Any hints?

Cheers in advance

Chris


http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu