Fix AC3 encoder thread name.
This commit is contained in:
1 parent
a454983dac
commit
f9e43d039a
2 files changed
+8
-8
No files matched your search
@@ -52,7 +52,7 @@ typedef struct AudioFileIO
|
|||||||
|
|
||||||
@property (nonatomic, readonly) NSUInteger bitrate;
|
@property (nonatomic, readonly) NSUInteger bitrate;
|
||||||
|
|
||||||
@property (nonatomic, readonly) NSThread *decoderThread;
|
@property (nonatomic, readonly) NSThread *thread;
|
||||||
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *inputSamplesBuffer;
|
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *inputSamplesBuffer;
|
||||||
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *outputSamplesBuffer;
|
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *outputSamplesBuffer;
|
||||||
|
|
||||||
@@ -257,9 +257,9 @@ typedef struct AudioFileIO
|
|||||||
|
|
||||||
- (void)start
|
- (void)start
|
||||||
{
|
{
|
||||||
_decoderThread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil];
|
_thread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil];
|
||||||
[_decoderThread setName:@"AudioToolbox Audio Encoder"];
|
[_thread setName:@"FFmpeg Audio Encoder"];
|
||||||
[_decoderThread start];
|
[_thread start];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Public methods
|
#pragma mark - Public methods
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ typedef struct AudioFileIO
|
|||||||
@property (nonatomic, readonly) AudioConverterRef encoder;
|
@property (nonatomic, readonly) AudioConverterRef encoder;
|
||||||
@property (nonatomic, readonly) NSUInteger bitrate;
|
@property (nonatomic, readonly) NSUInteger bitrate;
|
||||||
|
|
||||||
@property (nonatomic, readonly) NSThread *decoderThread;
|
@property (nonatomic, readonly) NSThread *thread;
|
||||||
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *inputSamplesBuffer;
|
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *inputSamplesBuffer;
|
||||||
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *outputSamplesBuffer;
|
@property (nonatomic, readonly) MP42Fifo<MP42SampleBuffer *> *outputSamplesBuffer;
|
||||||
|
|
||||||
@@ -291,9 +291,9 @@ typedef struct AudioFileIO
|
|||||||
|
|
||||||
- (void)start
|
- (void)start
|
||||||
{
|
{
|
||||||
_decoderThread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil];
|
_thread = [[NSThread alloc] initWithTarget:self selector:@selector(threadMainRoutine) object:nil];
|
||||||
[_decoderThread setName:@"AudioToolbox Audio Encoder"];
|
[_thread setName:@"AudioToolbox Audio Encoder"];
|
||||||
[_decoderThread start];
|
[_thread start];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Public methods
|
#pragma mark - Public methods
|
||||||
|
|||||||
Reference in new issue
Block a user