Swap the position of two songs in the queue.
|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.
Referenced by mpd_run_swap(), and mpd_send_swap().
return mpd_send_int2_command(connection, "swap", pos1, pos2);