1 |
// qsamplerInstrumentForm.cpp |
// qsamplerInstrumentForm.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2003-2019, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2003-2021, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, Christian Schoenebeck |
Copyright (C) 2007, Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
32 |
#include <QFileDialog> |
#include <QFileDialog> |
33 |
|
|
34 |
// Needed for lroundf() |
// Needed for lroundf() |
35 |
#include <math.h> |
#ifdef CONFIG_ROUND |
36 |
|
#include <cmath> |
37 |
#ifndef CONFIG_ROUND |
#else |
38 |
static inline long lroundf ( float x ) |
static inline long lroundf ( float x ) |
39 |
{ |
{ |
40 |
if (x >= 0.0f) |
if (x >= 0.0f) |