[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

The GetTagData() function will return the data for the specified
attribute.  If there isn't a tag that matches, then the default value is
returned.

    APTR sound;

    /* Get the sound data that our function will use. */
    sound = (APTR) GetTagData (MGA_Sound, (ULONG) DefaultSound, attrs);