Skip to content

Audio Duration from Audio Player and WaveFormView not matched #21

@tutysathish

Description

@tutysathish

I facing one small issue.,
Same audio I was loaded into AudioPlayer as well as waveform view
Both classes return an audioDuration for example

int audioDuration = AudioPlayer.getDuration(); //Example value:15935
int mPlayEndMsec = mWaveformView.pixelsToMillisecs(mEndPos) //Example value: 15900

So, I can't identify the user select the exact end position of the audio because selected Value (mPlayEndMsec ) not matched with actual value (audioDuration ). Is there any workaround is there? Please guide me with some solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions