Mercurial > audlegacy
comparison src/audlegacy/auddrct.c @ 4879:012b478a282f
First step in fixing hang-ups when playing a CD.
author | John Lindgren <john.lindgren@tds.net> |
---|---|
date | Sun, 03 May 2009 20:44:00 -0400 |
parents | ca837b93ad0f |
children |
comparison
equal
deleted
inserted
replaced
4878:a3cf163c772b | 4879:012b478a282f |
---|---|
359 | 359 |
360 /* following functions are not tested yet. be careful. --yaz */ | 360 /* following functions are not tested yet. be careful. --yaz */ |
361 void | 361 void |
362 drct_pl_delete ( gint pos ) | 362 drct_pl_delete ( gint pos ) |
363 { | 363 { |
364 GDK_THREADS_ENTER(); | |
365 playlist_delete_index(playlist_get_active(), pos); | 364 playlist_delete_index(playlist_get_active(), pos); |
366 GDK_THREADS_LEAVE(); | |
367 } | 365 } |
368 | 366 |
369 void | 367 void |
370 drct_pl_set_pos( gint pos ) | 368 drct_pl_set_pos( gint pos ) |
371 { | 369 { |
387 } | 385 } |
388 | 386 |
389 void | 387 void |
390 drct_pl_add_url_string( gchar * string ) | 388 drct_pl_add_url_string( gchar * string ) |
391 { | 389 { |
392 GDK_THREADS_ENTER(); | |
393 playlist_add_url(playlist_get_active(), string); | 390 playlist_add_url(playlist_get_active(), string); |
394 GDK_THREADS_LEAVE(); | |
395 } | 391 } |
396 | 392 |
397 void | 393 void |
398 drct_pl_enqueue_to_temp( gchar * string ) | 394 drct_pl_enqueue_to_temp( gchar * string ) |
399 { | 395 { |