MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / Add

Method Add

source/sound.cpp:19–30  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

17}
18//---------------------------------------------------------------------------
19bool TSoundQueueItem::Add(String _File)
20{
21 for(int i=0; i<MAX_SOUND_FILE_COUNT; i++)
22 {
23 if( File[i].Length() == 0 )
24 {
25 File[i] = _File;
26 return true;
27 }
28 }
29 return false;
30}
31//---------------------------------------------------------------------------
32bool TSoundQueueItem::HaveSound(void)
33{

Callers 1

PlayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected