SpeechAudioFormatInfo.BlockAlign Property
Gets and sets the block alignment in bytes.
Namespace: Microsoft.Speech.AudioFormat
Assembly: Microsoft.Speech (in microsoft.speech.dll)
Syntax
'Declaration
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public ReadOnly Property BlockAlign As Integer
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public int BlockAlign { get; }
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
public:
property int BlockAlign {
int get ();
}
/** @property */
public int get_BlockAlign ()
public function get BlockAlign () : int
Property Value
An int containing the block alignment value.
Remarks
Playback and record software handles audio data in blocks. The sizes of these blocks are multiples of the value of the BlockAlign property. Data written and read from a device must always start at the beginning of a block. For example, it is illegal to start playback of PCM data in the middle of a sample (that is, on a non-block-aligned boundary).
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
SpeechAudioFormatInfo Class
SpeechAudioFormatInfo Members
Microsoft.Speech.AudioFormat Namespace