diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2011-07-30 04:34:09 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2011-07-30 04:34:09 +0400 |
commit | ece344bfcd2c43cfd0e5e2a2f1291ba8e969141e (patch) | |
tree | 8a0c349fe26ecfb965dd96250d1197a4ad3c0b24 /src/MumbleKit/MKAudioInput.h | |
parent | 1947ec2ba171c07c45c4830aa24fdbe45abf2ac4 (diff) |
Don't expose ivars in class @interfaces in public headers.
Diffstat (limited to 'src/MumbleKit/MKAudioInput.h')
-rw-r--r-- | src/MumbleKit/MKAudioInput.h | 43 |
1 files changed, 1 insertions, 42 deletions
diff --git a/src/MumbleKit/MKAudioInput.h b/src/MumbleKit/MKAudioInput.h index b6cec70..a959fa1 100644 --- a/src/MumbleKit/MKAudioInput.h +++ b/src/MumbleKit/MKAudioInput.h @@ -34,47 +34,7 @@ #import <AudioUnit/AUComponent.h> #import <AudioToolbox/AudioToolbox.h> -struct MKAudioInputPrivate; - -@interface MKAudioInput : NSObject { - @private - struct MKAudioInputPrivate *_private; - - @public - AudioUnit audioUnit; - AudioBufferList buflist; - int micSampleSize; - int numMicChannels; - - @protected - MKAudioSettings _settings; - - int frameSize; - int micFrequency; - int sampleRate; - - int micFilled; - int micLength; - BOOL previousVoice; - int bitrate; - int frameCounter; - - BOOL doResetPreprocessor; - - short *psMic; - short *psOut; - - MKUDPMessageType udpMessageType; - NSMutableArray *frameList; - - MKCodecFormat _codecFormat; - BOOL _doTransmit; - BOOL _forceTransmit; - BOOL _lastTransmit; - - signed long _preprocRunningAvg; - signed long _preprocAvgItems; -} +@interface MKAudioInput : NSObject - (id) initWithSettings:(MKAudioSettings *)settings; - (void) dealloc; @@ -94,5 +54,4 @@ struct MKAudioInputPrivate; - (signed long) preprocessorAvgRuntime; - @end |