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

bool mpd_run_disable_output ( struct mpd_connection connection,
unsigned  output_id 
)

Shortcut for mpd_send_disable_output() and mpd_response_finish().

Parameters:
connection A valid and connected mpd_connection.
output_id an identifier for the output device (see mpd_output_get_next())
Returns:
true on success

Definition at line 96 of file coutput.c.

References mpd_response_finish(), mpd_run_disable_output(), and mpd_send_disable_output().

Referenced by mpd_run_disable_output().

{
      return mpd_run_check(connection) &&
            mpd_send_disable_output(connection, output_id) &&
            mpd_response_finish(connection);
}


Generated by  Doxygen 1.6.0   Back to index