Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 399f689aeb
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 62 lines (57 sloc) 2.007 kb
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 58 59 60 61
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: /System/Library/PrivateFrameworks/Celestial.framework/Celestial
*/

#import "Celestial-Structs.h"
#import <Foundation/NSObject.h>
#import "AVRecorderImpl.h"

@class NSMutableDictionary;

@interface AVRecorderAudioQueueImpl : NSObject <AVRecorderImpl> {
BOOL _isActive;
BOOL _isRecording;
BOOL _isWriting;
NSMutableDictionary* _attributes;
unsigned _fileType;
unsigned _audioCodec;
long long _maxPCMFramesToRecord;
BOOL _haveRecordedMaxPCMFrames;
AudioStreamBasicDescription _recordingFormat;
OpaqueAudioFileID* _audioFile;
OpaqueAudioQueue* _audioQueue;
unsigned _numDeviceChannels;
AudioQueueLevelMeterState* _audioLevels;
AudioQueueLevelMeterState* _audioLevelsDB;
unsigned _totalBytesRecorded;
unsigned _totalPacketsRecorded;
unsigned _totalFramesRecorded;
AudioQueueBuffer* _buffers[3];
BOOL _bufferUsed[3];
}
-(id)init;
-(id)initWithAttributes:(id)attributes;
-(void)dealloc;
-(void)setFilePath:(id)path;
-(id)filePath;
-(void)setAttribute:(id)attribute forKey:(id)key;
-(id)attributeForKey:(id)key;
-(BOOL)activate:(id*)activate;
-(void)deactivate;
-(BOOL)isActive;
-(BOOL)takePhoto;
-(BOOL)autoFocusAtPoint:(CGPoint)point;
-(BOOL)start;
-(void)stop;
-(BOOL)isRecording;
-(float)micVolume;
-(void)setMicVolume:(float)volume;
-(long long)recordedFileSizeInBytes;
-(double)recordedDuration;
-(unsigned)audioNumDeviceChannels;
-(BOOL)audioCurrentAverageVolumeLevels:(float*)levels andPeakVolumeLevels:(float*)levels2 useDB:(BOOL)db;
-(BOOL)audioCurrentAverageVolumeLevels:(float*)levels andPeakVolumeLevels:(float*)levels2;
-(BOOL)audioCurrentAverageDecibelLevels:(float*)levels andPeakDecibelLevels:(float*)levels2;
-(void)copyEncoderCookieToFile;
-(void)haveABuffer:(AudioQueueBuffer*)buffer withTimeStamp:(const AudioTimeStamp*)timeStamp andNumPackets:(unsigned long)packets andPacketDescs:(const AudioStreamPacketDescription*)descs;
@end

Something went wrong with that request. Please try again.