/* GSequencer - Advanced GTK Sequencer * Copyright (C) 2005-2026 Joël Krähemann * * This file is part of GSequencer. * * GSequencer is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * GSequencer is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GSequencer. If not, see . */ #ifndef __AGS_SOUNDCARD_UTIL_H__ #define __AGS_SOUNDCARD_UTIL_H__ #include #include #include G_BEGIN_DECLS #define AGS_TYPE_SOUNDCARD_UTIL (ags_soundcard_util_get_type()) typedef struct _AgsSoundcardUtil AgsSoundcardUtil; struct _AgsSoundcardUtil { //empty }; GType ags_soundcard_util_get_type(void); GRecMutex* ags_soundcard_util_get_obj_mutex(GObject *soundcard); G_DEPRECATED void ags_soundcard_util_adjust_delay_and_attack(GObject *soundcard); gint64 ags_soundcard_util_calc_system_time(GObject *soundcard); gint64 ags_soundcard_util_calc_time_samples(GObject *soundcard); gint64 ags_soundcard_util_calc_time_samples_absolute(GObject *soundcard); G_DEPRECATED void ags_soundcard_util_calc_next_note_256th_offset(GObject *soundcard, guint *note_256th_offset_lower, guint *note_256th_offset_upper); G_DEPRECATED void ags_soundcard_util_calc_next_note_256th_attack(GObject *soundcard, guint *note_256th_attack_lower, guint *note_256th_attack_upper); G_END_DECLS #endif /*__AGS_SOUNDCARD_UTIL_H__*/