Mercurial > audlegacy
comparison src/libaudclient/audctrl.c @ 2767:55dc022c405a trunk
[svn] Changed signedness and formatting.
| author | magma |
|---|---|
| date | Sun, 13 May 2007 11:56:01 -0700 |
| parents | c89362b15525 |
| children | bf2d80abf76e |
comparison
equal
deleted
inserted
replaced
| 2766:ea20b1e92411 | 2767:55dc022c405a |
|---|---|
| 70 * @proxy: DBus proxy for audacious | 70 * @proxy: DBus proxy for audacious |
| 71 * @pos: The playlist position to delete. | 71 * @pos: The playlist position to delete. |
| 72 * | 72 * |
| 73 * Deletes a playlist entry. | 73 * Deletes a playlist entry. |
| 74 **/ | 74 **/ |
| 75 void audacious_remote_playlist_delete(DBusGProxy *proxy, gint pos) { | 75 void audacious_remote_playlist_delete(DBusGProxy *proxy, guint pos) { |
| 76 } | 76 } |
| 77 | 77 |
| 78 /** | 78 /** |
| 79 * audacious_remote_play: | 79 * audacious_remote_play: |
| 80 * @proxy: DBus proxy for audacious | 80 * @proxy: DBus proxy for audacious |
| 145 * Queries audacious about the current playlist position. | 145 * Queries audacious about the current playlist position. |
| 146 * | 146 * |
| 147 * Return value: The current playlist position. | 147 * Return value: The current playlist position. |
| 148 **/ | 148 **/ |
| 149 gint audacious_remote_get_playlist_pos(DBusGProxy *proxy) { | 149 gint audacious_remote_get_playlist_pos(DBusGProxy *proxy) { |
| 150 gint pos; | 150 guint pos; |
| 151 org_atheme_audacious_position(proxy, &pos, &error); | 151 org_atheme_audacious_position(proxy, &pos, &error); |
| 152 g_clear_error(&error); | 152 g_clear_error(&error); |
| 153 return pos; | 153 return pos; |
| 154 } | 154 } |
| 155 | 155 |
| 158 * @proxy: DBus proxy for audacious | 158 * @proxy: DBus proxy for audacious |
| 159 * @pos: Playlist position to jump to. | 159 * @pos: Playlist position to jump to. |
| 160 * | 160 * |
| 161 * Tells audacious to jump to a different playlist position. | 161 * Tells audacious to jump to a different playlist position. |
| 162 **/ | 162 **/ |
| 163 void audacious_remote_set_playlist_pos(DBusGProxy *proxy, gint pos) { | 163 void audacious_remote_set_playlist_pos(DBusGProxy *proxy, guint pos) { |
| 164 } | 164 } |
| 165 | 165 |
| 166 /** | 166 /** |
| 167 * audacious_remote_get_playlist_length: | 167 * audacious_remote_get_playlist_length: |
| 168 * @proxy: DBus proxy for audacious | 168 * @proxy: DBus proxy for audacious |
| 196 * Queries audacious about the current output position. | 196 * Queries audacious about the current output position. |
| 197 * | 197 * |
| 198 * Return value: The current output position. | 198 * Return value: The current output position. |
| 199 **/ | 199 **/ |
| 200 gint audacious_remote_get_output_time(DBusGProxy *proxy) { | 200 gint audacious_remote_get_output_time(DBusGProxy *proxy) { |
| 201 gint time; | 201 guint time; |
| 202 org_atheme_audacious_time(proxy, &time, &error); | 202 org_atheme_audacious_time(proxy, &time, &error); |
| 203 g_clear_error(&error); | 203 g_clear_error(&error); |
| 204 return time; | 204 return time; |
| 205 } | 205 } |
| 206 | 206 |
| 209 * @proxy: DBus proxy for audacious | 209 * @proxy: DBus proxy for audacious |
| 210 * @pos: The time (in milliseconds) to jump to. | 210 * @pos: The time (in milliseconds) to jump to. |
| 211 * | 211 * |
| 212 * Tells audacious to seek to a new time position. | 212 * Tells audacious to seek to a new time position. |
| 213 **/ | 213 **/ |
| 214 void audacious_remote_jump_to_time(DBusGProxy *proxy, gint pos) { | 214 void audacious_remote_jump_to_time(DBusGProxy *proxy, guint pos) { |
| 215 } | 215 } |
| 216 | 216 |
| 217 /** | 217 /** |
| 218 * audacious_remote_get_volume: | 218 * audacious_remote_get_volume: |
| 219 * @proxy: DBus proxy for audacious | 219 * @proxy: DBus proxy for audacious |
| 351 * | 351 * |
| 352 * Queries Audacious about a playlist entry's file. | 352 * Queries Audacious about a playlist entry's file. |
| 353 * | 353 * |
| 354 * Return value: A path to the file in the playlist at %pos position. | 354 * Return value: A path to the file in the playlist at %pos position. |
| 355 **/ | 355 **/ |
| 356 gchar *audacious_remote_get_playlist_file(DBusGProxy *proxy, gint pos) { | 356 gchar *audacious_remote_get_playlist_file(DBusGProxy *proxy, guint pos) { |
| 357 gchar *out; | 357 gchar *out; |
| 358 org_atheme_audacious_song_filename(proxy, pos, &out, &error); | 358 org_atheme_audacious_song_filename(proxy, pos, &out, &error); |
| 359 g_clear_error(&error); | 359 g_clear_error(&error); |
| 360 return out; | 360 return out; |
| 361 } | 361 } |
| 367 * | 367 * |
| 368 * Queries Audacious about a playlist entry's title. | 368 * Queries Audacious about a playlist entry's title. |
| 369 * | 369 * |
| 370 * Return value: The title for the entry in the playlist at %pos position. | 370 * Return value: The title for the entry in the playlist at %pos position. |
| 371 **/ | 371 **/ |
| 372 gchar *audacious_remote_get_playlist_title(DBusGProxy *proxy, gint pos) { | 372 gchar *audacious_remote_get_playlist_title(DBusGProxy *proxy, guint pos) { |
| 373 gchar *out; | 373 gchar *out; |
| 374 org_atheme_audacious_song_title(proxy, pos, &out, &error); | 374 org_atheme_audacious_song_title(proxy, pos, &out, &error); |
| 375 g_clear_error(&error); | 375 g_clear_error(&error); |
| 376 return out; | 376 return out; |
| 377 } | 377 } |
| 383 * | 383 * |
| 384 * Queries Audacious about a playlist entry's length. | 384 * Queries Audacious about a playlist entry's length. |
| 385 * | 385 * |
| 386 * Return value: The length of the entry in the playlist at %pos position. | 386 * Return value: The length of the entry in the playlist at %pos position. |
| 387 **/ | 387 **/ |
| 388 gint audacious_remote_get_playlist_time(DBusGProxy *proxy, gint pos) { | 388 gint audacious_remote_get_playlist_time(DBusGProxy *proxy, guint pos) { |
| 389 gint out; | 389 gint out; |
| 390 org_atheme_audacious_song_frames(proxy, pos, &out, &error); | 390 org_atheme_audacious_song_frames(proxy, pos, &out, &error); |
| 391 g_clear_error(&error); | 391 g_clear_error(&error); |
| 392 return out; | 392 return out; |
| 393 } | 393 } |
| 696 * @pos: The position to add the URI at. | 696 * @pos: The position to add the URI at. |
| 697 * | 697 * |
| 698 * Tells audacious to add an URI to the playlist at a specific position. | 698 * Tells audacious to add an URI to the playlist at a specific position. |
| 699 **/ | 699 **/ |
| 700 void audacious_remote_playlist_ins_url_string(DBusGProxy *proxy, | 700 void audacious_remote_playlist_ins_url_string(DBusGProxy *proxy, |
| 701 gchar *string, gint pos) { | 701 gchar *string, guint pos) { |
| 702 } | 702 } |
| 703 | 703 |
| 704 /** | 704 /** |
| 705 * audacious_remote_playqueue_add: | 705 * audacious_remote_playqueue_add: |
| 706 * @proxy: DBus proxy for audacious | 706 * @proxy: DBus proxy for audacious |
| 707 * @pos: The playlist position to add to the queue. | 707 * @pos: The playlist position to add to the queue. |
| 708 * | 708 * |
| 709 * Tells audacious to add a playlist entry to the playqueue. | 709 * Tells audacious to add a playlist entry to the playqueue. |
| 710 **/ | 710 **/ |
| 711 void audacious_remote_playqueue_add(DBusGProxy *proxy, gint pos) { | 711 void audacious_remote_playqueue_add(DBusGProxy *proxy, guint pos) { |
| 712 } | 712 } |
| 713 | 713 |
| 714 /** | 714 /** |
| 715 * audacious_remote_playqueue_remove: | 715 * audacious_remote_playqueue_remove: |
| 716 * @proxy: DBus proxy for audacious | 716 * @proxy: DBus proxy for audacious |
| 717 * @pos: The playlist position to remove from the queue. | 717 * @pos: The playlist position to remove from the queue. |
| 718 * | 718 * |
| 719 * Tells audacious to remove a playlist entry from the playqueue. | 719 * Tells audacious to remove a playlist entry from the playqueue. |
| 720 **/ | 720 **/ |
| 721 void audacious_remote_playqueue_remove(DBusGProxy *proxy, gint pos) { | 721 void audacious_remote_playqueue_remove(DBusGProxy *proxy, guint pos) { |
| 722 } | 722 } |
| 723 | 723 |
| 724 /** | 724 /** |
| 725 * audacious_remote_get_playqueue_length: | 725 * audacious_remote_get_playqueue_length: |
| 726 * @proxy: DBus proxy for audacious | 726 * @proxy: DBus proxy for audacious |
| 786 * | 786 * |
| 787 * Queries audacious about whether or not a playlist entry is in the playqueue. | 787 * Queries audacious about whether or not a playlist entry is in the playqueue. |
| 788 * | 788 * |
| 789 * Return value: TRUE if yes, FALSE otherwise. | 789 * Return value: TRUE if yes, FALSE otherwise. |
| 790 **/ | 790 **/ |
| 791 gboolean audacious_remote_playqueue_is_queued(DBusGProxy *proxy, gint pos) { | 791 gboolean audacious_remote_playqueue_is_queued(DBusGProxy *proxy, guint pos) { |
| 792 } | 792 } |
| 793 | 793 |
| 794 /** | 794 /** |
| 795 * audacious_remote_get_playqueue_position: | 795 * audacious_remote_get_playqueue_position: |
| 796 * @proxy: DBus proxy for audacious | 796 * @proxy: DBus proxy for audacious |
| 798 * | 798 * |
| 799 * Queries audacious about what the playqueue position is for a playlist entry. | 799 * Queries audacious about what the playqueue position is for a playlist entry. |
| 800 * | 800 * |
| 801 * Return value: TRUE if yes, FALSE otherwise. | 801 * Return value: TRUE if yes, FALSE otherwise. |
| 802 **/ | 802 **/ |
| 803 gint audacious_remote_get_playqueue_position(DBusGProxy *proxy, gint pos) { | 803 gint audacious_remote_get_playqueue_position(DBusGProxy *proxy, guint pos) { |
| 804 } | 804 } |
| 805 | 805 |
| 806 /** | 806 /** |
| 807 * audacious_remote_get_playqueue_queue_position: | 807 * audacious_remote_get_playqueue_queue_position: |
| 808 * @proxy: DBus proxy for audacious | 808 * @proxy: DBus proxy for audacious |
| 811 * Queries audacious about what the playlist position is for a playqueue entry. | 811 * Queries audacious about what the playlist position is for a playqueue entry. |
| 812 * | 812 * |
| 813 * Return value: TRUE if yes, FALSE otherwise. | 813 * Return value: TRUE if yes, FALSE otherwise. |
| 814 **/ | 814 **/ |
| 815 gint audacious_remote_get_playqueue_queue_position(DBusGProxy *proxy, | 815 gint audacious_remote_get_playqueue_queue_position(DBusGProxy *proxy, |
| 816 gint pos) { | 816 guint pos) { |
| 817 } | 817 } |
| 818 | 818 |
| 819 /** | 819 /** |
| 820 * audacious_remote_playlist_enqueue_to_temp: | 820 * audacious_remote_playlist_enqueue_to_temp: |
| 821 * @proxy: DBus proxy for audacious | 821 * @proxy: DBus proxy for audacious |
| 836 * Queries Audacious about a playlist entry's tuple information. | 836 * Queries Audacious about a playlist entry's tuple information. |
| 837 * | 837 * |
| 838 * Return value: The requested field's data for the entry in the playlist at %pos position. | 838 * Return value: The requested field's data for the entry in the playlist at %pos position. |
| 839 **/ | 839 **/ |
| 840 gchar *audacious_get_tuple_field_data(DBusGProxy *proxy, gchar *field, | 840 gchar *audacious_get_tuple_field_data(DBusGProxy *proxy, gchar *field, |
| 841 gint pos) { | 841 guint pos) { |
| 842 } | 842 } |
