Skip to content

Commit

Permalink
Mac example updated with volume control
Browse files Browse the repository at this point in the history
  • Loading branch information
ap4y committed May 5, 2013
1 parent 108cbec commit 52bec3a
Show file tree
Hide file tree
Showing 3 changed files with 227 additions and 100 deletions.
5 changes: 5 additions & 0 deletions Example/OSX/OrigamiEngine Example/PlayerViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ - (IBAction)seek:(id)sender {
[_player seekToTime:_seekSlider.doubleValue];
}

- (IBAction)volume:(id)sender {
NSSlider *volumeSlider = sender;
[_player setVolume:volumeSlider.doubleValue];
}

- (IBAction)play:(id)sender {
[self playTrack:curTrack];
}
Expand Down
Loading

0 comments on commit 52bec3a

Please sign in to comment.