{{newin|[[11.0]]|110|type=function}}
Creates a new Source usable for real-time generated sound playback with [[Source:queue]].
 {{newobjectnotice}}
== Function ==
=== Synopsis ===
<source lang="lua">
source = love.audio.newQueueableSource( samplerate, bitdepth, channels, buffercount )
</source>
=== Arguments ===
{{param|number|samplerate|Number of samples per second when playing.}}
{{param|number|bitdepth|Bits per sample (8 or 16).}}
{{param|number|channels|1 for mono or 2 for stereo.}}
{{param|number|buffercount (0)|The number of buffers that can be queued up at any given time with [[Source:queue]]. Cannot be greater than 64. A sensible default (~8) is chosen if no value is specified.}}
=== Returns ===
{{param|Source|source|The new Source usable with [[Source:queue]].}}

== Notes ==
The sample rate, bit depth, and channel count of any [[SoundData]] used with [[Source:queue]] must match the parameters given to this constructor.

== See Also ==
* [[parent::love.audio]]
* [[Constructs::Source]]
* [[Source:queue]]
* [[SourceType]]
[[Category:Functions]]
{{#set:Description=Creates a new Source usable for real-time generated sound playback with [[Source:queue]].}}
== Other Languages ==
{{i18n|love.audio.newQueueableSource}}