({{, (RefLink[RemoveAudioStream, paclet:ref/RemoveAudioStream])[] 
deletes all (RefLink[AudioStream, paclet:ref/AudioStream]) objects.}, {, (RefLink[RemoveAudioStream, paclet:ref/RemoveAudioStream])[stream] 
deletes the (RefLink[AudioStream, paclet:ref/AudioStream]) object stream.}, {, (RefLink[RemoveAudioStream, paclet:ref/RemoveAudioStream])[audio] 
deletes all the (RefLink[AudioStream, paclet:ref/AudioStream]) objects stemming from audio.}})

OpenersNotesSection(Spacer1)Details

(RefLink[AudioStream, paclet:ref/AudioStream]) objects are either directly created from (RefLink[Audio, paclet:ref/Audio]) objects or created when an audio object is played using (RefLink[AudioPlay, paclet:ref/AudioPlay]).

Use (RefLink[AudioStreams, paclet:ref/AudioStreams]) to get a list of all available audio streams.

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Remove an (RefLink[AudioStream, paclet:ref/AudioStream]) object:

a=Audio["ExampleData/rule30.wav"];
astream=AudioStream[a]

Remove the (RefLink[AudioStream, paclet:ref/AudioStream]):

RemoveAudioStream[astream]

AudioStreams[]

OpenersExampleSection1(Spacer1)Scope  (2)

Remove all (RefLink[AudioStream, paclet:ref/AudioStream]) objects created from a specific (RefLink[Audio, paclet:ref/Audio]) object:

a=Audio["ExampleData/rule30.wav"];
str1=AudioStream[a];
str2=AudioStream[a];
b=Audio["ExampleData/rule30.wav"];
str3=AudioStream[b];

AudioStreams[]

RemoveAudioStream[a]
AudioStreams[]

Remove all (RefLink[AudioStream, paclet:ref/AudioStream]) objects:

a=Audio["ExampleData/rule30.wav"];
str1=AudioStream[a];
str2=AudioStream[a];
b=Audio["ExampleData/rule30.wav"];
str3=AudioStream[b];

AudioStreams[]

RemoveAudioStream[]
AudioStreams[]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[AudioStream, paclet:ref/AudioStream])  ▪  (RefLink[AudioStreams, paclet:ref/AudioStreams])  ▪  (RefLink[AudioPlay, paclet:ref/AudioPlay])  ▪  (RefLink[AudioStop, paclet:ref/AudioStop])  ▪  (RefLink[AudioPause, paclet:ref/AudioPause])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Audio Representation, paclet:guide/AudioRepresentation])}})}})