packages.lisp 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. ;;; -*- Mode: Lisp; show-trailing-whitespace: t; Base: 10; indent-tabs: nil; Syntax: ANSI-Common-Lisp; Package: CL-USER; -*-
  2. ;;; Copyright (c) 2013, Mark VandenBrink. All rights reserved.
  3. (in-package #:cl-user)
  4. (defpackage #:tree
  5. (:export #:add-child
  6. #:at-path
  7. #:data
  8. #:find-tree
  9. #:first-child
  10. #:make-node
  11. #:next-sibling
  12. #:print-tree
  13. #:traverse)
  14. (:use #:common-lisp))
  15. (defpackage #:utils
  16. (:export #:*standard-optimize-settings*
  17. #:aif
  18. #:awhen
  19. #:dbg
  20. #:dbg-helper
  21. #:defconstant*
  22. #:dump-data
  23. #:get-bitfield
  24. #:it
  25. #:make-keyword
  26. #:make-octets
  27. #:memoize
  28. #:mkstr
  29. #:mksym
  30. #:octet
  31. #:octets
  32. #:printable-array
  33. #:redirect
  34. #:timings
  35. #:upto-null
  36. #:warn-user *break-on-warn-user*
  37. #:while
  38. #:with-gensyms)
  39. (:use #:common-lisp))
  40. (defpackage #:profile
  41. (:export #:off
  42. #:on
  43. #:reset
  44. #:report)
  45. (:use #:common-lisp))
  46. (defpackage #:iso-639-2
  47. (:export #:get-iso-639-2-language)
  48. (:use #:common-lisp :utils))
  49. (defpackage #:audio-streams
  50. (:export #:make-audio-stream
  51. #:open-audio-file
  52. #:stream-filename
  53. #:stream-read-iso-string
  54. #:stream-read-sequence
  55. #:stream-read-u128
  56. #:stream-read-u16
  57. #:stream-read-u24
  58. #:stream-read-u32
  59. #:stream-read-u64
  60. #:stream-read-u8
  61. #:stream-read-ucs-string
  62. #:stream-read-utf-8-string
  63. #:stream-seek
  64. #:stream-size
  65. #:*get-audio-info*
  66. #:*current-file*)
  67. (:use #:common-lisp #:utils))
  68. (defpackage #:flac
  69. (:export #:audio-info
  70. #:filename
  71. #:flac-file
  72. #:flac-get-tag
  73. #:flac-headers
  74. #:flac-show-raw-tag
  75. #:flac-tags
  76. #:get-flac-audio-info
  77. #:get-flac-audio-info
  78. #:is-valid-flac-file
  79. #:parse-audio-file
  80. #:vpprint
  81. #:*current-file*)
  82. (:use #:common-lisp #:utils #:audio-streams))
  83. (defpackage #:m4a
  84. (:export #:atom-file-pos
  85. #:atom-size
  86. #:atom-type
  87. #:audio-info
  88. #:filename
  89. #:get-mp4-audio-info
  90. #:is-valid-m4-file
  91. #:map-mp4-atoms
  92. #:mp4-atom
  93. #:mp4-atoms
  94. #:mp4-file
  95. #:mp4-show-raw-tag-atoms
  96. #:parse-audio-file
  97. #:tag-get-value
  98. #:vpprint)
  99. (:use #:common-lisp #:audio-streams #:utils))
  100. (defpackage #:id3
  101. (:export #:album
  102. #:artist
  103. #:audio-info
  104. #:clear-skipped
  105. #:comment
  106. #:comment
  107. #:desc
  108. #:encoding
  109. #:filename
  110. #:frames
  111. #:genre
  112. #:get-frames
  113. #:id
  114. #:id3-frame
  115. #:id3-header
  116. #:info
  117. #:is-valid-mp3-file
  118. #:lang
  119. #:map-id3-frames
  120. #:mp3-file
  121. #:parse-audio-file
  122. #:picture-info
  123. #:title
  124. #:v21-tag-header
  125. #:val
  126. #:version
  127. #:vpprint
  128. #:year)
  129. (:use #:common-lisp #:audio-streams #:utils #:iso-639-2))
  130. (defpackage #:abstract-tag
  131. (:export #:album
  132. #:album-artist
  133. #:artist
  134. #:comment
  135. #:composer
  136. #:copyright
  137. #:encoder
  138. #:get-id3v1-genre
  139. #:groups
  140. #:lyrics
  141. #:*raw-tags*
  142. #:title
  143. #:show-tags
  144. #:writer)
  145. (:use #:common-lisp #:audio-streams #:utils))
  146. (defpackage #:mpeg
  147. (:export #:get-mpeg-audio-info
  148. #:vpprint)
  149. (:use #:common-lisp #:audio-streams #:utils))