Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
ddb4f626
Kaydet (Commit)
ddb4f626
authored
Mar 30, 2003
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF patch #667548, Add some audio constants by Michael Pruett
Also remove a few unused variables. Built on IRIX 6.5.
üst
1ac3e399
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
+25
-3
almodule.c
Modules/almodule.c
+25
-3
No files found.
Modules/almodule.c
Dosyayı görüntüle @
ddb4f626
...
@@ -59,7 +59,6 @@ static PyObject *
...
@@ -59,7 +59,6 @@ static PyObject *
param2python
(
int
resource
,
int
param
,
ALvalue
value
,
ALparamInfo
*
pinfo
)
param2python
(
int
resource
,
int
param
,
ALvalue
value
,
ALparamInfo
*
pinfo
)
{
{
ALparamInfo
info
;
ALparamInfo
info
;
PyObject
*
v
;
if
(
pinfo
==
NULL
)
{
if
(
pinfo
==
NULL
)
{
pinfo
=
&
info
;
pinfo
=
&
info
;
...
@@ -717,7 +716,6 @@ PyDoc_STRVAR(alp_ReadFrames__doc__,
...
@@ -717,7 +716,6 @@ PyDoc_STRVAR(alp_ReadFrames__doc__,
static
PyObject
*
static
PyObject
*
alp_ReadFrames
(
alpobject
*
self
,
PyObject
*
args
)
alp_ReadFrames
(
alpobject
*
self
,
PyObject
*
args
)
{
{
void
*
samples
;
int
framecount
;
int
framecount
;
PyObject
*
v
;
PyObject
*
v
;
int
size
;
int
size
;
...
@@ -1561,7 +1559,7 @@ static PyObject *
...
@@ -1561,7 +1559,7 @@ static PyObject *
al_SetParams
(
PyObject
*
self
,
PyObject
*
args
)
al_SetParams
(
PyObject
*
self
,
PyObject
*
args
)
{
{
int
resource
;
int
resource
;
PyObject
*
pvslist
,
*
item
;
PyObject
*
pvslist
;
ALpv
*
pvs
;
ALpv
*
pvs
;
ALparamInfo
*
pinfo
;
ALparamInfo
*
pinfo
;
int
npvs
,
i
;
int
npvs
,
i
;
...
@@ -2545,6 +2543,12 @@ inital(void)
...
@@ -2545,6 +2543,12 @@ inital(void)
goto
error
;
goto
error
;
Py_DECREF
(
x
);
Py_DECREF
(
x
);
#endif
#endif
#ifdef AL_LOCKED
x
=
PyInt_FromLong
((
long
)
AL_LOCKED
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"LOCKED"
,
x
)
<
0
)
goto
error
;
Py_DECREF
(
x
);
#endif
#ifdef AL_MASTER_CLOCK
#ifdef AL_MASTER_CLOCK
x
=
PyInt_FromLong
((
long
)
AL_MASTER_CLOCK
);
x
=
PyInt_FromLong
((
long
)
AL_MASTER_CLOCK
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"MASTER_CLOCK"
,
x
)
<
0
)
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"MASTER_CLOCK"
,
x
)
<
0
)
...
@@ -2695,12 +2699,24 @@ inital(void)
...
@@ -2695,12 +2699,24 @@ inital(void)
goto
error
;
goto
error
;
Py_DECREF
(
x
);
Py_DECREF
(
x
);
#endif
#endif
#ifdef AL_NULL_INTERFACE
x
=
PyInt_FromLong
((
long
)
AL_NULL_INTERFACE
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"NULL_INTERFACE"
,
x
)
<
0
)
goto
error
;
Py_DECREF
(
x
);
#endif
#ifdef AL_NULL_RESOURCE
#ifdef AL_NULL_RESOURCE
x
=
PyInt_FromLong
((
long
)
AL_NULL_RESOURCE
);
x
=
PyInt_FromLong
((
long
)
AL_NULL_RESOURCE
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"NULL_RESOURCE"
,
x
)
<
0
)
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"NULL_RESOURCE"
,
x
)
<
0
)
goto
error
;
goto
error
;
Py_DECREF
(
x
);
Py_DECREF
(
x
);
#endif
#endif
#ifdef AL_OPTICAL_IF_TYPE
x
=
PyInt_FromLong
((
long
)
AL_OPTICAL_IF_TYPE
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"OPTICAL_IF_TYPE"
,
x
)
<
0
)
goto
error
;
Py_DECREF
(
x
);
#endif
#ifdef AL_OUTPUT_COUNT
#ifdef AL_OUTPUT_COUNT
x
=
PyInt_FromLong
((
long
)
AL_OUTPUT_COUNT
);
x
=
PyInt_FromLong
((
long
)
AL_OUTPUT_COUNT
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"OUTPUT_COUNT"
,
x
)
<
0
)
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"OUTPUT_COUNT"
,
x
)
<
0
)
...
@@ -3049,6 +3065,12 @@ inital(void)
...
@@ -3049,6 +3065,12 @@ inital(void)
goto
error
;
goto
error
;
Py_DECREF
(
x
);
Py_DECREF
(
x
);
#endif
#endif
#ifdef AL_SMPTE272M_IF_TYPE
x
=
PyInt_FromLong
((
long
)
AL_SMPTE272M_IF_TYPE
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"SMPTE272M_IF_TYPE"
,
x
)
<
0
)
goto
error
;
Py_DECREF
(
x
);
#endif
#ifdef AL_SOURCE
#ifdef AL_SOURCE
x
=
PyInt_FromLong
((
long
)
AL_SOURCE
);
x
=
PyInt_FromLong
((
long
)
AL_SOURCE
);
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"SOURCE"
,
x
)
<
0
)
if
(
x
==
NULL
||
PyDict_SetItemString
(
d
,
"SOURCE"
,
x
)
<
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment