[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Crackle and static with pygame.mixer.music



I am attempting to play .ogg files with pygame, but my playback is
static-filled. Sample script follows:
-------------------
import pygame.mixer
pygame.mixer.init()
pygame.mixer.music.load('sample.ogg')
pygame.mixer.music.play()

import time
while 1:
  time.sleep(1)
-------------------

I have tested this with the Ubuntu 8.04 distribution of pygame 1.7.1,
version 1.8.0 from the home page, and the latest 1.8.1 release on the
CVS. All versions produce identical results.

All tested .ogg files work perfectly in other media players.