Home
last modified time | relevance | path

Searched refs:namehint (Results 1 – 25 of 39) sorted by relevance

12

/dports/devel/py-game/pygame-2.1.0/src_c/
H A Dmusic.c298 _get_type_from_hint(char *namehint) in _get_type_from_hint() argument
304 if (namehint != NULL) { in _get_type_from_hint()
305 dot = strrchr(namehint, '.'); in _get_type_from_hint()
307 namehint = dot + 1; in _get_type_from_hint()
317 if (SDL_strcasecmp(namehint, "WAV") == 0) { in _get_type_from_hint()
369 _load_music(PyObject *obj, char *namehint) { in _load_music() argument
387 if (namehint) { in _load_music()
388 ext = namehint; in _load_music()
410 char *namehint = NULL; in music_load() local
418 new_music = _load_music(obj, namehint); in music_load()
[all …]
/dports/devel/py-game_sdl2/pygame_sdl2-2.1.0-for-renpy-7.4.11/src/pygame_sdl2/
H A Dimage.pyx45 cdef process_namehint(namehint): argument
48 if not isinstance(namehint, bytes_):
49 namehint = namehint.encode("ascii", "replace")
51 if not namehint:
54 ext = os.path.splitext(namehint)[1]
56 ext = namehint
62 def load(fi, namehint=""): argument
71 namehint = "TGA"
75 if namehint == "":
80 namehint = process_namehint(namehint)
[all …]
/dports/devel/py-game/pygame-2.1.0/examples/
H A Dscrap_clipboard.py63 namehint = t.split("/")[1] variable
64 if namehint in ["bmp", "png", "jpg"]:
66 loaded_surf = pg.image.load(f, "." + namehint)
/dports/devel/py-game/pygame-2.1.0/buildconfig/pygame-stubs/
H A Dmusic.pyi9 def load(filename: Union[AnyPath, IO], namehint: Optional[str] = "") -> None: ...
22 def queue(filename: Union[AnyPath, IO], namehint: str = "", loops: int = 0) -> None: ...
H A Dimage.pyi21 def load(filename: Union[AnyPath, IO[Any]], namehint: str = "") -> Surface: ...
23 surface: Surface, filename: Union[AnyPath, IO[Any]], namehint: str = ""
/dports/devel/py-game/pygame-2.1.0/docs/reST/ref/
H A Dimage.rst71 | :sg:`load(fileobj, namehint="") -> Surface`
80 as the namehint argument.
107 | :sg:`save(Surface, fileobj, namehint="") -> None`
114 a namehint with a recognizable extension is passed in.
122 The ``namehint`` parameter was added to make it possible
247 | :sg:`load_extended(fileobj, namehint="") -> Surface`
266 | :sg:`save_extended(Surface, fileobj, namehint="") -> None`
271 uses the namehint argument to determine the format of the file being
272 saved. Saves to ``JPEG`` incase the namehint was not specified while
H A Dmusic.rst27 | :sg:`load(fileobj, namehint="") -> None`
33 If you are loading from a file object, the namehint parameter can be used to specify
36 .. versionchanged:: 2.0.2 Added optional ``namehint`` argument
225 | :sg:`queue(fileobj, namehint="", loops=0) -> None`
233 If you are loading from a file object, the namehint parameter can be used to specify
245 .. versionchanged:: 2.0.2 Added optional ``namehint`` argument
/dports/audio/alsa-lib/alsa-lib-1.2.2/src/conf/
H A Dalsa.conf56 defaults.namehint.showall off
58 defaults.namehint.basic on
60 defaults.namehint.extended off
188 name defaults.namehint.extended
240 name defaults.namehint.extended
320 name defaults.namehint.basic
/dports/devel/py-game/pygame-2.1.0/test/
H A Dmixer_music_test.py84 pygame.mixer.music.load(musf, namehint=f)
87 pygame.mixer.music.queue(musf, namehint=f)
161 pygame.mixer.music.queue(wav_file, namehint="")
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/arcam-av/
H A D50-arcam-av-ctl.conf12 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/jack/
H A D50-jack.conf14 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/mix/
H A D60-vdownmix.conf20 name defaults.namehint.basic
H A D60-upmix.conf22 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/oss/
H A D50-oss.conf12 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/pulse/
H A D50-pulseaudio.conf14 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/pph/
H A D10-speexrate.conf24 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/rate/
H A D10-samplerate.conf24 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/rate-lav/
H A D10-rate-lav.conf24 name defaults.namehint.basic
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/usb_stream/
H A D98-usb-stream.conf23 name defaults.namehint.basic
/dports/audio/alsa-lib/alsa-lib-1.2.2/src/control/
H A DMakefile.am3 libcontrol_la_SOURCES = cards.c tlv.c namehint.c hcontrol.c \
/dports/audio/alsa-plugins/alsa-plugins-1.2.2/a52/
H A D60-a52-encoder.conf34 name defaults.namehint.basic
/dports/audio/alsa-lib/alsa-lib-1.2.2/src/conf/pcm/
H A Dcenter_lfe.conf53 name defaults.namehint.basic
H A Drear.conf53 name defaults.namehint.basic
H A Dside.conf53 name defaults.namehint.basic
H A Dfront.conf53 name defaults.namehint.basic

12