Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96913 Details for
Bug 70450
pytone (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for pytone-2.3.1-r1.ebuild
2.3.1-byteorder.patch (text/plain), 1.53 KB, created by
Stefan Wimmer
on 2006-09-13 15:34:22 UTC
(
hide
)
Description:
Patch for pytone-2.3.1-r1.ebuild
Filename:
MIME Type:
Creator:
Stefan Wimmer
Created:
2006-09-13 15:34:22 UTC
Size:
1.53 KB
patch
obsolete
>Index: src/bufferedao.c >=================================================================== >--- src/bufferedao.c (Revision 136) >+++ src/bufferedao.c (Arbeitskopie) >@@ -142,7 +142,7 @@ > self->format.bits = 16; > self->format.rate = 44100; > self->format.channels = 2; >- self->format.byte_format = 2; >+ self->format.byte_format = 4; /* platform byte order */ > > /* parse parameters... */ > if ( !PyArg_ParseTupleAndKeywords(args, kwds, "iis|iiiiO!", kwlist, >Index: src/services/players/internal.py >=================================================================== >--- src/services/players/internal.py (Revision 136) >+++ src/services/players/internal.py (Arbeitskopie) >@@ -47,7 +47,7 @@ > > class aoaudiodev: > def __init__(self, aodevice, rate, options): >- self.ao = ao.AudioDevice(aodevice, rate=rate, byte_format=2, options=options) >+ self.ao = ao.AudioDevice(aodevice, rate=rate, byte_format=4, options=options) > > def play(self, buff, bytes): > self.ao.play(buff, bytes) >@@ -184,7 +184,7 @@ > > # use C version of buffered audio device if present > if bufferedao_present: >- self.audiodev = bufferedao.bufferedao(bufsize, self.SIZE, aodevice, rate=self.rate, options=aooptions) >+ self.audiodev = bufferedao.bufferedao(bufsize, self.SIZE, aodevice, byte_format=4, rate=self.rate, options=aooptions) > # we have to start a new thread for the bufferedao device > thread.start_new(self.audiodev.start, ()) > log.debug("bufferedao device opened")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 70450
:
61143
|
65188
|
94265
|
96912
| 96913 |
176887