Ticket #12 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

Preview won't stop

Reported by: avneesh-singh Owned by: somebody
Priority: major Milestone: Obi Beta3
Component: Application Version:
Keywords: bugg Cc:
Blocked By: Blocking:
Time planned: 1d Time remaining: 1d
Time spent: 1d Estimated Number of Hours:
Add Hours to Ticket: Billable?:
Total Hours:


Previewing audio doesn't change the status of the player, or at least not that Obi can tell, so it cannot be stopped. This is a problem when previewing a selection, which can be arbitrarily long, as the stop button is disabled (although it is possible to press play, then stop again.) I also find the implementation of preview in the audio player complex and confusing.

I think that now that selection and playback are separated, we don't really need a dedicated "preview" feature in the player anymore. We can implement "preview from..." and "preview up to..." by simply playing a dummy selection of the preview duration, and resetting the audio cursor (if we were paused) to the start position in the case of "preview from...". "Preview selection" would just play the current selection and move the cursor back.

Date: 2008-05-23 21:10 Sender: avneeshsingh Logged In: YES user_id=1444516 Originator: NO

This was looking as reliable way out at time of implementation. But as audio cursor and selection have improved now. there is no problem if preview moves outside AudioPlayer?.

Listing some desired characteristics of preview.

  • preview can be invoked in only paused state or stopped state.
  • After preview is complete, it brings back audio cursor at

original position i.e. position at which audio cursor was before starting preview.

  • effects of playback commands on preview while it is going on.
  • Play starts playing previewing audio chunk again from start and have no

effect on original position.

  • Pause pauses preview and moves original position to paused position.
  • Stop brings audio cursor to original position after stopping playback.

: that's proposal of characteristics from my side.

Change History

comment:1 Changed 12 years ago by avneesh-singh

  • Milestone changed from Obi Beta 2 candidate to Obi Beta 2

comment:1 Changed 11 years ago by avneesh-singh

  • Milestone changed from Obi Beta 2 to Obi Beta3

comment:2 Changed 11 years ago by avneesh-singh

  • Status changed from new to closed
  • Resolution set to fixed

(In [1893]) fixed #12

Note: See TracTickets for help on using tickets.