OpenAudioFolio

Opens the Audio folio.

Synopsis

Err OpenAudioFolio (void)

Description

This function connects a task to the Audio folio and must be executed by each task before it makes any Audio folio calls. If a task makes an Audio folio call before it executes OpenAudioFolio(), the task fails.

Call CloseAudioFolio() to relinquish a task's access to the Audio folio.

Arguments

None

Return Value

The function returns a non-negative value if successful or an error code (a negative value) if an error occurs.

Implementation

Library call implemented in audio.lib V20.

Associated Files

audio.h

See Also

CloseAudioFolio()