# Path: spotifyconnect/utils.py
# PY2 = sys.version_info[0] == 2
# class EventEmitter(object):
# class _Listener(collections.namedtuple(
#         'Listener', ['callback', 'user_args'])):
# class IntEnum(int):
#     def __init__(self):
#     def on(self, event, listener, *user_args):
#     def off(self, event=None, listener=None):
#     def emit(self, event, *event_args):
#     def num_listeners(self, event=None):
#     def call(self, event, *event_args):
#     def __new__(cls, value):
#     def __repr__(self):
#     def add(cls, name, value):
# def make_enum(lib_prefix, enum_prefix=''):
#     def wrapper(cls):
# def to_bytes(value):
# def to_bytes_or_none(value):
# def to_char(value):
# def to_char_or_null(value):
# def to_unicode(value):
# def to_unicode_or_none(value):


import collections
from spotifyconnect import utils
from __future__ import unicode_literals




__all__ = [
    'AudioBufferStats',
    'AudioFormat',
    'Bitrate',
    'SampleType',
]


class AudioBufferStats(collections.namedtuple(
        'AudioBufferStats', ['samples', 'stutter'])):

    """Stats about the application's alsa_sink buffers."""
    pass


@utils.make_enum('kSpBitrate', 'BITRATE_')
class Bitrate(utils.IntEnum):
    pass


@utils.make_enum('kSpSampleType')

# Path: spotifyconnect/utils.py
# PY2 = sys.version_info[0] == 2
# class EventEmitter(object):
# class _Listener(collections.namedtuple(
#         'Listener', ['callback', 'user_args'])):
# class IntEnum(int):
#     def __init__(self):
#     def on(self, event, listener, *user_args):
#     def off(self, event=None, listener=None):
#     def emit(self, event, *event_args):
#     def num_listeners(self, event=None):
#     def call(self, event, *event_args):
#     def __new__(cls, value):
#     def __repr__(self):
#     def add(cls, name, value):
# def make_enum(lib_prefix, enum_prefix=''):
#     def wrapper(cls):
# def to_bytes(value):
# def to_bytes_or_none(value):
# def to_char(value):
# def to_char_or_null(value):
# def to_unicode(value):
# def to_unicode_or_none(value):


# Path: spotifyconnect/audio.py
import collections
from spotifyconnect import utils

from __future__ import unicode_literals




__all__ = [
    'AudioBufferStats',
    'AudioFormat',
    'Bitrate',
    'SampleType',
]


class AudioBufferStats(collections.namedtuple(
        'AudioBufferStats', ['samples', 'stutter'])):

    """Stats about the application's alsa_sink buffers."""
    pass


@utils.make_enum('kSpBitrate', 'BITRATE_')
class Bitrate(utils.IntEnum):
    pass


@utils.make_enum('kSpSampleType')

class SampleType(utils.IntEnum):