Class AudioSilenceSystem


  • public class AudioSilenceSystem
    extends AudioSystem
    Implements an AudioSystem which produces silence without capturing from an actual hardware device. Hence, it is suitable for server-side technologies that do not need to and/or cannot capture speech.
    Author:
    Pawel Domas
    • Constructor Detail

      • AudioSilenceSystem

        protected AudioSilenceSystem()
                              throws Exception
        Initializes a new AudioSilenceSystem instance.
        Throws:
        Exception
    • Method Detail

      • doInitialize

        protected void doInitialize()
                             throws Exception
        Description copied from class: DeviceSystem
        Invoked by DeviceSystem.initialize() to perform the very logic of the initialization of this DeviceSystem. This instance has been prepared for initialization by an earlier call to DeviceSystem.preInitialize() and the initialization will be completed with a subsequent call to DeviceSystem.postInitialize().
        Specified by:
        doInitialize in class DeviceSystem
        Throws:
        Exception - if an error occurs during the initialization of this instance. The initialization of this instance will be completed with a subsequent call to postInitialize() regardless of any Exception thrown by doInitialize().