Lingo Dictionary > A-C > bitsPerSample |  |

bitsPerSample

Syntax

    member(whichCastMember).bitsPerSample
    the bitsPerSample of member whichCastMember

Description

Shockwave Audio (SWA) cast member property; indicates the bit depth of the original file that has been encoded for Shockwave Audio (SWA). This property is available only after the SWA sound begins playing or after the file has been preloaded using the `preLoadBuffer()` command.

This property can be tested but not set.

Example

This statement assigns the original bit rate of the file used in SWA streaming cast member Paul Robeson to the field cast member How Deep.

Dot syntax:

    put member "Paul Robeson".bitsPerSample into member "How Deep"

Verbose syntax:

    put the bitsPerSample of member "Paul Robeson" into member "How Deep"