Fix some channel layouts.
This commit is contained in:
1 parent
ffe8abd0b6
commit
982b36daf0
2 files changed
+5
-5
No files matched your search
@@ -157,7 +157,7 @@ typedef struct AudioFileIO
|
||||
}
|
||||
|
||||
// Get the output channel layout.
|
||||
/*err = AudioConverterGetPropertyInfo(_encoder,
|
||||
err = AudioConverterGetPropertyInfo(_encoder,
|
||||
kAudioConverterOutputChannelLayout,
|
||||
&_outputLayoutSize, NULL);
|
||||
if (err) {
|
||||
@@ -167,10 +167,10 @@ typedef struct AudioFileIO
|
||||
_outputLayout = malloc(_outputLayoutSize);
|
||||
err = AudioConverterGetProperty(_encoder,
|
||||
kAudioConverterOutputChannelLayout,
|
||||
&_outputLayoutSize, &_outputLayout);
|
||||
&_outputLayoutSize, _outputLayout);
|
||||
if (err) {
|
||||
NSLog(@"err: kAudioConverterOutputChannelLayout From AudioConverter");
|
||||
}*/
|
||||
}
|
||||
|
||||
// Get real input.
|
||||
tmpsiz = sizeof(_inputFormat);
|
||||
|
||||
Reference in new issue
Block a user