We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems like a audio stream generated by SineWaveAudioInputStreamGenerator is not restarting properly.
Scenario: Scenario scenario = scenario(room, settings(fixed(generate(format, 500, 10_000)), fixed(5, 10, 10), fixed(5, 5, 5), fixed(fixedSpeakerVolumeRatios), fractional(), forever()));
Output: 2018-04-23 14:41:47 [main] ImmerseMixer.initializeSoundCardStreams() - INFO: Exception for mixer info: 'PCH [plughw:0,0]'. Known Java Sound API issue, falling back to default audio device. 2018-04-23 14:41:47 [main] ImmerseMixer.lambda$32() - INFO: Main mixer changed from state NEW to WARMUP 2018-04-23 14:41:49 [Warmup Mixer Executor] ImmerseMixer.lambda$32() - INFO: Main mixer changed from state WARMUP to INITIALIZED 2018-04-23 14:41:49 [Warmup Mixer Executor] ImmerseMixer.warmup() - INFO: Warmup completed in 1.471 seconds 2018-04-23 14:41:49 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer changed from state INITIALIZED to STARTED 2018-04-23 14:41:49 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario 2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario
The text was updated successfully, but these errors were encountered:
FixedAudioResource just returns the same AudioInputStream object, that does not work for restarting!
Sorry, something went wrong.
Fixed by refactoring FixedAudioResource into SuppliedAudioResource that uses a Supplier instead.
No branches or pull requests
Seems like a audio stream generated by SineWaveAudioInputStreamGenerator is not restarting properly.
Scenario:
Scenario scenario = scenario(room, settings(fixed(generate(format, 500, 10_000)), fixed(5, 10, 10), fixed(5, 5, 5),
fixed(fixedSpeakerVolumeRatios), fractional(), forever()));
Output:
2018-04-23 14:41:47 [main] ImmerseMixer.initializeSoundCardStreams() - INFO: Exception for mixer info: 'PCH [plughw:0,0]'. Known Java Sound API issue, falling back to default audio device.
2018-04-23 14:41:47 [main] ImmerseMixer.lambda$32() - INFO: Main mixer changed from state NEW to WARMUP
2018-04-23 14:41:49 [Warmup Mixer Executor] ImmerseMixer.lambda$32() - INFO: Main mixer changed from state WARMUP to INITIALIZED
2018-04-23 14:41:49 [Warmup Mixer Executor] ImmerseMixer.warmup() - INFO: Warmup completed in 1.471 seconds
2018-04-23 14:41:49 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer changed from state INITIALIZED to STARTED
2018-04-23 14:41:49 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer restarted scenario Scenario
2018-04-23 14:41:59 [Main Mixer Worker] ImmerseMixer.lambda$32() - INFO: Main mixer started scenario Scenario
The text was updated successfully, but these errors were encountered: