|
YAACC - UPNP Client and Server
|
What the app does with the stream; the calls come from the session's thread. More...


Public Member Functions | |
| void | start (String codec, int sampleRate, int channels, int bitDepth, byte[] codecHeader) |
A stream starts in this format (the session checked that it is one the player offered; codecHeader is null for PCM). | |
| void | chunk (long serverTimestampMicros, byte[] pcm) |
| One chunk: the audio and the time it has to be heard, on the server's clock. | |
| void | clear (Long fromTimestamp) |
Drops what is buffered (fromTimestamp: only what is stamped later; null: everything). | |
| void | end () |
| The stream ends (a pause or a stop): what is buffered is dropped. | |
What the app does with the stream; the calls come from the session's thread.
| void de.yaacc.sendspin.client.PlayerSession.Audio.chunk | ( | long | serverTimestampMicros, |
| byte[] | pcm ) |
One chunk: the audio and the time it has to be heard, on the server's clock.
Implemented in de.yaacc.sendspin.player.SendspinAudioEngine.
| void de.yaacc.sendspin.client.PlayerSession.Audio.clear | ( | Long | fromTimestamp | ) |
Drops what is buffered (fromTimestamp: only what is stamped later; null: everything).
Implemented in de.yaacc.sendspin.player.SendspinAudioEngine.
| void de.yaacc.sendspin.client.PlayerSession.Audio.end | ( | ) |
The stream ends (a pause or a stop): what is buffered is dropped.
Implemented in de.yaacc.sendspin.player.SendspinAudioEngine.
| void de.yaacc.sendspin.client.PlayerSession.Audio.start | ( | String | codec, |
| int | sampleRate, | ||
| int | channels, | ||
| int | bitDepth, | ||
| byte[] | codecHeader ) |
A stream starts in this format (the session checked that it is one the player offered; codecHeader is null for PCM).
| IllegalArgumentException | if the codec header is not one the player can play (the session ends) |
Implemented in de.yaacc.sendspin.player.SendspinAudioEngine.