...
original commit: be3e7b521f5032b64e4325e30e79992bf8343aab
This commit is contained in:
parent
c071b7efa2
commit
e437f0c414
|
@ -5448,15 +5448,20 @@
|
||||||
"play ~s"]
|
"play ~s"]
|
||||||
[(regexp-match (make-pattern "solaris") subpath)
|
[(regexp-match (make-pattern "solaris") subpath)
|
||||||
"audioplay ~s"]
|
"audioplay ~s"]
|
||||||
|
[(regexp-match (make-pattern "ppc-macosx") subpath)
|
||||||
|
'use-play-sound]
|
||||||
[else
|
[else
|
||||||
(raise-mismatch-error
|
(raise-mismatch-error
|
||||||
'play-sound
|
'play-sound
|
||||||
"Don't know how to play sounds on architecture"
|
"Don't know how to play sounds on architecture"
|
||||||
subpath)]))])
|
subpath)]))])
|
||||||
; see if user has overridden defaults
|
(if (eq? (unbox b) 'use-play-sound)
|
||||||
(wx:get-resource "mred" "playcmd" b)
|
(wx:play-sound f async?)
|
||||||
((if async? (lambda (x) (process x) #t) system)
|
(begin
|
||||||
(format (unbox b) (expand-path f)))))))
|
; see if user has overridden defaults
|
||||||
|
(wx:get-resource "mred" "playcmd" b)
|
||||||
|
((if async? (lambda (x) (process x) #t) system)
|
||||||
|
(format (unbox b) (expand-path f)))))))))
|
||||||
|
|
||||||
(define (get-display-size)
|
(define (get-display-size)
|
||||||
(let ([xb (box 0)]
|
(let ([xb (box 0)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user