...
original commit: be3e7b521f5032b64e4325e30e79992bf8343aab
This commit is contained in:
parent
c071b7efa2
commit
e437f0c414
|
@ -5448,15 +5448,20 @@
|
|||
"play ~s"]
|
||||
[(regexp-match (make-pattern "solaris") subpath)
|
||||
"audioplay ~s"]
|
||||
[(regexp-match (make-pattern "ppc-macosx") subpath)
|
||||
'use-play-sound]
|
||||
[else
|
||||
(raise-mismatch-error
|
||||
'play-sound
|
||||
"Don't know how to play sounds on architecture"
|
||||
subpath)]))])
|
||||
; 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)))))))
|
||||
(if (eq? (unbox b) 'use-play-sound)
|
||||
(wx:play-sound f async?)
|
||||
(begin
|
||||
; 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)
|
||||
(let ([xb (box 0)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user