mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-12 10:56:04 +00:00
Fixed all the issues caused by merging
This commit is contained in:
@@ -79,14 +79,6 @@ public class JavaxAudioRenderer implements AudioRenderer {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The callback for the audio stream being initialized and starting to receive.
|
||||
* @param channelCount the number of channels in the audio
|
||||
* @param sampleRate the sample rate for the audio.
|
||||
*/
|
||||
@Override
|
||||
public void streamInitialized(int channelCount, int sampleRate) {
|
||||
|
||||
private void createSoundLine(int bufferSize) {
|
||||
AudioFormat audioFormat = new AudioFormat(sampleRate, 16, channelCount, true, true);
|
||||
|
||||
@@ -117,6 +109,11 @@ public class JavaxAudioRenderer implements AudioRenderer {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The callback for the audio stream being initialized and starting to receive.
|
||||
* @param channelCount the number of channels in the audio
|
||||
* @param sampleRate the sample rate for the audio.
|
||||
*/
|
||||
@Override
|
||||
public void streamInitialized(int channelCount, int sampleRate) {
|
||||
this.channelCount = channelCount;
|
||||
|
||||
Reference in New Issue
Block a user