dimanche 28 décembre 2014

Why does pygame.mixer.init not change the sampling rate?


Vote count:

0




If I run



import pygame

pygame.mixer.pre_init(44100, -16,2,2048)
pygame.init()
print pygame.mixer.get_init()


or



import pygame

pygame.init()
pygame.mixer.init(44100, -16,2,2048)
print pygame.mixer.get_init()


or



import pygame

pygame.mixer.init(44100, -16,2,2048)
print pygame.mixer.get_init()


The result is: (22050, -16, 2)


instead of (44100, -16,2)


Why? What am I doing wrong?



asked 2 mins ago







Why does pygame.mixer.init not change the sampling rate?

Aucun commentaire:

Enregistrer un commentaire