package net.bjoernpetersen.musicbot.spi.plugin.predefined

import net.bjoernpetersen.musicbot.api.plugin.Base

/**
 * PlaybackFactory capable of playing `.aac` and `.m4a` files.
 */
@Base
interface AacPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.aac` and `.m4a` files.
 */
@Deprecated(
    "Use non-typo version",
    ReplaceWith("AacPlaybackFactory"),
    level = DeprecationLevel.ERROR
)
typealias AacPlabackFactory = AacPlaybackFactory

/**
 * PlaybackFactory capable of playing `.flac` files.
 */
@Base
interface FlacPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.mp3` files.
 */
@Base
interface Mp3PlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.opus` files.
 */
@Base
interface OpusPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.ogg` and `.oga` files.
 */
@Base
interface VorbisPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.wav` and `.wave` files.
 */
@Base
interface WavePlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.wma` files.
 */
@Base
interface WmaPlaybackFactory :
    FilePlaybackFactory

package net.bjoernpetersen.musicbot.spi.plugin.predefined

import net.bjoernpetersen.musicbot.api.plugin.Base

/**
 * PlaybackFactory capable of playing `.aac` and `.m4a` files.
 */
@Base
interface AacPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.aac` and `.m4a` files.
 */
@Deprecated(
    "Use non-typo version",
    ReplaceWith("AacPlaybackFactory")
)
typealias AacPlabackFactory = AacPlaybackFactory

/**
 * PlaybackFactory capable of playing `.flac` files.
 */
@Base
interface FlacPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.mp3` files.
 */
@Base
interface Mp3PlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.opus` files.
 */
@Base
interface OpusPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.ogg` and `.oga` files.
 */
@Base
interface VorbisPlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.wav` and `.wave` files.
 */
@Base
interface WavePlaybackFactory :
    FilePlaybackFactory

/**
 * PlaybackFactory capable of playing `.wma` files.
 */
@Base
interface WmaPlaybackFactory :
    FilePlaybackFactory

Make AacPlabackFactory deprecation a warning
Make AacPlabackFactory deprecation a warning

BjoernPetersen/JMusicBot