comparison game/Engine.java @ 116:858b9644a61e

Adjusts number of max simultaneous sounds.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 31 May 2011 18:44:58 +0300
parents 8c3bc197310d
children 973f567c7b9d
comparison
equal deleted inserted replaced
115:8c3bc197310d 116:858b9644a61e
473 { 473 {
474 // Initialize globals 474 // Initialize globals
475 System.out.print("Engine() constructor\n"); 475 System.out.print("Engine() constructor\n");
476 476
477 // Sound system 477 // Sound system
478 G.smgr = new SoundManager(new AudioFormat(22050, 16, 1, true, false), 1); 478 G.smgr = new SoundManager(new AudioFormat(22050, 16, 1, true, false), 16);
479 479
480 // Load resources 480 // Load resources
481 try 481 try
482 { 482 {
483 ResourceLoader res = new ResourceLoader("graphics/board.jpg"); 483 ResourceLoader res = new ResourceLoader("graphics/board.jpg");