-
Notifications
You must be signed in to change notification settings - Fork 2
/
PKDelayEffect.h
57 lines (39 loc) · 1.67 KB
/
PKDelayEffect.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* PKDelayEffect.h
* PlayerKit
*
* Created by Peter MacWhinnie on 1/14/11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#ifndef PKDelayEffect_h
#define PKDelayEffect_h 1
#import <PlayerKit/PKAudioEffect.h>
///The opaque type used to represent PKDelayEffect. Typed alias for PKAudioEffectRef.
typedef PKAudioEffectRef PKDelayEffectRef;
#pragma mark -
#pragma mark Creation
///Create a Delay effect.
PK_EXTERN PKDelayEffectRef PKDelayEffectCreate(CFErrorRef *outError);
#pragma mark -
#pragma mark Properties
///Sets the amount of delayed sound that is audible.
PK_EXTERN Boolean PKDelayEffectSetAmount(PKDelayEffectRef effect, AudioUnitParameterValue value, CFErrorRef *outError);
///Gets the amount of delayed sound that is audible.
PK_EXTERN AudioUnitParameterValue PKDelayEffectGetAmount(PKDelayEffectRef effect);
#pragma mark -
///Sets the delay time.
PK_EXTERN Boolean PKDelayEffectSetDelayTime(PKDelayEffectRef effect, AudioUnitParameterValue value, CFErrorRef *outError);
///Gets the delay time.
PK_EXTERN AudioUnitParameterValue PKDelayEffectGetDelayTime(PKDelayEffectRef effect);
#pragma mark -
///Sets the feedback.
PK_EXTERN Boolean PKDelayEffectSetFeedback(PKDelayEffectRef effect, AudioUnitParameterValue value, CFErrorRef *outError);
///Gets the feedback.
PK_EXTERN AudioUnitParameterValue PKDelayEffectGetFeedback(PKDelayEffectRef effect);
#pragma mark -
///Sets the lopass cutoff.
PK_EXTERN Boolean PKDelayEffectSetLopassCutoff(PKDelayEffectRef effect, AudioUnitParameterValue value, CFErrorRef *outError);
///Gets the lopass cutoff.
PK_EXTERN AudioUnitParameterValue PKDelayEffectGetLopassCutoff(PKDelayEffectRef effect);
#endif /* PKDelayEffect_h */