AUMAKEELEMENTIMPORTWAVEFORM(3x)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

πŸ’– AuMakeElementImportWaveForm(3x) β€” Library Functions Manual πŸ’–

okay so bestie, you opened the manpage for AuMakeElementImportWaveForm(3x) and I am obsessed because this is literally the element-initializer for an ImportWaveForm. It's giving audio setup main character energy. Let's go. 🎧✨


✨ NAME ✨

AuMakeElementImportWaveForm β€” initialize an ImportWaveForm element.


🌸 SYNOPSIS 🌸

       #include <audio/audiolib.h>

       AuMakeElementImportWaveForm(element, sample_rate, wave_form,
       num_samples, freq, num_actions, actions)
           AuElement *element; /* RETURN */
           unsigned short sample_rate;
           int wave_form;
           AuInt32 freq;
           AuInt32 num_samples;
           int num_actions;
           AuElementAction *actions;

πŸ¦‹ ARGUMENTS πŸ¦‹

  • element β€” Returns the initialized element. RETURN energy, bestie.
  • sample_rate β€” Specifies the sample rate of the audio data.
  • wave_form β€” Specifies the waveform to use. Currently, the following waveforms are defined: AuWaveFormSquare, AuWaveFormSine, AuWaveFormSaw, and AuWaveFormConstant.
  • freq β€” Specifies the frequency of the waveform.
  • num_samples β€” Specifies the number of samples to read. Use AuUnlimitedSamples to indicate an unlimited number of samples.
  • num_actions β€” Specifies the number of actions in actions.
  • actions β€” Specifies the list of actions to associate with this element. Entries in this list can be initialized with AuMakeChangeStateAction, AuMakeSendNotifyAction, and AuMakeNoopAction. May be NULL.

πŸ’… DESCRIPTION πŸ’…

So AuMakeElementImportWaveForm sets the type member of element to AuElementTypeImportWaveForm and initializes the importwaveform member of element with the remaining arguments.

And yes, it is implemented as a macro. No cap.


πŸŽ€ NoteS πŸŽ€

A server might not support all the waveforms currently defined. iykyk. πŸ™ˆ


🌈 SEE ALSO 🌈

  • AuMakeElementAddConstant
  • AuMakeElementBundle
  • AuMakeElementExportBucket
  • AuMakeElementExportClient
  • AuMakeElementExportDevice
  • AuMakeElementExportMonitor
  • AuMakeElementImportBucket
  • AuMakeElementImportClient
  • AuMakeElementImportDevice
  • AuMakeElementMultiplyConstant
  • AuMakeElementSum

audiolib - Network Audio System C Language Interface


mwah πŸ’‹ this page was served by audiolib - element initialization, version 1.9.5, and the footer title AuMakeElem...ortWaveFrom(3) β€” periodt. 🫢✨

πŸ“¦ where this page comes from