| 1 |
pyglet.media |
| 2 |
============ |
| 3 |
|
| 4 |
.. rubric:: Submodules |
| 5 |
|
| 6 |
.. toctree:: |
| 7 |
:maxdepth: 1 |
| 8 |
|
| 9 |
media_synthesis |
| 10 |
|
| 11 |
.. rubric:: Details |
| 12 |
|
| 13 |
.. currentmodule:: pyglet.media |
| 14 |
|
| 15 |
.. automodule:: pyglet.media |
| 16 |
|
| 17 |
Classes |
| 18 |
------- |
| 19 |
|
| 20 |
.. autoclass:: pyglet.media.player.Player |
| 21 |
:members: loop |
| 22 |
|
| 23 |
.. rubric:: Methods |
| 24 |
|
| 25 |
.. automethod:: play |
| 26 |
.. automethod:: pause |
| 27 |
.. automethod:: queue |
| 28 |
.. automethod:: seek |
| 29 |
.. automethod:: seek_next_frame |
| 30 |
.. automethod:: get_texture |
| 31 |
.. automethod:: next_source |
| 32 |
.. automethod:: delete |
| 33 |
.. automethod:: update_texture |
| 34 |
|
| 35 |
.. rubric:: Events |
| 36 |
|
| 37 |
.. automethod:: on_eos |
| 38 |
.. automethod:: on_player_eos |
| 39 |
.. automethod:: on_player_next_source |
| 40 |
|
| 41 |
.. rubric:: Attributes |
| 42 |
|
| 43 |
.. autoattribute:: cone_inner_angle |
| 44 |
.. autoattribute:: cone_outer_angle |
| 45 |
.. autoattribute:: cone_orientation |
| 46 |
.. autoattribute:: cone_outer_gain |
| 47 |
.. autoattribute:: min_distance |
| 48 |
.. autoattribute:: max_distance |
| 49 |
.. autoattribute:: pitch |
| 50 |
.. autoattribute:: playing |
| 51 |
.. autoattribute:: position |
| 52 |
.. autoattribute:: source |
| 53 |
.. autoattribute:: texture |
| 54 |
.. autoattribute:: time |
| 55 |
.. autoattribute:: volume |
| 56 |
|
| 57 |
.. autoclass:: pyglet.media.player.PlayerGroup |
| 58 |
|
| 59 |
.. automethod:: play |
| 60 |
.. automethod:: pause |
| 61 |
|
| 62 |
.. autoclass:: pyglet.media.codecs.AudioFormat |
| 63 |
.. autoclass:: pyglet.media.codecs.VideoFormat |
| 64 |
.. autoclass:: pyglet.media.codecs.AudioData |
| 65 |
:members: |
| 66 |
|
| 67 |
.. autoclass:: pyglet.media.codecs.SourceInfo |
| 68 |
:members: |
| 69 |
|
| 70 |
.. autoclass:: Source |
| 71 |
:members: |
| 72 |
|
| 73 |
.. autoclass:: StreamingSource |
| 74 |
:members: |
| 75 |
:undoc-members: |
| 76 |
:show-inheritance: |
| 77 |
|
| 78 |
.. autoclass:: StaticSource |
| 79 |
:members: |
| 80 |
:undoc-members: |
| 81 |
:show-inheritance: |
| 82 |
|
| 83 |
.. autoclass:: pyglet.media.codecs.StaticMemorySource |
| 84 |
:members: |
| 85 |
:undoc-members: |
| 86 |
:show-inheritance: |
| 87 |
|
| 88 |
.. autoclass:: pyglet.media.drivers.listener.AbstractListener |
| 89 |
:members: |
| 90 |
:undoc-members: |
| 91 |
|
| 92 |
.. autoclass:: pyglet.media.drivers.base.MediaEvent |
| 93 |
:members: |
| 94 |
|
| 95 |
Functions |
| 96 |
--------- |
| 97 |
|
| 98 |
.. autofunction:: get_audio_driver |
| 99 |
.. autofunction:: load |
| 100 |
.. autofunction:: have_ffmpeg |
| 101 |
|
| 102 |
Exceptions |
| 103 |
---------- |
| 104 |
|
| 105 |
.. automodule:: pyglet.media.exceptions |
| 106 |
:members: |
| 107 |
:undoc-members: |