Skip to content

Instantly share code, notes, and snippets.

@stevenhuey
Created June 30, 2012 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenhuey/3023789 to your computer and use it in GitHub Desktop.
Save stevenhuey/3023789 to your computer and use it in GitHub Desktop.
Set the volume
// Set the volumne (0.0 - 1.0) for the given track
- (void)setVolume:(float)volume forTrack:(NSString*)audioTrackName
{
[_audioMixValues setValue:[NSNumber numberWithFloat:volume] forKey:audioTrackName];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment