[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Mixer Quit / Restart
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Mixer Quit / Restart
- From: "Ian Mallett" <geometrian@xxxxxxxxx>
- Date: Tue, 1 Jul 2008 11:43:42 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 01 Jul 2008 14:43:47 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Qi3wvwgGIsuS0jVaDiCIut6WOTp5z3xTdcv+5BlpJYE=; b=R1/eYnbzhIGE7/zIVksvtp0cfiTZHhex2bCvSMNcVmSQUSztt5ZPspIb1sBKaidXhU nKUKXPdEv7SCriWJWPyH7YkDyxndixy8vvAG02v5jLpdfZNC+lL3Td9FzdAZKeanJcZu 7I+1/hd04dHehNMxaX12OYItU8DzZlWLnRhxo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=uLi2UOM78Gkqv5Y8Bijy8O040FFh9yMx3ClpBVABhxNvgbQQ7sfAjISDN2VGgtEhOT X6oAxvN5chlre7JhNJmc+ZaBdeCd+CUUKwIuRKy51or4opuW3yDEdIyIexGpom3Ah4Ax li9kjH6hlXuuLZJVTQz3EPVMTyfRdogSLKETo=
- In-reply-to: <486A7636.1090506@xxxxxxxxx>
- References: <486A7636.1090506@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Note that if this were to work (init/deinit aside), the sound would start playing, then the mixer would be deinited immediately, so you would likely hear nothing or at most ten little clicks.
I'm curious about this problem--why deinitialize the mixer between sounds? Are they all different bitrates? Why micromanage channels? sound.play() should work equally well.
Ian