Manual do PHP
Anterior |  | Próxima

# openal_stream

(PECL)

openal_stream -- Begin streaming on a source

## Descrição

resource openal_stream ( resource source, int format, int rate )

## Parâmetros

`source`

  An Open AL(Source) resource (previously created by openal_source_create()).

`format`

  Format of `data`, one of: `AL_FORMAT_MONO8`, `AL_FORMAT_MONO16`, `AL_FORMAT_STEREO8` e `AL_FORMAT_STEREO16`

`rate`

  Frequency of data to stream given in Hz.

## Valores de retornado

Returns a stream resource on success, or `FALSE` on failure.

## Veja também

openal_source_create()
fwrite()

Anterior | Principal | Próxima
openal_source_stop | Acima | OpenSSL Functions