Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

bool mpd_send_swap ( struct mpd_connection connection,
unsigned  pos1,
unsigned  pos2 
)

Swap the position of two songs in the queue.

Parameters:
connection the connection to MPD
pos1 the position of one song
pos2 the position of the other song

Definition at line 362 of file queue.c.

References mpd_send_swap().

Referenced by mpd_run_swap(), and mpd_send_swap().

{
      return mpd_send_int2_command(connection, "swap", pos1, pos2);
}


Generated by  Doxygen 1.6.0   Back to index