1. pygame
  2. pygame
  3. pygame
  4. Issues

Issues

Issue #38 invalid

pygame 1.91 mixer bug

René Dudfield
created an issue

== saehoon, 2009-09-05 01:10:23 -0700

{{{ Python version : 3.1 pygame version : 1.91

pygame.mixer.Channel.play(Sound)

crashes with system error.

the same code works with python 2.4 so this could be python bug. I am not sure.

I am reporting just in case and let you guys to see where the actual bug is.

Thanks. }}}


Comments (4)

  1. René Dudfield reporter
    • changed status to open
    • changed milestone to 1.9.2

    Needs testing with python 3.2. python 3.1 is considered obsolete by python.org and by us.

    pygame.mixer.Channel.play(Sound) is not a correct way to call the method. However, maybe that was just short hand.

    Here is a test case:

    import pygame, pygame.examples, time, os
    pygame.init()
    main_dir = os.path.split(os.path.abspath(pygame.examples.__file__))[0]
    data_dir = os.path.join(main_dir, 'data')
    a_sound = pygame.mixer.Sound(os.path.join(data_dir, "whiff.wav"))
    c = pygame.mixer.Channel(1);
    c.play(a_sound)
    time.sleep(3)
    
  2. Log in to comment