本文整理汇总了Java中org.andengine.audio.exception.AudioException类的典型用法代码示例。如果您正苦于以下问题:Java AudioException类的具体用法?Java AudioException怎么用?Java AudioException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AudioException类属于org.andengine.audio.exception包,在下文中一共展示了AudioException类的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: setVolume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void setVolume(final float pLeftVolume, final float pRightVolume) throws AudioException {
this.assertNotReleased();
this.mLeftVolume = pLeftVolume;
this.mRightVolume = pRightVolume;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:8,代码来源:BaseAudioEntity.java
示例2: getAudioManager
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
protected IAudioManager<? extends IAudioEntity> getAudioManager() throws AudioException {
this.assertNotReleased();
return this.mAudioManager;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:6,代码来源:BaseAudioEntity.java
示例3: getActualLeftVolume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
public float getActualLeftVolume() throws AudioException {
this.assertNotReleased();
return this.mLeftVolume * this.getMasterVolume();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:6,代码来源:BaseAudioEntity.java
示例4: getActualRightVolume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
public float getActualRightVolume() throws AudioException {
this.assertNotReleased();
return this.mRightVolume * this.getMasterVolume();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:6,代码来源:BaseAudioEntity.java
示例5: getMasterVolume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
protected float getMasterVolume() throws AudioException {
this.assertNotReleased();
return this.mAudioManager.getMasterVolume();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:6,代码来源:BaseAudioEntity.java
示例6: getVolume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public float getVolume() throws AudioException {
this.assertNotReleased();
return (this.mLeftVolume + this.mRightVolume) * 0.5f;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:7,代码来源:BaseAudioEntity.java
示例7: getLeftVolume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public float getLeftVolume() throws AudioException {
this.assertNotReleased();
return this.mLeftVolume;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:7,代码来源:BaseAudioEntity.java
示例8: getRightVolume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public float getRightVolume() throws AudioException {
this.assertNotReleased();
return this.mRightVolume;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:7,代码来源:BaseAudioEntity.java
示例9: onMasterVolumeChanged
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void onMasterVolumeChanged(final float pMasterVolume) throws AudioException {
this.assertNotReleased();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:5,代码来源:BaseAudioEntity.java
示例10: play
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void play() throws AudioException {
this.assertNotReleased();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:5,代码来源:BaseAudioEntity.java
示例11: pause
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void pause() throws AudioException {
this.assertNotReleased();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:5,代码来源:BaseAudioEntity.java
示例12: resume
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void resume() throws AudioException {
this.assertNotReleased();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:5,代码来源:BaseAudioEntity.java
示例13: stop
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void stop() throws AudioException {
this.assertNotReleased();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:5,代码来源:BaseAudioEntity.java
示例14: setLooping
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void setLooping(final boolean pLooping) throws AudioException {
this.assertNotReleased();
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:5,代码来源:BaseAudioEntity.java
示例15: release
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
@Override
public void release() throws AudioException {
this.assertNotReleased();
this.mReleased = true;
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:7,代码来源:BaseAudioEntity.java
示例16: assertNotReleased
import org.andengine.audio.exception.AudioException; //导入依赖的package包/类
protected void assertNotReleased() throws AudioException {
if (this.mReleased) {
this.throwOnReleased();
}
}
开发者ID:ArturVasilov,项目名称:AndroidCourses,代码行数:6,代码来源:BaseAudioEntity.java
注:本文中的org.andengine.audio.exception.AudioException类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论