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
1e0b81e5
Commit
1e0b81e5
authored
Feb 06, 2003
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of macfs and FSSpecs.
parent
a26d51ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Lib/plat-mac/Audio_mac.py
Lib/plat-mac/Audio_mac.py
+3
-4
No files found.
Lib/plat-mac/Audio_mac.py
View file @
1e0b81e5
...
@@ -100,10 +100,9 @@ class Play_Audio_mac:
...
@@ -100,10 +100,9 @@ class Play_Audio_mac:
def
test
():
def
test
():
import
aifc
import
aifc
import
macfs
import
EasyDialogs
fss
,
ok
=
macfs
.
PromptGetFile
(
"Select an AIFF soundfile"
,
"AIFF"
)
fn
=
EasyDialogs
.
AskFileForOpen
(
message
=
"Select an AIFF soundfile"
,
typeList
=
(
"AIFF"
,))
if
not
ok
:
return
if
not
fn
:
return
fn
=
fss
.
as_pathname
()
af
=
aifc
.
open
(
fn
,
'r'
)
af
=
aifc
.
open
(
fn
,
'r'
)
print
af
.
getparams
()
print
af
.
getparams
()
p
=
Play_Audio_mac
()
p
=
Play_Audio_mac
()
...
...
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