Java Doc for JSSample.java in  » 6.0-JDK-Modules » java-3d » com » sun » j3d » audioengines » javasound » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » com.sun.j3d.audioengines.javasound 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.j3d.audioengines.Sample
      com.sun.j3d.audioengines.javasound.JSSample

All known Subclasses:   com.sun.j3d.audioengines.javasound.JSPositionalSample,
JSSample
class JSSample extends com.sun.j3d.audioengines.Sample (Code)
The Sample Class extended for Java Sound Mixer specific audio device.


Field Summary
final static  intBUFFERED_AUDIO_DATA
     Sound data specified as Buffered is copied by the AudioDevice driver implementation.
final static  intBUFFERED_MIDI_DATA
    
final static  intNULL_SAMPLE
    
final static  intSTREAMING_AUDIO_DATA
     Sound Data Types Samples can be processed as streaming or buffered data. Fully spatializing sound sources may require data to be buffered. Sound data specified as Streaming is not copied by the AudioDevice driver implementation.
final static  intSTREAMING_MIDI_DATA
    
final static  intUNSUPPORTED_DATA_TYPE
    
 longattackLength
    
 JSChannelchannel
    
 floatcurrentRateRatio
    
 longdataOffset
    
 intdataType
    
 longloopLength
    
 longloopStartOffset
    
 longpositionDeactivated
    
 booleanrampRateFlag
    
 floatrateRatio
    
 longreleaseLength
    
 longsampleLength
    
 floattargetRateRatio
    
 longtimeDeactivated
    

Constructor Summary
public  JSSample()
    

Method Summary
public  voidclear()
     Clears/re-initialize fields associated with sample data for this sound, and frees any device specific data associated with this sample.
 floatgetCurrentRateRatio()
    
 intgetDataType()
    
 booleangetFilterFlag()
    
 floatgetFilterFreq()
    
 booleangetRampRateFlag()
    
 floatgetTargetRateRatio()
    
 booleanload(MediaContainer soundData)
    
public  voidrender(int dirtyFlags, View view, AuralParameters attribs)
    
 voidreset()
    
 voidsetCurrentRateRatio(float ratio)
    
 voidsetDataType(int type)
    
 voidsetRampRateFlag(boolean flag)
    
 voidsetTargetRateRatio(float ratio)
    

Field Detail
BUFFERED_AUDIO_DATA
final static int BUFFERED_AUDIO_DATA(Code)
Sound data specified as Buffered is copied by the AudioDevice driver implementation.



BUFFERED_MIDI_DATA
final static int BUFFERED_MIDI_DATA(Code)



NULL_SAMPLE
final static int NULL_SAMPLE(Code)



STREAMING_AUDIO_DATA
final static int STREAMING_AUDIO_DATA(Code)
Sound Data Types Samples can be processed as streaming or buffered data. Fully spatializing sound sources may require data to be buffered. Sound data specified as Streaming is not copied by the AudioDevice driver implementation. It is up the application to ensure that this data is continuously accessible during sound rendering. Futhermore, full sound spatialization may not be possible, for all AudioDevice implementations on unbuffered sound data.



STREAMING_MIDI_DATA
final static int STREAMING_MIDI_DATA(Code)
MIDI data TODO: differentiate between STREAMING and BUFFERED MIDI data right now all MIDI data is buffered



UNSUPPORTED_DATA_TYPE
final static int UNSUPPORTED_DATA_TYPE(Code)



attackLength
long attackLength(Code)



channel
JSChannel channel(Code)



currentRateRatio
float currentRateRatio(Code)



dataOffset
long dataOffset(Code)
Offset pointer within currently playing sample data



dataType
int dataType(Code)
sound data types: BUFFERED (cached) or STREAMING (non-cached)



loopLength
long loopLength(Code)



loopStartOffset
long loopStartOffset(Code)



positionDeactivated
long positionDeactivated(Code)



rampRateFlag
boolean rampRateFlag(Code)



rateRatio
float rateRatio(Code)



releaseLength
long releaseLength(Code)



sampleLength
long sampleLength(Code)



targetRateRatio
float targetRateRatio(Code)



timeDeactivated
long timeDeactivated(Code)




Constructor Detail
JSSample
public JSSample()(Code)




Method Detail
clear
public void clear()(Code)
Clears/re-initialize fields associated with sample data for this sound, and frees any device specific data associated with this sample.



getCurrentRateRatio
float getCurrentRateRatio()(Code)



getDataType
int getDataType()(Code)



getFilterFlag
boolean getFilterFlag()(Code)



getFilterFreq
float getFilterFreq()(Code)



getRampRateFlag
boolean getRampRateFlag()(Code)



getTargetRateRatio
float getTargetRateRatio()(Code)



load
boolean load(MediaContainer soundData)(Code)



render
public void render(int dirtyFlags, View view, AuralParameters attribs)(Code)



reset
void reset()(Code)



setCurrentRateRatio
void setCurrentRateRatio(float ratio)(Code)



setDataType
void setDataType(int type)(Code)



setRampRateFlag
void setRampRateFlag(boolean flag)(Code)



setTargetRateRatio
void setTargetRateRatio(float ratio)(Code)



Fields inherited from com.sun.j3d.audioengines.Sample
final public static int DURATION_UNKNOWN(Code)(Java Doc)
final public static int LOW_PASS(Code)(Java Doc)
final public static int NO_FILTERING(Code)(Java Doc)
final public static int NULL_SAMPLE(Code)(Java Doc)
protected double[] angularDistance(Code)(Java Doc)
protected float[] angularFilterCutoff(Code)(Java Doc)
protected int angularFilterType(Code)(Java Doc)
protected float[] angularGain(Code)(Java Doc)
protected double[] attenuationDistance(Code)(Java Doc)
protected float[] attenuationGain(Code)(Java Doc)
protected double[] backAttenuationDistance(Code)(Java Doc)
protected float[] backAttenuationGain(Code)(Java Doc)
final protected static boolean debugFlag(Code)(Java Doc)
protected Vector3f direction(Code)(Java Doc)
protected int dirtyFlags(Code)(Java Doc)
protected long duration(Code)(Java Doc)
protected float gain(Code)(Java Doc)
final protected static boolean internalErrors(Code)(Java Doc)
protected int loopCount(Code)(Java Doc)
protected boolean mute(Code)(Java Doc)
protected int numberOfChannels(Code)(Java Doc)
protected float obstructionFilterCutoff(Code)(Java Doc)
protected int obstructionFilterType(Code)(Java Doc)
protected float obstructionGain(Code)(Java Doc)
protected float occlusionFilterCutoff(Code)(Java Doc)
protected int occlusionFilterType(Code)(Java Doc)
protected float occlusionGain(Code)(Java Doc)
protected Point3f position(Code)(Java Doc)
protected float rateScaleFactor(Code)(Java Doc)
protected MediaContainer soundData(Code)(Java Doc)
protected int soundType(Code)(Java Doc)
protected boolean vwXfrmFlag(Code)(Java Doc)
protected Transform3D vworldXfrm(Code)(Java Doc)

Methods inherited from com.sun.j3d.audioengines.Sample
public void clear()(Code)(Java Doc)
protected void debugPrint(String message)(Code)(Java Doc)
protected void debugPrintln(String message)(Code)(Java Doc)
public int getDirtyFlags()(Code)(Java Doc)
public long getDuration()(Code)(Java Doc)
public float getGain()(Code)(Java Doc)
public int getLoopCount()(Code)(Java Doc)
public boolean getMuteFlag()(Code)(Java Doc)
public int getNumberOfChannelsUsed()(Code)(Java Doc)
public float getObstructionGain()(Code)(Java Doc)
public float getOcclusionGain()(Code)(Java Doc)
public float getRateScaleFactor()(Code)(Java Doc)
public MediaContainer getSoundData()(Code)(Java Doc)
public int getSoundType()(Code)(Java Doc)
public long getStartTime()(Code)(Java Doc)
public boolean getVWrldXfrmFlag()(Code)(Java Doc)
public void render(int dirtyFlags, View view, AuralParameters attribs)(Code)(Java Doc)
public void setAngularAttenuation(int filterType, double[] angle, float[] attenuationScaleFactor, float[] filterCutoff)(Code)(Java Doc)
public void setDirection(Vector3d direction)(Code)(Java Doc)
public void setDirtyFlags(int flags)(Code)(Java Doc)
public void setDistanceGain(double[] frontDistance, float[] frontAttenuationScaleFactor, double[] backDistance, float[] backAttenuationScaleFactor)(Code)(Java Doc)
public void setGain(float scaleFactor)(Code)(Java Doc)
public void setLoopCount(int count)(Code)(Java Doc)
public void setMuteFlag(boolean flag)(Code)(Java Doc)
public void setObstructionFilter(float cutoffFrequency)(Code)(Java Doc)
public void setObstructionGain(float scaleFactor)(Code)(Java Doc)
public void setOcclusionFilter(float cutoffFrequency)(Code)(Java Doc)
public void setOcclusionGain(float scaleFactor)(Code)(Java Doc)
public void setPosition(Point3d position)(Code)(Java Doc)
public void setRateScaleFactor(float scaleFactor)(Code)(Java Doc)
public void setSoundData(MediaContainer ref)(Code)(Java Doc)
public void setSoundType(int type)(Code)(Java Doc)
public void setVWrldXfrmFlag(boolean flag)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.