 import Foundation
 import Alamofire
 
-// TODO: to static
+// XXX: Make the following functions static.
 protocol VoicevoxWrapperType {
     func requestSpeakers(completion: @escaping SpeakersRequestCompletion)
     func requestAudio(text: String, speedScale: Float, volumeScale: Float, speaker: Int, completion: @escaping AudioRequestCompletion)

                completion(Result.failure(.internal))
                return
            }
            if let string = String(bytes: _data, encoding: .utf8) {
                // log.debug(string)
            }
            requestSynthesis(data: _data, config: config, completion: completion)
        case .failure(let error):
            log.error("[\(config.text)] \(error)")

}

enum VoicevoxWrapperError: Error {
    // XXX: More cases.
    case `internal`
}

