mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-22 15:50:01 +01:00
fix #51
This commit is contained in:
@@ -2006,28 +2006,7 @@ int is_current_track(char *host, int port )
|
|||||||
all VIMS commands that create a new stream or a new sample */
|
all VIMS commands that create a new stream or a new sample */
|
||||||
int gveejay_new_slot(int mode)
|
int gveejay_new_slot(int mode)
|
||||||
{
|
{
|
||||||
/* int id = 0;
|
info->uc.expected_slots ++;
|
||||||
int result_len = 0;
|
|
||||||
gchar *result = recv_vims( 3, &result_len );
|
|
||||||
|
|
||||||
veejay_msg(0 ," -> EXPECT NEW SLOT in [%s]" ,result );
|
|
||||||
|
|
||||||
if(result_len <= 0 )
|
|
||||||
{
|
|
||||||
veejay_msg(0, "Maybe you should restart me");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
sscanf( result, "%d", &id );
|
|
||||||
|
|
||||||
free(result);
|
|
||||||
|
|
||||||
if( id <= 0 )
|
|
||||||
{
|
|
||||||
// gveejay_error_slot( mode );
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user