-
Notifications
You must be signed in to change notification settings - Fork 2
/
PKPitchEffect.h
41 lines (29 loc) · 1.07 KB
/
PKPitchEffect.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* PKPitchEffect.h
* PlayerKit
*
* Created by Peter MacWhinnie on 1/14/11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#ifndef PKPitchEffect_h
#define PKPitchEffect_h 1
#import <PlayerKit/PKAudioEffect.h>
///The opaque type used to represent PKPitchEffect. Typed alias for PKAudioEffectRef.
typedef PKAudioEffectRef PKPitchEffectRef;
#pragma mark -
#pragma mark Creation
///Create a Pitch effect.
PK_EXTERN PKPitchEffectRef PKPitchEffectCreate(CFErrorRef *outError);
#pragma mark -
#pragma mark Properties
///Sets the pitch.
PK_EXTERN Boolean PKPitchEffectSetPitch(PKPitchEffectRef effect, AudioUnitParameterValue value, CFErrorRef *outError);
///Gets the pitch.
PK_EXTERN AudioUnitParameterValue PKPitchEffectGetPitch(PKPitchEffectRef effect);
#pragma mark -
///Sets the blend amount.
PK_EXTERN Boolean PKPitchEffectSetBlendAmount(PKPitchEffectRef effect, AudioUnitParameterValue value, CFErrorRef *outError);
///Gets the blend amount.
PK_EXTERN AudioUnitParameterValue PKPitchEffectGetBlendAmount(PKPitchEffectRef effect);
#endif /* PKPitchEffect_h */