File: audio.rst.txt

package info (click to toggle)
python-pyo 1.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 52,332 kB
  • sloc: python: 135,133; ansic: 127,822; javascript: 16,116; sh: 395; makefile: 388; cpp: 242
file content (105 lines) | stat: -rw-r--r-- 3,356 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Audio Setup
======================================

Set of functions to inspect the system's audio configuration.

.. note::

    These functions are available only if pyo is built with portaudio support.
 
.. currentmodule:: pyo

Functions in this category
------------------------------

- :py:func:`pa_get_version` :     Returns the version number, as an integer, of the current portaudio installation.
- :py:func:`pa_get_version_text` :     Returns the textual description of the current portaudio installation.
- :py:func:`pa_count_host_apis` :     Returns the number of host apis found by Portaudio.
- :py:func:`pa_list_host_apis` :     Prints a list of all host apis found by Portaudio.
- :py:func:`pa_get_default_host_api` :     Returns the index number of Portaudio’s default host api.
- :py:func:`pa_get_default_devices_from_host` :     Returns the default input and output devices for a given audio host.
- :py:func:`pa_count_devices` :     Returns the number of devices found by Portaudio.
- :py:func:`pa_list_devices` :     Prints a list of all devices found by Portaudio.
- :py:func:`pa_get_devices_infos` :     Returns informations about all devices found by Portaudio.
- :py:func:`pa_get_input_devices` :     Returns input devices (device names, device indexes) found by Portaudio.
- :py:func:`pa_get_output_devices` :     Returns output devices (device names, device indexes) found by Portaudio.
- :py:func:`pa_get_default_input` :     Returns the index number of Portaudio’s default input device.
- :py:func:`pa_get_default_output` :     Returns the index number of Portaudio’s default output device.
- :py:func:`pa_get_input_max_channels` :     Retrieve the maximum number of input channels for the specified device.
- :py:func:`pa_get_output_max_channels` :     Retrieve the maximum number of output channels for the specified device.

*pa_get_version*
---------------------------------

.. autofunction:: pa_get_version

*pa_get_version_text*
---------------------------------

.. autofunction:: pa_get_version_text

*pa_count_host_apis*
---------------------------------

.. autofunction:: pa_count_host_apis

*pa_list_host_apis*
---------------------------------

.. autofunction:: pa_list_host_apis

*pa_get_default_host_api*
---------------------------------

.. autofunction:: pa_get_default_host_api

*pa_get_default_devices_from_host*
-------------------------------------

.. autofunction:: pa_get_default_devices_from_host

*pa_count_devices*
---------------------------------

.. autofunction:: pa_count_devices

*pa_list_devices*
---------------------------------

.. autofunction:: pa_list_devices

*pa_get_devices_infos*
---------------------------------

.. autofunction:: pa_get_devices_infos

*pa_get_input_devices*
---------------------------------

.. autofunction:: pa_get_input_devices

*pa_get_output_devices*
---------------------------------

.. autofunction:: pa_get_output_devices

*pa_get_default_input*
---------------------------------

.. autofunction:: pa_get_default_input

*pa_get_default_output*
---------------------------------

.. autofunction:: pa_get_default_output

*pa_get_input_max_channels*
---------------------------------

.. autofunction:: pa_get_input_max_channels(x)

*pa_get_output_max_channels*
---------------------------------

.. autofunction:: pa_get_output_max_channels(x)