Open Sound System
|Do you have problems with sound/audio application development? Don't panic! Click here for help!|
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.