Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c8bd74dd
Commit
c8bd74dd
authored
Dec 27, 2012
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #16682: Replace "Python string" to "bytes object" in audioop documentation.
parent
12706f20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/audioop.rst
Doc/library/audioop.rst
+3
-3
No files found.
Doc/library/audioop.rst
View file @
c8bd74dd
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
The :mod:`audioop` module contains some useful operations on sound fragments.
The :mod:`audioop` module contains some useful operations on sound fragments.
It operates on sound fragments consisting of signed integer samples 8, 16 or 32
It operates on sound fragments consisting of signed integer samples 8, 16 or 32
bits wide, stored in
Python string
s. All scalar items are integers, unless
bits wide, stored in
bytes object
s. All scalar items are integers, unless
specified otherwise.
specified otherwise.
.. index::
.. index::
...
@@ -126,7 +126,7 @@ The module defines the following variables and functions:
...
@@ -126,7 +126,7 @@ The module defines the following variables and functions:
.. function:: lin2alaw(fragment, width)
.. function:: lin2alaw(fragment, width)
Convert samples in the audio fragment to a-LAW encoding and return this as a
Convert samples in the audio fragment to a-LAW encoding and return this as a
Python string
. a-LAW is an audio encoding format whereby you get a dynamic
bytes object
. a-LAW is an audio encoding format whereby you get a dynamic
range of about 13 bits using only 8 bit samples. It is used by the Sun audio
range of about 13 bits using only 8 bit samples. It is used by the Sun audio
hardware, among others.
hardware, among others.
...
@@ -151,7 +151,7 @@ The module defines the following variables and functions:
...
@@ -151,7 +151,7 @@ The module defines the following variables and functions:
.. function:: lin2ulaw(fragment, width)
.. function:: lin2ulaw(fragment, width)
Convert samples in the audio fragment to u-LAW encoding and return this as a
Convert samples in the audio fragment to u-LAW encoding and return this as a
Python string
. u-LAW is an audio encoding format whereby you get a dynamic
bytes object
. u-LAW is an audio encoding format whereby you get a dynamic
range of about 14 bits using only 8 bit samples. It is used by the Sun audio
range of about 14 bits using only 8 bit samples. It is used by the Sun audio
hardware, among others.
hardware, among others.
...
...
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