diff --git a/MP42/MP42AC3AudioEncoder.m b/MP42/MP42AC3AudioEncoder.m index 0cade45..b13d582 100644 --- a/MP42/MP42AC3AudioEncoder.m +++ b/MP42/MP42AC3AudioEncoder.m @@ -52,7 +52,7 @@ typedef struct AudioFileIO @property (nonatomic, readonly) NSUInteger bitrate; -@property (nonatomic, readonly) NSThread *decoderThread; +@property (nonatomic, readonly) NSThread *thread; @property (nonatomic, readonly) MP42Fifo *inputSamplesBuffer; @property (nonatomic, readonly) MP42Fifo *outputSamplesBuffer; @@ -257,9 +257,9 @@ typedef struct AudioFileIO - (void)start { - _decoderThread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil]; - [_decoderThread setName:@"AudioToolbox Audio Encoder"]; - [_decoderThread start]; + _thread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil]; + [_thread setName:@"FFmpeg Audio Encoder"]; + [_thread start]; } #pragma mark - Public methods diff --git a/MP42/MP42AudioEncoder.m b/MP42/MP42AudioEncoder.m index 68a9a04..a3f8f52 100644 --- a/MP42/MP42AudioEncoder.m +++ b/MP42/MP42AudioEncoder.m @@ -48,7 +48,7 @@ typedef struct AudioFileIO @property (nonatomic, readonly) AudioConverterRef encoder; @property (nonatomic, readonly) NSUInteger bitrate; -@property (nonatomic, readonly) NSThread *decoderThread; +@property (nonatomic, readonly) NSThread *thread; @property (nonatomic, readonly) MP42Fifo *inputSamplesBuffer; @property (nonatomic, readonly) MP42Fifo *outputSamplesBuffer; @@ -291,9 +291,9 @@ typedef struct AudioFileIO - (void)start { - _decoderThread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil]; - [_decoderThread setName:@"AudioToolbox Audio Encoder"]; - [_decoderThread start]; + _thread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil]; + [_thread setName:@"AudioToolbox Audio Encoder"]; + [_thread start]; } #pragma mark - Public methods