[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] pygame hangs with some mp3 files and hangs the hole prozess
- To: pygame-users@xxxxxxxx
- Subject: [pygame] pygame hangs with some mp3 files and hangs the hole prozess
- From: "Stefan Huchler" <s.huchler@xxxxxxxxx>
- Date: Thu, 1 Nov 2007 03:23:24 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 31 Oct 2007 22:23:33 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=GnSdwxLX/sVl/8tRn5FFggJI0qdBXF9tVCb1o4khOEQ=; b=b15Sr17VsArAvoS9Gc8BAX/1bGL6inNS6EbQ2wqt9FnLjIDDBHLrjMt+YpTgkBMTCwv4pcr8xhJtPt/30POqYOL1rCEzUPE7IOe5rHyQ2MdIG2dXMcRAVuZD9rWcdt7lALBpR+4gncN+wJ0aj61zG60RgkUavQnHpmWkZA84XEg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LV6+zIE0Kktvy+I9ad1s7HZGxmy6dmaMHJAHiDiUSwowWhxusyQ2X4ilkUO1KDBjggr9MsTXYp/2/nAr9y3JD22ZWfwxG6O4gF0AJp9rnWq2qyxI2LlIY+u3s2ZmbiDc1WxtApznY1D9AWuAZxJI8aF+C0EhMsFQzqxB5hKLeC0=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
i wrote it on irc but nobody was there. so i post it again here:
>>> import pygame
>>> pygame.mixer.init()
>>> pygame.mixer.load('test.mp3')
>>> pygame.mixer.music.play()
>>> pygame.mixer.music.play()
so i have some mp3 files
with them pygame dies
and when i play the next it hangs
can i do there something? i wanted a preview song-playing function in my game
the files play with mplayer
or xmms
can i reset pygame in such case or so
i have a try catch around it and it does not go in catch
i can send you the mp3 if that helps but i have some that hangs with pygame
by the way if someone likes to test our game http://lobtoc.org/canta/
k i have the same results under gentoo and pygame with there versions.
I dont hope that you get all this mp3s working soon it could be that
there are buggy, but i hope there is a way that a buggy mp3 dont kill
the hole prozess.