make mutable hash for file correction.
This commit is contained in:
+2
-2
@@ -209,10 +209,10 @@
|
|||||||
(cond ((eq? e #f) (void))
|
(cond ((eq? e #f) (void))
|
||||||
((is-event? e 'state)
|
((is-event? e 'state)
|
||||||
(let* ((data (evt-data e))
|
(let* ((data (evt-data e))
|
||||||
(h (car data)))
|
(h (hash-copy (car data))))
|
||||||
(correct-to-os-path h replace-base-paths)
|
(correct-to-os-path h replace-base-paths)
|
||||||
(set-audio-play-state! handle h)
|
(set-audio-play-state! handle h)
|
||||||
(cb-state* (cadr data) (car data))))
|
(cb-state* (cadr data) h)))
|
||||||
((is-event? e 'audio-done) (cb-eof*))
|
((is-event? e 'audio-done) (cb-eof*))
|
||||||
((is-event? e 'exception)
|
((is-event? e 'exception)
|
||||||
(err-sound "audio-player: exception event: ~a" e))
|
(err-sound "audio-player: exception event: ~a" e))
|
||||||
|
|||||||
Reference in New Issue
Block a user