I'd like to control the playback position of a sound managed by the NSSound class. I just know how to update the playback position based on the sound current time:
[playbackSlider setFloatValue:[sound currentTime]/[sound duration]]; But how can I move the playback position to another point of the sound via a slider? Thanks. Marcelo. On Mon, Dec 29, 2008 at 2:47 AM, Graham Cox <graham....@bigpond.com> wrote: > > On 29 Dec 2008, at 9:31 pm, Marcelo Cicconet wrote: > >> Hi.How do I use a slider to set a parameter value? > > > What have you tried? > > What do *you* mean by 'parameter value'? > > Hooking up a slider to another object - usually a controller - you can use > target/action and bindings, to name the most common. > > --Graham -- KEEP WORKING _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com