Open Sound System
The Hitchhiker's Guide to OSS 4.1 Internals

Do you have problems with sound/audio application development? Don't panic! Click here for help!

ADEV_AUTOMODE audio engine flag

Audio device does continuous auto-init input/output


Most audio engines use auto-init circular buffering. This means that the device will automatically skip back to the beginning of the (DMA) buffer after playing the last sample of it. The low level device driver should set the ADEV_AUTOMODE flag if it works in this way.

The OSS audio core will call the adrv->adrv_start_input or adrv->adrv_output_block driver methods after each completed fragment if this flag was not specified when the engine was registered with oss_install_audiodev. This mode of operation should be used if the driver needs to reatart recording/playback after each fragment.

Copyright (C) 4Front Technologies, 2007. All rights reserved.
Back to index OSS web site