|
MeiCam SDK For Android
1.0.0
|
Audio clip, description of the audio file. More...
Public Member Functions | |
| NvsAudioFx | appendFx (String fxName) |
| Adds an audio effect to the end of the audio clip. More... | |
| NvsAudioFx | insertFx (String fxName, int fxIndex) |
| Inserts an audio effect at the specified effect index on the audio clip. More... | |
| boolean | removeFx (int fxIndex) |
| Removes audio effect by index. More... | |
| NvsAudioFx | getFxByIndex (int fxIndex) |
| Gets audio effect by index. More... | |
| void | setFadeInDuration (long duration) |
| Sets the fade-in time. More... | |
| long | getFadeInDuration () |
| Gets fade-in time. More... | |
| void | setFadeOutDuration (long duration) |
| Sets fade-out time. More... | |
| long | getFadeOutDuration () |
| Gets fade-out time. More... | |
Public Member Functions inherited from com.meicam.sdk.NvsClip | |
| long | getTrimIn () |
| Gets the trim in point of the clip. More... | |
| long | getTrimOut () |
| Gets the trim out point of the clip. More... | |
| long | getInPoint () |
| Gets the in-point of the clip on the timeline. More... | |
| long | getOutPoint () |
| Gets the out-point of the clip on the timeline. More... | |
| int | getType () |
| Gets the clip type (video clip, audio clip). More... | |
| int | getIndex () |
| Gets the index of the clip on the track. More... | |
| String | getFilePath () |
| Gets the clip file path. More... | |
| int | getFxCount () |
| Gets the number of effects on the clip. Note: The effect index on the clip starts from 0. More... | |
| long | changeTrimInPoint (long newTrimInPoint, boolean affectSibling) |
| Modifies the trim in point of the clip. More... | |
| long | changeTrimOutPoint (long newTrimOutPoint, boolean affectSibling) |
| Modifies the trim out point of the clip. More... | |
| double | getSpeed () |
| Get the playback speed of the clip. More... | |
| void | changeSpeed (double newSpeed) |
| Changes the playback speed of the clip. More... | |
| void | changeSpeed (double newSpeed, boolean keepAudioPitch) |
| Changes the playback speed of the clip. More... | |
| void | setVolumeGain (float leftVolumeGain, float rightVolumeGain) |
| Sets the volume. More... | |
| NvsVolume | getVolumeGain () |
| Gets volume. More... | |
Public Member Functions inherited from com.meicam.sdk.NvsObject | |
| void | setAttachment (String key, Object value) |
| Adds additional data to the NvsObject object to identify the NvsObject object or for other purpose. More... | |
| Object | getAttachment (String key) |
| Gets an attachment to NvsObject. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from com.meicam.sdk.NvsClip | |
| static final int | CLIP_TYPE_VIDEO = 0 |
| video clip type More... | |
| static final int | CLIP_TYPE_AUDIO = 1 |
| audio clip type More... | |
Protected Member Functions inherited from com.meicam.sdk.NvsObject | |
| void | setInternalObject (long internalObject) |
| long | getInternalObject () |
Protected Attributes inherited from com.meicam.sdk.NvsObject | |
| long | m_internalObject = 0 |
Audio clip, description of the audio file.
Audio clips can modify trim in and out points, playback speed, etc. Users can also add, insert, remove, and acquire multiple audio effects.
|
inline |
Adds an audio effect to the end of the audio clip.
| fxName | Audio effect name. For the effect name, please refer to getAllBuiltinAudioFxNames() or built-in effect name list. |
|
inline |
Gets fade-in time.
|
inline |
Gets fade-out time.
|
inline |
|
inline |
Inserts an audio effect at the specified effect index on the audio clip.
| fxName | Audio effect name. For information about getting all effects' names, please refer to getAllBuiltinAudioFxNames() or built-in effect name list. |
| fxIndex | audio effects' index to insert at. |
|
inline |
Removes audio effect by index.
| fxIndex | Audio effects' index. |
|
inline |
Sets the fade-in time.
| duration | Fade-in duration in microseconds, 0 means no fade-in. |
|
inline |
Sets fade-out time.
| duration | Fade-out duration in microseconds, 0 means no fade-out. |
1.8.11