1 /* 2 * Sweep, a sound wave editor. 3 * 4 * Copyright (C) 2000 Conrad Parker 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 */ 20 21 #ifndef __PLAY_H__ 22 #define __PLAY_H__ 23 24 #include "sweep_app.h" 25 26 void 27 init_playback (void); 28 29 void 30 play_view_all (sw_view * view); 31 32 void 33 play_preroll (sw_view * view); 34 35 void 36 play_preview_cut (sw_view * view); 37 38 void 39 play_view_sel (sw_view * view); 40 41 void 42 play_view_all_pitch (sw_view * view, gfloat pitch); 43 44 void 45 stop_all_playback (void); 46 47 void 48 sample_play (sw_sample * sample); 49 50 void 51 sample_update_device (sw_sample * sample); 52 53 void 54 pause_playback (sw_sample * s); 55 56 void 57 stop_playback (sw_sample * sample); 58 59 gboolean 60 any_playing (void); 61 62 #endif /* __PLAY_H__ */ 63