Skip to content
Snippets Groups Projects
Select Git revision
  • cf31fa106e83cd2e1650362bcc362e3e2d66ec69
  • main default protected
  • dev protected
  • Issue/3160-deactivateDownloadForFolders
  • Issue/3111-fixLoadingGitLabResource
  • Issue/3133-subProjectsChanges
  • Issue/3139-dsnrw
  • Issue/3167-changeTextAndAddLink
  • Issue/3070-newIconsForResourceTypes
  • Issue/3145-redesignLoginPage
  • Issue/3093-moreInformationInTheDeletionEmails
  • Issue/3040-closeTokenWindowWithXButton
  • Issue/3152-fixResourceStore
  • Issue/xxxx-DuckDBTest
  • Issue/3152-fixUpdateRequestPayload
  • Issue/2489-addNotificationManagement
  • Issue/3138-tooltipForDisabledCreateActions
  • Issue/3136-orderResourcesInAlphabeticalOrder
  • Issue/3119-respOrg-vol2
  • Issue/3119-respOrg
  • Issue/3129-improvmentsResourceCreation
  • v3.18.0
  • v3.17.2
  • v3.17.1
  • v3.17.0
  • v3.16.1
  • v3.16.0
  • v3.15.6
  • v3.15.5
  • v3.15.4
  • v3.15.3
  • v3.15.2
  • v3.15.1
  • v3.15.0
  • v3.14.0
  • v3.13.1
  • v3.13.0
  • v3.12.0
  • v3.11.0
  • v3.10.1
  • v3.9.3-hotfix3017
41 results

ProjectModule.vue

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ITANetAudioStreamingServerTest.cpp 921 B
    #include <iostream>
    #include <string>
    
    #include <ITANetAudioStreamingServer.h>
    #include <ITANetAudioServer.h>
    #include <ITAStreamFunctionGenerator.h>
    #include <ITAStreamMultiplier1N.h>
    #include <ITAFileDataSource.h>
    
    using namespace std;
    
    static string g_sServerName = "localhost";
    static int g_iServerPort = 12480;
    static double g_dSampleRate = 44100;
    static int g_iBlockLength = 256;
    static int g_iChannels = 1;
    
    int main( int, char** )
    {
    	ITAFileDatasource oFile( "gershwin-mono.wav", g_iBlockLength );
    	oFile.SetIsLooping( true );
    	ITAStreamMultiplier1N oMuliplier( &oFile, g_iChannels );
    	CITANetAudioStreamingServer oStreamingServer;
    	oStreamingServer.SetInputStream( &oMuliplier );
    
    	cout << "Starting net audio server and waiting for connections on '" << g_sServerName << "' on port " << g_iServerPort << endl;
    	oStreamingServer.Start( g_sServerName, g_iServerPort );
    
    	int iKey;
    	std::cin >> iKey;
    
    	return 0;
    }