[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] sound crackling and fmod
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] sound crackling and fmod
- From: "Παναγιώτης" "Τσιμπέρης" <takira_gr@xxxxxxxxx>
- Date: Sun, 29 Apr 2007 22:40:02 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 30 Apr 2007 01:40:15 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=n37dBuXWSsw0B1No45agXd7ZHYgTul+rziEvwfuKqdQ9twfYAYOCDgQeZqsmUBrvFsNGeAXbUSU5GVrGuuldjOESRqZv6ZbrlgRNPkEhUr+zKRiOmdsQm5xRH+NjQbOU+pcKCs1pF2xnpXeQ6eAW541NOmR+zlfdvg7DmmokI28=;
- In-reply-to: <56503.71514.qm@web50704.mail.re2.yahoo.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
1) why am I getting the crackling when running the
demos?
open the game's code and change in the mixer's
initiation, the size of the buffer - it's the last
parameter. For instance if you find:
pygame.mixer.init()
then replace with:
pygame.mixer.init(22050,-16,1,2048)
or even:
pygame.mixer.init(22050,-16,1,4096)
that should fix it.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com