// // SCListener 1.0.1 // http://github.com/stephencelis/sc_listener // // (c) 2009-* Stephen Celis, . // Released under the MIT License. // #ifdef USE_TI_MEDIA #import #import #import @interface SCListener : NSObject { AudioQueueLevelMeterState *levels; AudioQueueRef queue; AudioStreamBasicDescription format; Float64 sampleRate; } + (SCListener *)sharedListener; - (void)listen; - (BOOL)isListening; - (void)pause; - (void)stop; - (Float32)averagePower; - (Float32)peakPower; - (AudioQueueLevelMeterState *)levels; @end #endif