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
e5649c75
Kaydet (Commit)
e5649c75
authored
Agu 19, 1996
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed {Set,Get}SoundVol (old calls not supported by cfm68k)
üst
ee8662fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
34 deletions
+4
-34
Sndmodule.c
Mac/Modules/snd/Sndmodule.c
+0
-33
sndscan.py
Mac/Modules/snd/sndscan.py
+4
-1
No files found.
Mac/Modules/snd/Sndmodule.c
Dosyayı görüntüle @
e5649c75
...
...
@@ -315,35 +315,6 @@ staticforward PyTypeObject SndChannel_Type = {
/* ------------------- End object type SndChannel ------------------- */
static
PyObject
*
Snd_SetSoundVol
(
_self
,
_args
)
PyObject
*
_self
;
PyObject
*
_args
;
{
PyObject
*
_res
=
NULL
;
short
level
;
if
(
!
PyArg_ParseTuple
(
_args
,
"h"
,
&
level
))
return
NULL
;
SetSoundVol
(
level
);
Py_INCREF
(
Py_None
);
_res
=
Py_None
;
return
_res
;
}
static
PyObject
*
Snd_GetSoundVol
(
_self
,
_args
)
PyObject
*
_self
;
PyObject
*
_args
;
{
PyObject
*
_res
=
NULL
;
short
level
;
if
(
!
PyArg_ParseTuple
(
_args
,
""
))
return
NULL
;
GetSoundVol
(
&
level
);
_res
=
Py_BuildValue
(
"h"
,
level
);
return
_res
;
}
static
PyObject
*
Snd_SndNewChannel
(
_self
,
_args
)
PyObject
*
_self
;
PyObject
*
_args
;
...
...
@@ -742,10 +713,6 @@ static PyObject *Snd_GetSoundHeaderOffset(_self, _args)
}
static
PyMethodDef
Snd_methods
[]
=
{
{
"SetSoundVol"
,
(
PyCFunction
)
Snd_SetSoundVol
,
1
,
"(short level) -> None"
},
{
"GetSoundVol"
,
(
PyCFunction
)
Snd_GetSoundVol
,
1
,
"() -> (short level)"
},
{
"SndNewChannel"
,
(
PyCFunction
)
Snd_SndNewChannel
,
1
,
"(short synth, long init, PyObject* userRoutine) -> (SndChannelPtr chan)"
},
{
"SndControl"
,
(
PyCFunction
)
Snd_SndControl
,
1
,
...
...
Mac/Modules/snd/sndscan.py
Dosyayı görüntüle @
e5649c75
...
...
@@ -44,9 +44,12 @@ class SoundScanner(Scanner):
'GetSoundPreference'
,
'SetSoundPreference'
,
'GetCompressionInfo'
,
#
And 3.1 calls, ditto..
.
#
Calls with void_ptr arguments (to be done)
.
'SndGetInfo'
,
'SndSetInfo'
,
# And old calls that are no longer supported
'SetSoundVol'
,
'GetSoundVol'
,
]
...
...
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