MCPcopy Create free account
hub / github.com/SFML/SFML / NetworkAudioStream

Method NetworkAudioStream

examples/voip/Server.cpp:34–38  ·  view source on GitHub ↗

/////////////////////////////////////////////////////// Default constructor ///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

32 ///
33 ////////////////////////////////////////////////////////////
34 NetworkAudioStream()
35 {
36 // Set the sound parameters
37 initialize(1, 44100, {sf::SoundChannel::Mono});
38 }
39
40 ////////////////////////////////////////////////////////////
41 /// Run the server, stream audio data from the client

Callers

nothing calls this directly

Calls 1

initializeFunction · 0.85

Tested by

no test coverage detected