za.co.monadic

scopus

package scopus

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Application extends AnyRef

  2. trait Codec extends AnyRef

  3. trait Decoder extends AnyRef

  4. trait DecoderFloat extends Codec with Decoder

    Decoder for float data types

  5. trait DecoderShort extends Codec with Decoder

    Decoder for float data types

  6. trait Encoder extends Codec

    Encoder trait

  7. sealed trait SampleFrequency extends AnyRef

    Base class for supported sample frequencies

Value Members

  1. object Audio extends Application

  2. object LibLoader

    General loader for dynamic libraries from the resources directory in the jar file.

    General loader for dynamic libraries from the resources directory in the jar file. It copies the required library from the jar to the target temporary directory and then optionally loads the file using System.load(). It will clean the directory on JVM shutdown using shutdown hooks. It is clever enough to find the correct directory for the native version of the library (although this is untested). Note that you need to build the JNI native stubs with some care so that dependent libraries can be loaded. In Linux for example, Java must load libjni_opus.so (JNI native code). The actual Opus library is loaded by the dynamic linker from a dependency in the stub. Libjni_opus.so is built to look in the same directory for libopus, so we must copy it to a temporary directory as well, but there is no need to ask the JVM to load it. In Windows, you will need to load it as well.

    Libraries are stored in the resources/native/os.name/os.arch directory and copied to the system temporary directory as indicated by the java.io.tmpdir property plus a random one time directory name with the prefix "scopus_". In Linux, the temporary directory would have a name like "/tmp/scopus_418af7c0b63b/".

  3. object Libraries

    Load all the native libraries

  4. object LowDelay extends Application

  5. object SampleFrequency

  6. object Sf12000 extends SampleFrequency

  7. object Sf16000 extends SampleFrequency

  8. object Sf24000 extends SampleFrequency

  9. object Sf32000 extends SampleFrequency

  10. object Sf48000 extends SampleFrequency

  11. object Sf8000 extends SampleFrequency

  12. object Stub extends App

  13. object Voip extends Application

  14. package echo

  15. package opus

  16. package speex

Ungrouped