org.jouvieje.fmodex.enumerations
Class FMOD_OUTPUTTYPE
java.lang.Object
org.jouvieje.fmodex.enumerations.FMOD_OUTPUTTYPE
- All Implemented Interfaces:
- java.lang.Comparable, org.jouvieje.fmodex.enumerations.Enumeration
- public class FMOD_OUTPUTTYPE
- extends java.lang.Object
- implements org.jouvieje.fmodex.enumerations.Enumeration, java.lang.Comparable
These output types are used with System::setOutput / System::getOutput, to choose which output method to use.
Remarks
To pass information to the driver when initializing fmod use the extradriverdata parameter in System::init for the following reasons.
- FMOD_OUTPUTTYPE_WAVWRITER - extradriverdata is a pointer to a char * filename that the wav writer will output to.
- FMOD_OUTPUTTYPE_WAVWRITER_NRT - extradriverdata is a pointer to a char * filename that the wav writer will output to.
- FMOD_OUTPUTTYPE_DSOUND - extradriverdata is a pointer to a HWND so that FMOD can set the focus on the audio for a particular window.
- FMOD_OUTPUTTYPE_PS2 - extradriverdata is a pointer to a FMOD_PS2_EXTRADRIVERDATA struct. This can be found in fmodps2.h.
- FMOD_OUTPUTTYPE_PS3 - extradriverdata is a pointer to a FMOD_PS3_EXTRADRIVERDATA struct. This can be found in fmodps3.h.
- FMOD_OUTPUTTYPE_GC - extradriverdata is a pointer to a FMOD_GC_INFO struct. This can be found in fmodgc.h.
- FMOD_OUTPUTTYPE_WII - extradriverdata is a pointer to a FMOD_WII_INFO struct. This can be found in fmodwii.h.
- FMOD_OUTPUTTYPE_ALSA - extradriverdata is a pointer to a FMOD_LINUX_EXTRADRIVERDATA struct. This can be found in fmodlinux.h.
Currently these are the only FMOD drivers that take extra information. Other unknown plugins may have different requirements.
Note! If FMOD_OUTPUTTYPE_WAVWRITER_NRT or FMOD_OUTPUTTYPE_NOSOUND_NRT are used, and if the System::update function is being called
very quickly (ie for a non realtime decode) it may be being called too quickly for the FMOD streamer thread to respond to.
The result will be a skipping/stuttering output in the captured audio.
To remedy this, disable the FMOD Ex streamer thread, and use FMOD_INIT_STREAM_FROM_UPDATE to avoid skipping in the output stream,
as it will lock the mixer and the streamer together in the same thread.
Platforms Supported
Win32, Win64, Linux, Linux64, Macintosh, Xbox360, PlayStation 2, PlayStation Portable, PlayStation 3, Wii, Solaris, iPhone
See Also
System::setOutput
System::getOutput
System::setSoftwareFormat
System::getSoftwareFormat
System::init
System::update
FMOD_INITFLAGS
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
FMOD_OUTPUTTYPE_AUTODETECT
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_AUTODETECT
FMOD_OUTPUTTYPE_UNKNOWN
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_UNKNOWN
FMOD_OUTPUTTYPE_NOSOUND
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_NOSOUND
FMOD_OUTPUTTYPE_WAVWRITER
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_WAVWRITER
FMOD_OUTPUTTYPE_NOSOUND_NRT
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_NOSOUND_NRT
FMOD_OUTPUTTYPE_WAVWRITER_NRT
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_WAVWRITER_NRT
FMOD_OUTPUTTYPE_DSOUND
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_DSOUND
FMOD_OUTPUTTYPE_WINMM
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_WINMM
FMOD_OUTPUTTYPE_OPENAL
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_OPENAL
FMOD_OUTPUTTYPE_WASAPI
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_WASAPI
FMOD_OUTPUTTYPE_ASIO
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_ASIO
FMOD_OUTPUTTYPE_OSS
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_OSS
FMOD_OUTPUTTYPE_ALSA
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_ALSA
FMOD_OUTPUTTYPE_ESD
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_ESD
FMOD_OUTPUTTYPE_PULSEAUDIO
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_PULSEAUDIO
FMOD_OUTPUTTYPE_COREAUDIO
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_COREAUDIO
FMOD_OUTPUTTYPE_PS2
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_PS2
FMOD_OUTPUTTYPE_PS3
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_PS3
FMOD_OUTPUTTYPE_XBOX360
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_XBOX360
FMOD_OUTPUTTYPE_PSP
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_PSP
FMOD_OUTPUTTYPE_WII
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_WII
FMOD_OUTPUTTYPE_MAX
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_MAX
FMOD_OUTPUTTYPE_FORCEINT
public static final FMOD_OUTPUTTYPE FMOD_OUTPUTTYPE_FORCEINT
asInt
public int asInt()
- Specified by:
asInt
in interface org.jouvieje.fmodex.enumerations.Enumeration
- Returns:
- the integer value of the enumeration constant.
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object object)
compareTo
public int compareTo(java.lang.Object object)
- Specified by:
compareTo
in interface java.lang.Comparable
get
public static FMOD_OUTPUTTYPE get(int nativeValue)
- Retrieve a FMOD_OUTPUTTYPE enum field with his integer value
- Parameters:
nativeValue
- the integer value of the field to retrieve
- Returns:
- the FMOD_OUTPUTTYPE enum field that correspond to the integer value
get
public static FMOD_OUTPUTTYPE get(Pointer pointer)
- Retrieve a FMOD_OUTPUTTYPE enum field from a Pointer
- Parameters:
pointer
- a pointer holding an FMOD_OUTPUTTYPE enum field
- Returns:
- the FMOD_OUTPUTTYPE enum field that correspond to the enum field in the pointer
iterator
public static java.util.Iterator iterator()
- Returns:
- an
Iterator
over the elements in this enumeration.
Can be cast to Iterator
in Java 1.5.
NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/
(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)