You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
pintukumarpatil
changed the title
Issue with multiple MixerSource.TYPE_RECORD sources recording
Android: Issue with multiple MixerSource.TYPE_RECORD sources recording
Mar 3, 2020
Hello Team,
I am getting issue in case of two recording sources: The voice is not clear
mixer= new AudioMixer(new MixerConfig(
new ArrayList<>(Arrays.asList(
new MixerSource(MixerSource.TYPE_RECORD, 1, 1, outputFile, sampleRate,
channelCount),
new MixerSource(MixerSource.TYPE_RECORD, 2, 1, outputFile, sampleRate,
channelCount)
)),
sampleRate, channelCount, 10
));
And writing buffer like
try {
byte[] data = audioSamples.getData();
mixer.addRecordedData(ssrc, data, data.length);
AudioBuffer buffer = mixer.mix();
if (buffer.getSize() > 0) {
mixerDump.write(buffer.getBuffer(), 0, buffer.getSize());
}
} catch (Exception e) {
e.printStackTrace();
}
The text was updated successfully, but these errors were encountered: