Commit 38944cf1 authored by jhammen's avatar jhammen
Browse files

move play/schedule methods for audio buffers to audio sink

parent f258748a
......@@ -6,7 +6,7 @@
<desc lang="en">Implemented by objects that output audio connections.</desc>
<desc lang="es">Una fuente de audio. Esta interfaz es implementada por objetos que emiten conexiones de audio.</desc>
<methods>
<method name='connection'>
<method name='connection' deprecated="true">
<desc lang="en">Returns a single channel of audio output from this component.</desc>
<parameters>
<parameter name='channel' type='integer'><desc lang="en"/></parameter>
......@@ -18,18 +18,52 @@
<desc lang="en">Implemented by objects that take audio as input.</desc>
<desc lang="es">Esta interfaz es implementada por objetos que toman el audio como entrada.</desc>
<methods>
<method name='connect'>
<method name='connect' deprecated="true">
<desc lang="en">Connect all channels of an audio source.</desc>
<parameters>
<parameter name='source' type='Audio.Source'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='connect'>
<method name='connect' deprecated="true">
<desc lang="en">Connect a single channel of audio.</desc>
<parameters>
<parameter name='connection' type='Audio.Connection'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='play'>
<desc lang="en">Immediately play an audio buffer.</desc>
<parameters>
<parameter name='buffer' type='Audio.Buffer'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='play'>
<desc lang="en">Immediately play an audio buffer.</desc>
<parameters>
<parameter name='buffer' type='Audio.Buffer'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='play'>
<desc lang="en">Immediately play an audio clip.</desc>
<parameters>
<parameter name='clip' type='Audio.Clip'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='schedule'>
<desc lang="en">Schedule an audio buffer to play.</desc>
<parameters>
<parameter name='buffer' type='Audio.Buffer'><desc lang="en"/></parameter>
<parameter name='measure' type='float'><desc lang="en"/></parameter>
<parameter name='clock' type='Time.Clock'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='schedule'>
<desc lang="en">Schedule an audio clip to play.</desc>
<parameters>
<parameter name='clip' type='Audio.Clip'><desc lang="en"/></parameter>
<parameter name='measure' type='float'><desc lang="en"/></parameter>
<parameter name='clock' type='Time.Clock'><desc lang="en"/></parameter>
</parameters>
</method>
</methods>
</interface>
</interfaces>
......@@ -120,34 +154,6 @@
</parameters>
</ctor><properties/>
<methods>
<method name='play'>
<desc lang="en">Immediately play an audio buffer.</desc>
<parameters>
<parameter name='buffer' type='Audio.Buffer'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='play'>
<desc lang="en">Immediately play an audio clip.</desc>
<parameters>
<parameter name='clip' type='Audio.Clip'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='schedule'>
<desc lang="en">Schedule an audio buffer to play.</desc>
<parameters>
<parameter name='buffer' type='Audio.Buffer'><desc lang="en"/></parameter>
<parameter name='measure' type='float'><desc lang="en"/></parameter>
<parameter name='clock' type='Time.Clock'><desc lang="en"/></parameter>
</parameters>
</method>
<method name='schedule'>
<desc lang="en">Schedule an audio clip to play.</desc>
<parameters>
<parameter name='clip' type='Audio.Clip'><desc lang="en"/></parameter>
<parameter name='measure' type='float'><desc lang="en"/></parameter>
<parameter name='clock' type='Time.Clock'><desc lang="en"/></parameter>
</parameters>
</method>
</methods>
</class>
<class name='Input'>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment