Skip to content

Commit

Permalink
stereomix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danryu committed Apr 25, 2023
1 parent 3093320 commit 43f8546
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,12 @@ int main ( int argc, char** argv )
}
#endif

if ( iStereoMixPortNumber != INVALID_PORT )
{
auto pStereoMixServer = new CStereoMixServer ( &Server, iStereoMixPortNumber );
pStereoMixServer->Start();
}

#ifndef HEADLESS
if ( bUseGUI )
{
Expand Down
3 changes: 2 additions & 1 deletion src/stereomixserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ void CStereoMixServer::Start()
{
return;
}
if ( pTransportServer->listen ( QHostAddress ( "127.0.0.1" ), iPort ) )
// if ( pTransportServer->listen ( QHostAddress ( "127.0.0.1" ), iPort ) )
if ( pTransportServer->listen ( QHostAddress ( "0.0.0.0" ), iPort ) )
{
qInfo() << "- stereo mix server started on port" << pTransportServer->serverPort();
}
Expand Down

0 comments on commit 43f8546

Please sign in to comment.