3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
|
* Copyright (C) 2005 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
31 |
*/ |
*/ |
32 |
class Features { |
class Features { |
33 |
public: |
public: |
34 |
static void detect(); |
static void detect(); |
35 |
|
static void enableDenormalsAreZeroMode(); |
36 |
|
static String featuresAsString(); |
37 |
|
|
38 |
#if ARCH_X86 |
#if ARCH_X86 |
39 |
inline static bool supportsMMX() { return bMMX; } |
inline static bool supportsMMX() { return bMMX; } |