Search in sources :

Example 1 with AudioModel

use of com.android.mms.model.AudioModel in project android-aosp-mms by slvn.

the class SlideshowEditor method changeAudio.

public void changeAudio(int position, Uri newAudio) throws MmsException {
    AudioModel audio = new AudioModel(mContext, newAudio);
    SlideModel slide = mModel.get(position);
    slide.add(audio);
    slide.updateDuration(audio.getDuration());
}
Also used : AudioModel(com.android.mms.model.AudioModel) SlideModel(com.android.mms.model.SlideModel)

Aggregations

AudioModel (com.android.mms.model.AudioModel)1 SlideModel (com.android.mms.model.SlideModel)1