NTAudioSource Class Reference
| Inherits from | NSObject | 
|---|---|
| Declared in | NTAudioSource.h NTAudioSource.m  | 
Overview
Base class for nn audio source. This is a component that produces audio data (e.g. reading from mic).
Default Audio Format is Mono 16Bit PCM 16000 rate
Other Methods
  started
	Whether the audio source currently produces data.
@property (nonatomic, readonly) BOOL startedDiscussion
Whether the audio source currently produces data.
Declared In
NTAudioSource.h
  suspended
	Whether the audio source is suspended.
@property (nonatomic, readonly) BOOL suspendedDiscussion
Whether the audio source is suspended.
Declared In
NTAudioSource.h
  format
	The format of the audio data, this source is producing.
@property (nonatomic, readonly) AudioStreamBasicDescription formatDiscussion
The format of the audio data, this source is producing.
Declared In
NTAudioSource.h
– start
	Start producing audio.
- (BOOL)startReturn Value
YES on success, NO otherwise
Discussion
Start producing audio.
Declared In
NTAudioSource.h
– suspend
	Suspend producing audio.
- (BOOL)suspendReturn Value
YES on success, NO otherwise
Discussion
Suspend producing audio.
Declared In
NTAudioSource.h
– resume
	Resume producing audio.
- (BOOL)resumeReturn Value
YES on success, NO otherwise
Discussion
Resume producing audio.
Declared In
NTAudioSource.h
– stop
	Stop producing audio.
- (BOOL)stopReturn Value
YES on success, NO otherwise
Discussion
Stop producing audio.
Declared In
NTAudioSource.h
– addDelegate:
	Adds a delegate
- (void)addDelegate:(id<NTAudioSourceDelegate>)delegateParameters
delegate | 
						delegate  | 
					
|---|
Discussion
Adds a delegate
Declared In
NTAudioSource.h
– removeDelegate:
	Removes a delegate
- (void)removeDelegate:(id<NTAudioSourceDelegate>)delegateParameters
delegate | 
						delegate  | 
					
|---|
Discussion
Removes a delegate
Declared In
NTAudioSource.h
+ monoPCM16kInt16
	Audio Format with the following settings: Sample Rate = 16'000 Format = Linear PCM Channels = 1 Bits per Channel = 16 Little Endian Signed Int Non interleaved
+ (AudioStreamBasicDescription)monoPCM16kInt16Return Value
Format Description
Discussion
Audio Format with the following settings: Sample Rate = 16'000 Format = Linear PCM Channels = 1 Bits per Channel = 16 Little Endian Signed Int Non interleaved
Declared In
NTAudioSource.h