|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.humatic.dsj.com.IBasicAudio
public class IBasicAudio
Wrapper around the native IBasicAudio interface exposed by most audio renderer filters. You can use this if you need to separately control
multiple audio renderers in one filtergraph - where DSFiltergraph.setVolume(..) would act as a "master" control for all renderers.
For most simple use cases the DSFiltergraph method should be preferred.
To get an instance of this class, call COMFactory.queryInterface(...) with the audio renderer filter and COMFactory.IID_IBasicAudio as arguments.
| Method Summary | |
|---|---|
float |
getBalance()
|
float |
getVolume()
|
void |
release()
|
void |
setBalance(float pan)
Set balance to a value between -1 (far left) and 1 (far right) |
void |
setVolume(float volume)
Set volume to a value between 0 (-100db) and 1 (0db). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public float getVolume()
public void setVolume(float volume)
throws DSJException
DSJExceptionpublic float getBalance()
public void setBalance(float pan)
throws DSJException
DSJExceptionpublic void release()
release in interface COMObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||