--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/audiopwmio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'audiopwmio' module. +""" + +class PWMAudioOut(): + def __init__(self, left_channel, *, right_channel=None, + quiescent_value=0x8000): + pass + + def deinit(self): + pass + + def play(self, sample, *, loop=False): + pass + + def stop(self): + pass + + @property + def playing(self): + pass + + def pause(self): + pass + + def resume(self): + pass + + @property + def paused(self): + pass