cl mpg123
1.0.0Bindings to libmpg123, providing cross-platform, fast MPG1/2/3 decoding.
Table of Contents
About cl-mpg123
This is a bindings and wrapper library to libmpg123 allowing for convenient, extensive, and fast decoding of MPEG1/2/3 (most prominently mp3) files.
How To
Precompiled versions of the underlying library are included in this. If you want to build it manually however, refer to the mpg123 page.
Load the system through ASDF or Quicklisp:
(ql:quickload :cl-mpg123)
Create a new file
object:
(defvar *file* (cl-mpg123:make-file #p"~/my-cool-music.mp3"))
This will initialise a file and set the requested parameters. As it is now, we've left everything up to defaults. If you need more tailored control as to how the file will be treated, see the file
class documentation. Next we will want to actually open up the underlying file so that we can look into it.
(cl-mpg123:connect *file*)
Processing the actual sound data, is just a matter of calling process
and passing the buffer
to something that can do something useful with the raw audio data. However, unless you specifically chose the audio data format yourself, you'll first want to query that:
(cl-mpg123:file-format *file*)
This will give you the rate, channels, and encoding of the file so that you can configure your audio processing library accordingly. Next we can process the data in a loop:
(loop with buffer = (cl-mpg123:buffer *file*)
for bytes = (cl-mpg123:process *file*)
until (= 0 bytes)
do (process-buffer-somehow buffer bytes))
This library is also capable of extracting ID3 tags from the file. A quick summary of information found in a file can be displayed with describe
:
(describe *file*)
Direct access to the metadata object is possible with metadata
. This object will then allow you to retrieve the values of various tags through field
and field-text
:
(cl-mpg123:field-text :album (metadata *file*))
For the list of possible field names, see *id3v2-type-map
. For a listing of all recognised tags, simply use fields
on the metadata
object. If possible, picture tags are also extracted and converted. You can get your hands on those through the pictures
reader. Returned are a list of picture
objects that will encapsulate the data.
Should you wish to change parameters for the decoding or the file itself, you can do so via reinitialize-instance
. Just be aware that doing so will close the handle and is thus not recommended during processing.
Also included in libmpg123
are volume changing and a full 32 band equalizer. The volume can be accessed by, naturally, volume
, and the equalizer by equalizer
.
(setf (cl-mpg123:volume *file*) 0.5)
(cl-mpg123:volume *file*)
You can also seek around in the file if necessary. Doing so is done by the single seek
function which allows you to seek by samples, frames, or track seconds, either relatively, absolutely, or from the end of the file.
(cl-mpg123:seek *file* 1 :by :second)
Once you know you are done with the file, you can disconnect
it to release the underlying file descriptor. Once the file is GCed, its handler and buffer will automatically be freed so that there's no worry about permanent memory leaks.
(cl-mpg123:disconnect *file*)
And that's about it. See the individual functions for more information on what exactly you can get or change. If you want to look at a full example that actually plays something, see the cl-mpg123-example
system, which shows how to use it in combination with cl-out123
using either the low-level binding interface, or the high-level wrapper interface shown here.
Also See
- cl-out123 For simple audio output.
System Information
Definition Index
-
CL-MPG123-CFFI
- ORG.SHIRAKUMO.FRAF.MPG123.CFFI
No documentation provided.-
EXTERNAL CONSTANT ICY
No documentation provided. -
EXTERNAL CONSTANT ID3
No documentation provided. -
EXTERNAL CONSTANT NEW-ICY
No documentation provided. -
EXTERNAL CONSTANT NEW-ID3
No documentation provided. -
EXTERNAL SPECIAL-VARIABLE *STATIC*
No documentation provided. -
EXTERNAL CLASS FMT
No documentation provided. -
EXTERNAL CLASS FRAMEINFO
No documentation provided. -
EXTERNAL CLASS HANDLE
No documentation provided. -
EXTERNAL CLASS ID3V1
No documentation provided. -
EXTERNAL CLASS ID3V2
No documentation provided. -
EXTERNAL CLASS MSTRING
No documentation provided. -
EXTERNAL CLASS PARS
No documentation provided. -
EXTERNAL CLASS PICTURE
No documentation provided. -
EXTERNAL CLASS TEXT
No documentation provided. -
EXTERNAL FUNCTION ADD-STRING
- MSTRING
- STUFF
- &REST
No documentation provided. -
EXTERNAL FUNCTION ADD-SUBSTRING
- MSTRING
- STUFF
- FROM
- COUNT
- &REST
No documentation provided. -
EXTERNAL FUNCTION CHOMP-STRING
- MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION CLIP
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION CLOSE
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION COPY-STRING
- FROM
- TO
- &REST
No documentation provided. -
EXTERNAL FUNCTION CURRENT-DECODER
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION DECODE
- HANDLE
- INMEMORY
- INMEMSIZE
- OUTMEMORY
- OUTMEMSIZE
- DONE
- &REST
No documentation provided. -
EXTERNAL FUNCTION DECODE-FRAME
- HANDLE
- NUM
- AUDIO
- BYTES
- &REST
No documentation provided. -
EXTERNAL FUNCTION DECODER
- HANDLE
- NAME
- &REST
No documentation provided. -
EXTERNAL FUNCTION DECODERS
No documentation provided. -
EXTERNAL FUNCTION DELETE
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION DELETE-PARS
- PARS
- &REST
No documentation provided. -
EXTERNAL FUNCTION ENC-FROM-ID3
- ID3-ENC-BYTE
- &REST
No documentation provided. -
EXTERNAL FUNCTION ENCODINGS
- LIST
- NUMBER
- &REST
No documentation provided. -
EXTERNAL FUNCTION ENCSIZE
- ENCODING
- &REST
No documentation provided. -
EXTERNAL FUNCTION EQ
- HANDLE
- CHANNEL
- BAND
- VAL
- &REST
No documentation provided. -
EXTERNAL FUNCTION ERRCODE
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION EXIT
No documentation provided. -
EXTERNAL FUNCTION FEATURE
- KEY
- &REST
No documentation provided. -
EXTERNAL FUNCTION FEED
- HANDLE
- IN
- SIZE
- &REST
No documentation provided. -
EXTERNAL FUNCTION FEEDSEEK
- HANDLE
- SAMPLEOFF
- WHENCE
- INPUT-OFFSET
- &REST
No documentation provided. -
EXTERNAL FUNCTION FMT
- PARS
- RATE
- CHANNELS
- ENCODINGS
- &REST
No documentation provided. -
EXTERNAL FUNCTION FMT-ALL
- PARS
- &REST
No documentation provided. -
EXTERNAL FUNCTION FMT-CHANNELS
- POINTER-TO-FMT
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FMT-CHANNELS)
- VALUE
- POINTER-TO-FMT
- &REST
No documentation provided. -
EXTERNAL FUNCTION FMT-ENCODING
- POINTER-TO-FMT
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FMT-ENCODING)
- VALUE
- POINTER-TO-FMT
- &REST
No documentation provided. -
EXTERNAL FUNCTION FMT-NONE
- PARS
- &REST
No documentation provided. -
EXTERNAL FUNCTION FMT-RATE
- POINTER-TO-FMT
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FMT-RATE)
- VALUE
- POINTER-TO-FMT
- &REST
No documentation provided. -
EXTERNAL FUNCTION FMT-SUPPORT
- PARS
- RATE
- ENCODING
- &REST
No documentation provided. -
EXTERNAL FUNCTION FORMAT
- HANDLE
- RATE
- CHANNELS
- ENCODINGS
- &REST
No documentation provided. -
EXTERNAL FUNCTION FORMAT-ALL
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION FORMAT-NONE
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION FORMAT-SUPPORT
- HANDLE
- RATE
- ENCODING
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEBYFRAME-DECODE
- HANDLE
- NUM
- AUDIO
- BYTES
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEBYFRAME-NEXT
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEDATA
- HANDLE
- HEADER
- BODYDATA
- BODYBYTES
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-ABR-RATE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-ABR-RATE)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-BITRATE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-BITRATE)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-EMPHASIS
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-EMPHASIS)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-FLAGS
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-FLAGS)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-FRAMESIZE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-FRAMESIZE)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-LAYER
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-LAYER)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-MODE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-MODE)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-MODE-EXT
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-MODE-EXT)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-RATE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-RATE)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-VBR
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-VBR)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEINFO-VERSION
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF FRAMEINFO-VERSION)
- VALUE
- POINTER-TO-FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMELENGTH
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION FRAMEPOS
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION FREE-STRING
- MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION GETEQ
- HANDLE
- CHANNEL
- BAND
- &REST
No documentation provided. -
EXTERNAL FUNCTION GETFORMAT
- HANDLE
- RATE
- CHANNELS
- ENCODING
- &REST
No documentation provided. -
EXTERNAL FUNCTION GETPAR
- PARS
- TYPE
- VALUE
- FVALUE
- &REST
No documentation provided. -
EXTERNAL FUNCTION GETPARAM
- HANDLE
- TYPE
- VALUE
- FVALUE
- &REST
No documentation provided. -
EXTERNAL FUNCTION GETSTATE
- HANDLE
- KEY
- VAL
- FVAL
- &REST
No documentation provided. -
EXTERNAL FUNCTION GETVOLUME
- HANDLE
- BASE
- REALLY
- RVA-DB
- &REST
No documentation provided. -
EXTERNAL FUNCTION GROW-STRING
- MSTRING
- NEWS
- &REST
No documentation provided. -
EXTERNAL FUNCTION ICY
- HANDLE
- ICY-META
- &REST
No documentation provided. -
EXTERNAL FUNCTION ICY2UTF8
- ICY_TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3
- HANDLE
- V1
- V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V1-ALBUM
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V1-ALBUM)
- VALUE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V1-ARTIST
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V1-ARTIST)
- VALUE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V1-COMMENT
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V1-COMMENT)
- VALUE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V1-GENRE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V1-GENRE)
- VALUE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V1-TAG
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V1-TAG)
- VALUE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V1-TITLE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V1-TITLE)
- VALUE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V1-YEAR
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V1-YEAR)
- VALUE
- POINTER-TO-ID3V1
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-ALBUM
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-ALBUM)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-ARTIST
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-ARTIST)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-COMMENT
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-COMMENT)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-COMMENT-LIST
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-COMMENT-LIST)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-COMMENTS
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-COMMENTS)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-EXTRA
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-EXTRA)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-EXTRAS
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-EXTRAS)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-GENRE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-GENRE)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-PICTURE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-PICTURE)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-PICTURES
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-PICTURES)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-TEXT
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-TEXT)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-TEXTS
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-TEXTS)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-TITLE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-TITLE)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-VERSION
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-VERSION)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION ID3V2-YEAR
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF ID3V2-YEAR)
- VALUE
- POINTER-TO-ID3V2
- &REST
No documentation provided. -
EXTERNAL FUNCTION INDEX
- HANDLE
- OFFSETS
- STEP
- FILL
- &REST
No documentation provided. -
EXTERNAL FUNCTION INFO
- HANDLE
- FRAMEINFO
- &REST
No documentation provided. -
EXTERNAL FUNCTION INIT
No documentation provided. -
EXTERNAL FUNCTION INIT-STRING
- MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION LENGTH
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION META-CHECK
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION META-FREE
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION MSTRING-FILL
- POINTER-TO-MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF MSTRING-FILL)
- VALUE
- POINTER-TO-MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION MSTRING-P
- POINTER-TO-MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF MSTRING-P)
- VALUE
- POINTER-TO-MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION MSTRING-SIZE
- POINTER-TO-MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF MSTRING-SIZE)
- VALUE
- POINTER-TO-MSTRING
- &REST
No documentation provided. -
EXTERNAL FUNCTION NEW
- DECODER
- ERROR
- &REST
No documentation provided. -
EXTERNAL FUNCTION NEW-PARS
- ERROR
- &REST
No documentation provided. -
EXTERNAL FUNCTION OPEN
- HANDLE
- PATH
- &REST
No documentation provided. -
EXTERNAL FUNCTION OPEN-FD
- HANDLE
- FD
- &REST
No documentation provided. -
EXTERNAL FUNCTION OPEN-FEED
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION OPEN-HANDLE
- HANDLE
- IOHANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION OUTBLOCK
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PAR
- PARS
- TYPE
- VALUE
- FVALUE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PARAM
- HANDLE
- TYPE
- VALUE
- FVALUE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PARNEW
- PARS
- DECODER
- ERROR
- &REST
No documentation provided. -
EXTERNAL FUNCTION PICTURE-DATA
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF PICTURE-DATA)
- VALUE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PICTURE-DESCRIPTION
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF PICTURE-DESCRIPTION)
- VALUE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PICTURE-MIME-TYPE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF PICTURE-MIME-TYPE)
- VALUE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PICTURE-SIZE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF PICTURE-SIZE)
- VALUE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PICTURE-TYPE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF PICTURE-TYPE)
- VALUE
- POINTER-TO-PICTURE
- &REST
No documentation provided. -
EXTERNAL FUNCTION PLAIN-STRERROR
- ERRCODE
- &REST
No documentation provided. -
EXTERNAL FUNCTION POSITION
- HANDLE
- FRAME-OFFSET
- BUFFERED-BYTES
- CURRENT-FRAME
- FRAMES-LEFT
- CURRENT-SECONDS
- SECONDS-LEFT
- &REST
No documentation provided. -
EXTERNAL FUNCTION RATES
- LIST
- NUMBER
- &REST
No documentation provided. -
EXTERNAL FUNCTION READ
- HANDLE
- OUTMEMORY
- OUTMEMSIZE
- DONE
- &REST
No documentation provided. -
EXTERNAL FUNCTION REPLACE-BUFFER
- HANDLE
- DATA
- SIZE
- &REST
No documentation provided. -
EXTERNAL FUNCTION REPLACE-READER
- HANDLE
- R_READ
- R_LSEEK
- &REST
No documentation provided. -
EXTERNAL FUNCTION REPLACE-READER-HANDLE
- HANDLE
- R_READ
- R_LSEEK
- CLEANUP
- &REST
No documentation provided. -
EXTERNAL FUNCTION RESET-EQ
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION RESIZE-STRING
- MSTRING
- NEWS
- &REST
No documentation provided. -
EXTERNAL FUNCTION SAFE-BUFFER
No documentation provided. -
EXTERNAL FUNCTION SAMPLESIZE
- ENC
- &REST
No documentation provided. -
EXTERNAL FUNCTION SCAN
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION SEEK
- HANDLE
- SAMPLEOFF
- WHENCE
- &REST
No documentation provided. -
EXTERNAL FUNCTION SEEK-FRAME
- HANDLE
- FRAMEOFF
- WHENCE
- &REST
No documentation provided. -
EXTERNAL FUNCTION SET-FILESIZE
- HANDLE
- SIZE
- &REST
No documentation provided. -
EXTERNAL FUNCTION SET-INDEX
- HANDLE
- OFFSETS
- STEP
- FILL
- &REST
No documentation provided. -
EXTERNAL FUNCTION SET-STRING
- MSTRING
- STUFF
- &REST
No documentation provided. -
EXTERNAL FUNCTION SET-SUBSTRING
- MSTRING
- STUFF
- FROM
- COUNT
- &REST
No documentation provided. -
EXTERNAL FUNCTION SPF
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION STORE-UTF8
- MSTRING
- ENC
- SOURCE
- SOURCE-SIZE
- &REST
No documentation provided. -
EXTERNAL FUNCTION STRERROR
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION STRLEN
- MSTRING
- UTF8
- &REST
No documentation provided. -
EXTERNAL FUNCTION SUPPORTED-DECODERS
No documentation provided. -
EXTERNAL FUNCTION TELL
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION TELL-STREAM
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION TELLFRAME
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION TEXT-DESCRIPTION
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF TEXT-DESCRIPTION)
- VALUE
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION TEXT-ID
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF TEXT-ID)
- VALUE
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION TEXT-LANG
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF TEXT-LANG)
- VALUE
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION TEXT-TEXT
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION (SETF TEXT-TEXT)
- VALUE
- POINTER-TO-TEXT
- &REST
No documentation provided. -
EXTERNAL FUNCTION TIMEFRAME
- HANDLE
- SEC
- &REST
No documentation provided. -
EXTERNAL FUNCTION TPF
- HANDLE
- &REST
No documentation provided. -
EXTERNAL FUNCTION VOLUME
- HANDLE
- VOL
- &REST
No documentation provided. -
EXTERNAL FUNCTION VOLUME-CHANGE
- HANDLE
- CHANGE
- &REST
No documentation provided.
-
CL-MPG123
- ORG.SHIRAKUMO.FRAF.MPG123
No documentation provided.-
EXTERNAL SPECIAL-VARIABLE *ID3V1-GENRE-LIST*
A list of genres that the ID3V1 genre index references. Includes WinAmp extensions. See https://de.wikipedia.org/wiki/Liste_der_ID3v1-Genres
-
EXTERNAL SPECIAL-VARIABLE *ID3V2-TYPE-MAP*
A map of id3v2 frame type name to human-readable names. See http://id3.org/d3v2.3.0
-
EXTERNAL CLASS FILE
Container class for a file. Manages all the decoding information so that it is easily accessible. Also takes care of managing the underlying C values so that you don't have to worry about garbage collection or buffer allocation and so forth. It also takes care of setting up the desired decoding parameters and flags. The slots of the file are not settable, however you can reconfigure the file at any point using REINITIALIZE-INSTANCE. Note that this will have to DISCONNECT the file and delete its handle first. It will reCONNECT if it was previously connected, but you cannot do this if you are in the middle of processing data or need to otherwise preserve state. You can find more information about most of the properties that can be set via initargs in the mpg123.h mpg123_params and mpg123_param_flags enums. See https://www.mpg123.de/api/group__mpg123__init.shtml#ga73a8ff3363028b89afc72b3ea032b9cb See HANDLE See CONNECTED See SCANNED See BUFFER See RATE See CHANNELS See ENCODING See PATH See DECODER See ACCEPTED-FORMAT See BUFFER-SIZE See FORCE-RATE See DOWN-SAMPLE See RVA See DOWNSPEED See UPSPEED See START-FRAME See DECODE-FRAMES See OUTSCALE See INDEX-SIZE See PREFRAMES See FORCE-CHANNELS See FORCE-8BIT See GAPLESS See FUZZY-SEEK See FORCE-FLOAT See SKIP-ID3V2 See IGNORE-INFOFRAME See AUTO-RESAMPLE See PICTURES See CONNECT See DISCONNECT See READ-DIRECTLY See PROCESS See PROCESS-TO-VECTOR See PROCESS-INTO-VECTOR See DECODE See DECODE-FRAME See SAMPLE-POSITION See FRAME-POSITION See STREAM-POSITION See SEEK See TIME-FRAME-INDEX See EQUALIZER See RESET-EQUALIZER See VOLUME See INFO See FILE-FORMAT See SCAN See FRAME-COUNT See SAMPLE-COUNT See FRAME-SECONDS See FRAME-SAMPLES See TRACK-LENGTH See METADATA
-
EXTERNAL CLASS METADATA
Class container for ID3 metadata. When re/initialising this, you should pass the ID3V1/2 struct pointers as the respective initargs. Note that ID3V1 and ID3V2 values will coexist, but ID3V2 values should always come before ID3V1 values in the resulting fields list. Also note that duplicate (by EQUAL) entries are not stored. Note that when the metadata is reinitialised, all fields and pictures are cleared out first, before potentially being repopulated by the passed args. Note that ID3V1 text values are by default parsed by UTF-8 first and by ISO-8859-1 if that fails. See DIRECT-STR. You can override the UTF-8 default by specifying the :ID3V1-ENCODING initarg. See METADATA See VERSION See FIELDS See PICTURES See FIELD See FIELD-TEXT
-
EXTERNAL CLASS PICTURE
Container class for a picture encapsulated in an ID3 tag. The data is copied over to a lisp (unsigned-byte 8) vector, so the picture data will stay fresh even if the source file or id3 data is freed. See KIND See DESCRIPTION See MIME-TYPE See DATA
-
EXTERNAL CONDITION CONNECTION-FAILED
Condition signalled when connecting to/opening the underlying file fails. See CONNECT See MPG-FILE-STRING-ERROR See PATH
-
EXTERNAL CONDITION DECODE-FAILED
No documentation provided. -
EXTERNAL CONDITION DECODER-SET-FAILED
Condition signalled when changing the decoder of a file fails. See VALUE See (SETF DECODER) See MPG-FILE-STRING-ERROR
-
EXTERNAL CONDITION DISCONNECTION-FAILED
Condition signalled when disconnecting from/closing the underlying file fails. See DISCONNECT See MPG-FILE-STRING-ERROR
-
EXTERNAL CONDITION EQUALIZER-RESET-FAILED
Condition signalled when resetting the equalizer failed. See MPG-FILE-STRING_ERROR See RESET-EQUALIZER
-
EXTERNAL CONDITION EQUALIZER-SET-FAILED
Condition signalled when setting an equalizer band value failed. See BAND See CHANNEL See MPG-FILE-STRING-ERROR See (SETF EQUALIZER)
-
EXTERNAL CONDITION ERROR-STRING-ERROR
Condition superclass for all errors that include an error string from the underlying library. See MPG-ERROR See ERROR-CODE See ERROR-STRING
-
EXTERNAL CONDITION FRAME-DECODE-FAILED
Condition signalled when mpg123 fails to decode a frame. See MPG-FILE-STRING-ERROR See DECODE-FRAME
-
EXTERNAL CONDITION GENERIC-ERROR
A generic error class to be used in situations where no more specific class applies. See FORM See ERROR-STRING-ERROR
-
EXTERNAL CONDITION HANDLER-CREATION-FAILED
Condition signalled when creating a new mpg handler object fails. See MPG-FILE-STRING-ERROR
-
EXTERNAL CONDITION ID3-QUERY-FAILED
Condition signalled when retrieving the ID3 metadata failed. See MPG-FILE-STRING-ERROR See METADATA
-
EXTERNAL CONDITION INIT-FAILED
Condition signalled in the case that the initialisation of the library fails. See INIT See ERROR-STRING-ERROR
-
EXTERNAL CONDITION MPG-ERROR
Condition superclass for all errors related to this library.
-
EXTERNAL CONDITION MPG-FILE-ERROR
-
EXTERNAL CONDITION MPG-FILE-STRING-ERROR
Combination of MPG-FILE-ERROR and ERROR-STRING-ERROR. See MPG-FILE-ERROR See ERROR-STRING-ERROR
-
EXTERNAL CONDITION NOT-CONNECTED
Condition signalled when an attempt is made to use a function that requires the file object to be connected, but it isn't. See MPG-FILE-ERROR
-
EXTERNAL CONDITION QUERY-FAILED
Generic condition signalled when the querying for a value failed. See QUERY See MPG-FILE-ERROR See GENERIC-ERROR
-
EXTERNAL CONDITION READ-FAILED
Condition signalled when mpg123 fails to read into a buffer. See BUFFER See BUFFER-SIZE See MPG-FILE-STRING-ERROR See DIRECT-READ
-
EXTERNAL CONDITION SCAN-FAILED
Condition signalled when scanning the file for metadata failed. See MPG-FILE-STRING-ERROR See SCAN
-
EXTERNAL CONDITION SEEK-FAILED
Condition signalled when a seek to a different position in the file failed. See BY See MODE See SEEK-POSITION See MPG-FILE-ERROR See SEEK
-
EXTERNAL CONDITION UNKNOWN-ID3V2-FRAME-TYPE
-
EXTERNAL CONDITION VOLUME-QUERY-FAILED
Condition signalled when querying for the current volume failed. See MPG-FILE-STRING-ERROR See VOLUME
-
EXTERNAL CONDITION VOLUME-SET-FAILED
Condition signalled when setting the current volume failed. See MPG-FILE-STRING-ERROR See (SETF VOLUME) See RELATIVE See VALUE
-
EXTERNAL FUNCTION CONNECT
- FILE
- &KEY
- PATH
- &REST
Connects the file to the underlying file on the filesystem. This will trigger parsing of several pieces of information within the file and open the path to querying the file for properties. Naturally it will also allow actually decoding the file. See FILE See CONNECTED See CONNECTION-FAILED
-
EXTERNAL FUNCTION DECODE
- FILE
- INPUT
- OUTPUT
- &REST
Decodes data from the given input vector to the given output vector. Returns the number of bytes decoded. See DECODE-DIRECTLY
-
EXTERNAL FUNCTION DECODE-FRAME
- FILE
- &REST
Decodes the next frame into the library's internal buffer. This does not store it into the file buffer! BUFFER will not have changed! See FILE See FRAME-DECODE-FAILED
-
EXTERNAL FUNCTION (SETF DECODER)
- DECODER
- FILE
- &REST
No documentation provided. -
EXTERNAL FUNCTION DECODERS
Returns a list of all decoder backends the library knows about. See SUPPORTED-DECODERS
-
EXTERNAL FUNCTION DISCONNECT
- FILE
- &REST
Disconnects the file from the underlying file on the filesystem. This will free up the file descriptor. And prevent you from decoding any more data until the file is connected again. See FILE See CONNECTED See DISCONNECTION-FAILED
-
EXTERNAL FUNCTION EQUALIZER
- FILE
- CHANNEL
- BAND
- &REST
Accesses the equalizer value for the given channel and band. Channel must be within [0,31]. This is SETFable. See EQUALIZER-QUERY-FAILED See EQUALIZER-SET-FAILED See FILE
-
EXTERNAL FUNCTION (SETF EQUALIZER)
- VALUE
- FILE
- CHANNEL
- BAND
- &REST
No documentation provided. -
EXTERNAL FUNCTION EXIT
Cleans up the underlying library if not already done so.
-
EXTERNAL FUNCTION FIELD
- NAME
- METADATA
- &REST
Gathers all fields matching the requested type into a list. The field type is excluded, so each match is a list of three values: language, description, and text. On an unknown ID3V2 frame type name, an error is signalled. See METADATA See FIELDS See ID3V2-TYPE
-
EXTERNAL FUNCTION FIELD-TEXT
- NAME
- METADATA
- &REST
Returns all text values of the matching fields as multiple values. This is mostly for convenience when you only care about one or more text values of a field. See FIELD
-
EXTERNAL FUNCTION FILE-FORMAT
- FILE
- &REST
-
EXTERNAL FUNCTION FRAME-COUNT
- FILE
- &REST
-
EXTERNAL FUNCTION FRAME-POSITION
- FILE
- &REST
Returns the current position as a frame index. See FILE
-
EXTERNAL FUNCTION FRAME-SAMPLES
- FILE
- &REST
-
EXTERNAL FUNCTION FRAME-SECONDS
- FILE
- &REST
-
EXTERNAL FUNCTION ID3V1-GENRE
- NUM
- &REST
Returns the name of the corresponding genre of the integer as defined by id3v1.
-
EXTERNAL FUNCTION ID3V2-GENRE
- GENRE
- &REST
Parses the ID3V2 genre string into a list of genres. More specifically, it handles ID3V1 references, of which there can be multiple.
-
EXTERNAL FUNCTION ID3V2-TYPE
- NAME
- &REST
Returns the id3v2 frame type keyword for the passed equivalent human-readable name.
-
EXTERNAL FUNCTION INFO
- FILE
- &REST
Returns various information about the current frame. Returned is a plist with the following fields: :VERSION The MPEG version, 1.0/2.0/2.5 :LAYER The MPEG layer, 1/2/3 :RATE The sample rate in Hertz :MODE The channel mode :MODE-EXT The mode extension bit flag :FLAGS A list of frame flags :EMPHASIS The emphasis type :BITRATE The bitrate in kbps :ABR-RATE The target average bitrate :VBR The VBR mode See FILE
-
EXTERNAL FUNCTION INIT
Prepares the underlying library if not already done so.
-
EXTERNAL FUNCTION MAKE-FILE
- PATH
- &REST
- ARGS
- &KEY
- &ALLOW-OTHER-KEYS
- &REST
Create a new file object pointing to the given path. See FILE
-
EXTERNAL FUNCTION METADATA
- FILE
- &OPTIONAL
- ID3V1-ENCODING
- &REST
-
EXTERNAL FUNCTION PROCESS
- FILE
- &REST
Decodes data from the file into the internal buffer. Note that this will fail grossly if the file's buffer-size / buffer is NIL. Returns the number of bytes read. See BUFFER for the pointer to the C buffer where the actual data is stored. See READ-DIRECTLY See BUFFER See BUFFER-SIZE
-
EXTERNAL FUNCTION PROCESS-INTO-VECTOR
- FILE
- VECTOR
- &OPTIONAL
- OFFSET
- &REST
Decodes data from the file into the given octet-vector. Returns the number of bytes read. At most (min (length vector) (buffer-size file)) bytes are read. See PROCESS
-
EXTERNAL FUNCTION PROCESS-TO-VECTOR
- FILE
- &REST
Decodes data from the file into a new (unsigned-byte 8) vector. The returned vector will have the exact length fitting to the amount of data decoded. See PROCESS
-
EXTERNAL FUNCTION READ-DIRECTLY
- FILE
- BUFFER-POINTER
- BUFFER-SIZE
- &REST
Decodes data from the file and stores it in BUFFER, reading at most BUFFER-SIZE bytes. Returns the number of bytes that were stored in the buffer. See FILE See PROCESS See READ-FAILED
-
EXTERNAL FUNCTION RESET-EQUALIZER
- FILE
- &REST
Resets the equalizer to its initial values. Which is to say it disables it. See EQUALIZER-RESET-FAILED See FILE
-
EXTERNAL FUNCTION SAMPLE-COUNT
- FILE
- &REST
-
EXTERNAL FUNCTION SAMPLE-POSITION
- FILE
- &REST
Returns the current position as a sample index. See FILE
-
EXTERNAL FUNCTION SCAN
- FILE
- &REST
Scans the file for information. This is only done if a scan has not already been performed. See SCANNED See FILE See SCAN-FAILED
-
EXTERNAL FUNCTION SEEK
- FILE
- POSITION
- &KEY
- MODE
- BY
- &REST
Seek in the frame. MODE can be one of :ABSOLUTE :RELATIVE :FROM-END which decides whether the given position should be absolute, relative to the current position, or from the end, respectively. BY can be one of :SAMPLE :FRAME :SECOND which decides whether seeking should be by the sample, frame, or track seconds index. Returns the new position as sample, frame, or track seconds index respectively. See FILE See SEEK-FAILED
-
EXTERNAL FUNCTION STREAM-POSITION
- FILE
- &REST
Returns the current position in stream as a byte index. See FILE
-
EXTERNAL FUNCTION SUPPORTED-DECODERS
-
EXTERNAL FUNCTION SUPPORTED-ENCODINGS
Returns a list of all supported encoding types.
-
EXTERNAL FUNCTION SUPPORTED-RATES
No documentation provided. -
EXTERNAL FUNCTION TIME-FRAME-INDEX
- FILE
- SECONDS
- &REST
Returns the frame index of a given track seconds index. See FILE
-
EXTERNAL FUNCTION TRACK-LENGTH
- FILE
- &REST
Returns the length of the track in seconds. See FRAME-SECONDS See FRAME-COUNT
-
EXTERNAL FUNCTION TRACK-POSITION
- FILE
- &REST
Returns the current track seconds position. See FRAME-SECONDS See FRAME-POSITION
-
EXTERNAL FUNCTION VOLUME
- FILE
- &REST
Accesses the volume of the file. Returned are three values: the base volume, the actual volume including potential changes by RVA, and the RVA adjustment made. The volumes are linear factors, and the RVA adjustment is in decibel. This is SETFable. On SETF, an additional keyword argument :relative is supported, which says whether to adjust volume relatively to the current value, or absolutely. See VOLUME-QUERY-FAILED See VOLUME-SET-FAILED See FILE
-
EXTERNAL FUNCTION (SETF VOLUME)
- VOLUME
- FILE
- &KEY
- RELATIVE
- &REST
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ACCEPTED-FORMAT
- OBJECT
- &REST
Returns the accepted format for the decoder. This can be NIL for none, T for all, or a list of three values: (RATE CHANNELS ENCODINGS) where RATE is the accepted rate in Hertz, CHANNELS is one of :left :right :left-right, and ENCODINGS is a list of allowed data encodings, each value being one of: :int8 :uint8 :int16 :uint16 :int24 :uint24 :int32 :uint32 :ulaw-8 :alaw-8 :float :double This can be set via the :accepted-format initarg. See FILE See CL-MPG123-CFFI:ENC
-
EXTERNAL GENERIC-FUNCTION AUTO-RESAMPLE
- OBJECT
- &REST
Returns whether to automatic internal resampling of any kind. This can be set via the :auto-resample initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION BAND
- CONDITION
- &REST
Returns the band that was attempted to be accessed.
-
EXTERNAL GENERIC-FUNCTION BUFFER
- CONDITION
- &REST
Returns a pointer to the C char buffer that is used to store decoded data. This might be NIL if the buffer-size is NIL. See FILE See BUFFER-SIZE
-
EXTERNAL GENERIC-FUNCTION (SETF BUFFER)
- NEW-VALUE
- OBJECT
- &REST
No documentation provided. -
EXTERNAL GENERIC-FUNCTION BUFFER-SIZE
- CONDITION
- &REST
-
EXTERNAL GENERIC-FUNCTION (SETF BUFFER-SIZE)
- NEW-VALUE
- OBJECT
- &REST
No documentation provided. -
EXTERNAL GENERIC-FUNCTION BY
- CONDITION
- &REST
Returns the way by which the seek was performed. Must be one of :SAMPLE :FRAME :SECOND See SEEK-FAILED
-
EXTERNAL GENERIC-FUNCTION CHANNEL
- CONDITION
- &REST
Returns the channel that was attempted to be accessed.
-
EXTERNAL GENERIC-FUNCTION CHANNELS
- OBJECT
- &REST
Returns the number of channels the decoded file has. This is NIL until the file is connected. See FILE See CONNECT See FILE-FORMAT
-
EXTERNAL GENERIC-FUNCTION CONNECTED
- OBJECT
- &REST
-
EXTERNAL GENERIC-FUNCTION DATA
- OBJECT
- &REST
Returns the actual picture data as an octet-vector. You are responsible for converting or interpreting the data as needed. See PICTURE.
-
EXTERNAL GENERIC-FUNCTION DECODE-FRAMES
- OBJECT
- &REST
Returns the number of frames that are decoded or T for all. This can be set via the :decode-frames initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION DECODER
- OBJECT
- &REST
The decoder driver to use as backend. See SUPPORTED-DECODERS for a list of decoders that can be used as a backend. This is SETFable. See FILE See DECODER-SET-FAILED
-
EXTERNAL GENERIC-FUNCTION DESCRIPTION
- OBJECT
- &REST
Returns the picture description string. See PICTURE
-
EXTERNAL GENERIC-FUNCTION DOWN-SAMPLE
- OBJECT
- &REST
Returns the downsampling approach being used. Can be one of NIL :NATIVE :HALF-RATE :QUARTER-RATE. This can be set via the :down-sample initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION DOWNSPEED
- OBJECT
- &REST
Returns the number of times a frame will be played. This can be set via the :downspeed initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION ENCODING
- OBJECT
- &REST
Returns the encoding the file is in. This is NIL until the file is connected. See FILE See CONNECT See FILE-FORMAT
-
EXTERNAL GENERIC-FUNCTION ERROR-CODE
- CONDITION
- &REST
Returns the CL-MPG123-CFFI:ERRORS error-code associated with the condition. See ERROR-STRING-ERROR See ERROR-STRING
-
EXTERNAL GENERIC-FUNCTION ERROR-STRING
- ERROR
- &REST
Returns the string describing the error code associated with the condition. See ERROR-STRING-ERROR
-
EXTERNAL GENERIC-FUNCTION FIELDS
- OBJECT
- &REST
Returns the list of fields stored in the metadata. Each entry in the list is of the following form: ENTRY ::= (TYPE LANG DESCRIPTION TEXT) TYPE --- A keyword corresponding to the id3v2 frame type name. LANG --- A three-letter language string or NIL if no language was given. DESCRIPTION --- A string describing the field or NIL if no description was given. TEXT --- The actual text content. Can also be an integer in cases where the data type was known (year, track number). Note that fields that can potentially contain multiple values of the same type will be split into multiple instances of the same field. For example, a TPE1 frame with text "FOO/BAR" gets split into two TPE1 entries, one with FOO as text and one with BAR. See METADATA See FIELD See FIELD-TEXT
-
EXTERNAL GENERIC-FUNCTION FILE
- CONDITION
- &REST
Returns the file associated with the condition. See FILE See MPG-FILE-ERROR
-
EXTERNAL GENERIC-FUNCTION FORCE-8BIT
- OBJECT
- &REST
Returns whether to force 8bit formats. This can be set via the :force-8bit initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION FORCE-CHANNELS
- OBJECT
- &REST
Returns, if at all, which channels are forced. Can be one of NIL :mono-right :mono-left :mono-mix :stereo. This can be set via the :force-channels initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION FORCE-FLOAT
- OBJECT
- &REST
Returns whether to force floating-point output. This can be set via the :force-float initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION FORCE-RATE
- OBJECT
- &REST
Returns, if forced, the rate at which output is produced. This can be set via the :force-rate initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION FUZZY-SEEK
- OBJECT
- &REST
Returns whether to allow approximate seeking by guessing. This can be set via the :fuzzy-seek initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION GAPLESS
- OBJECT
- &REST
Returns whether to use gapless decoding. This can be set via the :gapless initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION HANDLE
- OBJECT
- &REST
Returns the CL-MPG123-CFFI:HANDLE pointer of the file. See FILE
-
EXTERNAL GENERIC-FUNCTION IGNORE-INFOFRAME
- OBJECT
- &REST
Returns whether to ignore LAME/Xing info frames and treat them as normal MPEG data. This can be set via the :ignore-infoframe initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION IN-BUFFER
- CONDITION
- &REST
Returns the pointer to the C char buffer used for input on decoding.
-
EXTERNAL GENERIC-FUNCTION IN-SIZE
- CONDITION
- &REST
Returns the size of the input buffer in bytes.
-
EXTERNAL GENERIC-FUNCTION INDEX-SIZE
- OBJECT
- &REST
Returns the frame index size. Can be NIL for default, T for dynamic growth, or an integer for specific size (positive) or growth rate (negative). This can be set via the :index-size initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION KIND
- OBJECT
- &REST
Returns the picture type. Can be one of: :OTHER :ICON :OTHER-ICON :FRONT-COVER :BACK-COVER :LEAFLET :MEDIA :LEAD :ARTIST :CONDUCTOR :ORCHESTRA :COMPOSER :LYRICIST :LOCATION :RECORDING :PERFORMANCE :VIDEO :FISH :ILLUSTRATION :ARTIST-LOGO :PUBLISHER-LOGO See PICTURE
-
EXTERNAL GENERIC-FUNCTION MIME-TYPE
- OBJECT
- &REST
Returns the picture data's mime-type as a string. See PICTURE
-
EXTERNAL GENERIC-FUNCTION MODE
- CONDITION
- &REST
Returns the mode by which the seek was performed. Must be one of :ABSOLUTE :RELATIVE :FROM-END See SEEK-FAILED
-
EXTERNAL GENERIC-FUNCTION OUT-BUFFER
- CONDITION
- &REST
Returns the pointer to the C char buffer used for output on decoding.
-
EXTERNAL GENERIC-FUNCTION OUT-SIZE
- CONDITION
- &REST
Returns the size of the output buffer in bytes.
-
EXTERNAL GENERIC-FUNCTION OUTSCALE
- OBJECT
- &REST
Returns the output sample amplitude scale. This can be set via the :outscale initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION PARSE-PICTURES
- OBJECT
- &REST
Returns whether ID3V2 APIC tags should be parsed. This can be set via the :parse-pictures initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION PATH
- CONDITION
- &REST
-
EXTERNAL GENERIC-FUNCTION PICTURES
- OBJECT
- &REST
-
EXTERNAL GENERIC-FUNCTION PREFRAMES
- OBJECT
- &REST
Returns how many frames to decode or ignore in advance for layer 3. This can be set via the :preframes initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION QUERY
- CONDITION
- &REST
The function that performed the query that failed.
-
EXTERNAL GENERIC-FUNCTION RATE
- OBJECT
- &REST
Returns the rate in Hertz that the decoded file is in. This is NIL until the file is connected. See FILE See CONNECT See FILE-FORMAT
-
EXTERNAL GENERIC-FUNCTION RELATIVE
- CONDITION
- &REST
Returns whether the volume was attempted to be adjusted relatively or absolutely.
-
EXTERNAL GENERIC-FUNCTION RVA
- OBJECT
- &REST
Returns the RVA mode being used. Can be one of NIL :OFF :MIX :ALBUM. This can be set via the :down-sample initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION SCANNED
- OBJECT
- &REST
-
EXTERNAL GENERIC-FUNCTION SEEK-POSITION
- CONDITION
- &REST
Returns the position to which the seek was performed. See SEEK-FAILED
-
EXTERNAL GENERIC-FUNCTION SKIP-ID3V2
- OBJECT
- &REST
Returns whether to skip the ID3V2 tag information. This can be set via the :skip-id3v2 initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION START-FRAME
- OBJECT
- &REST
Returns the index of the starting frame. Frames before this are not played. This can be set via the :start-frame initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION UPSPEED
- OBJECT
- &REST
Returns the number of frames between two played frames. This can be set via the :upspeed initarg. See FILE
-
EXTERNAL GENERIC-FUNCTION VALUE
- CONDITION
- &REST
Returns the value the function tried to set before the condition was signalled.
-
EXTERNAL GENERIC-FUNCTION VERSION
- OBJECT
- &REST
The version of the ID3 metadata. Can be either "1.0" "1.1" "2.3" or "2.4". See METADATA