mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-22 16:17:22 +00:00
Fixed all the issues caused by merging
This commit is contained in:
1 parent
fda7c3bc04
commit
0bbc25e281
4 files changed
+12
-72
No files matched your search
@@ -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