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

bool mpd_run_enable_output ( struct mpd_connection connection,
unsigned  output_id 
)

Shortcut for mpd_send_enable_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 82 of file coutput.c.

References mpd_response_finish(), mpd_run_enable_output(), and mpd_send_enable_output().

Referenced by mpd_run_enable_output().

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


Generated by  Doxygen 1.6.0   Back to index