Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
delete_audio(3)			 Arcan Lua API		       delete_audio(3)

NAME
       delete_audio - Remove the audio source

SYNOPSIS
       nil
       delete_audio( aid )

NOTES
       1      This  is	undefined for frameserver audio	sources	as frameserver
	      lifecycle	management is tied to the video	id

EXAMPLE
       function	delete_audio0()
	     a = load_asample("test.wav");
	     play_audio(a);
	     audio_gain(a, 0.0);
	     audio_gain(a, 1.0,	20);
       end

MISUSE
       function	delete_audio0()
	     a = load_movie("test.avi",	FRAMESERVER_NOLOOP, function(source, stat)
		   if (stat.kind == "resized") then
			 delete_audio(stat.source_audio);
		   end
	     end);
       end

SEE ALSO:
       play_audio(3) pause_audio(3) audio_gain(3)

audio				  April	2025		       delete_audio(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=delete_audio&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help