libao documentation

libao version 0.8.0 - 20010804

ao_close

declared in "ao/ao.h";

Closes the audio device and frees the memory allocated by the device structure.


int ao_close(ao_device *device);

Parameters

device
Pointer to device structure as returned by ao_open_live() or ao_open_file()

Return Values

  • 1 indicates remaining data written correctly and device closed.
  • 0 indicates an error while the device was being closed. If this device was writing to a file, the file may be corrupted.



  • copyright © 2001 Stan Seibert

    xiph.org
    indigo@aztec.asu.edu

    libao documentation

    libao version 0.8.0 - 20010804