Skip to content

Commit

Permalink
omaudiolip.lisp update [for 32bit]
Browse files Browse the repository at this point in the history
  • Loading branch information
karimhaddad committed Mar 14, 2022
1 parent 1f629c6 commit 25bbb05
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

(in-package :juce)


(cffi:defcfun ("versionString" versionString) :string)

;;;==============================================
;; PLAYER
;;;==============================================
Expand Down Expand Up @@ -114,8 +117,8 @@
(cffi:defcfun ("startAudioSource" startAudioSource) :void (player :pointer) (source :pointer))
(cffi:defcfun ("pauseAudioSource" pauseAudioSource) :void (player :pointer) (source :pointer))
(cffi:defcfun ("stopAudioSource" stopAudioSource) :void (player :pointer) (source :pointer))
(cffi:defcfun ("setAudioSourcePos" setAudioSourcePos) :void (source :pointer) (pos :long))
(cffi:defcfun ("getAudioSourcePos" getAudioSourcePos) :long (source :pointer))
(cffi:defcfun ("setAudioSourcePos" setAudioSourcePos) :void (source :pointer) (pos :long-long))
(cffi:defcfun ("getAudioSourcePos" getAudioSourcePos) :long-long (source :pointer))
(cffi:defcfun ("getAudioSourceGain" getAudioSourceGain) :float (source :pointer))
(cffi:defcfun ("setAudioSourceGain" setAudioSourceGain) :void (source :pointer) (gain :float))

Expand All @@ -127,7 +130,7 @@
(cffi:defcfun ("freeAudioFileReader" freeAudioFileReader) :void (handler :pointer))

(cffi:defcfun ("getAudioFileNumChannels" getAudioFileNumChannels) :int (handler :pointer))
(cffi:defcfun ("getAudioFileNumSamples" getAudioFileNumSamples) :long (handler :pointer))
(cffi:defcfun ("getAudioFileNumSamples" getAudioFileNumSamples) :long-long (handler :pointer))
(cffi:defcfun ("getAudioFileSampleRate" getAudioFileSampleRate) :double (handler :pointer))
(cffi:defcfun ("getAudioFileSampleSize" getAudioFileSampleSize) :int (handler :pointer))
(cffi:defcfun ("getAudioFileFloatFormat" getAudioFileFloatFormat) :boolean (handler :pointer))
Expand Down

0 comments on commit 25bbb05

Please sign in to comment.