Rename alcmain.h to device.h

This commit is contained in:
Chris Robinson 2021-04-27 16:40:22 -07:00
parent 061148072f
commit 06dcfc3fcf
16 changed files with 30 additions and 44 deletions

View File

@ -763,12 +763,13 @@ set(OPENAL_OBJS
# ALC and related routines
set(ALC_OBJS
alc/alc.cpp
alc/alcmain.h
alc/alu.cpp
alc/alu.h
alc/alconfig.cpp
alc/alconfig.h
alc/alcontext.h
alc/device.cpp
alc/device.h
alc/effectslot.cpp
alc/effectslot.h
alc/effects/base.h

View File

@ -36,9 +36,9 @@
#include "AL/efx.h"
#include "albit.h"
#include "alc/alcmain.h"
#include "alc/alcontext.h"
#include "alc/alu.h"
#include "alc/device.h"
#include "alc/inprogext.h"
#include "almalloc.h"
#include "alnumeric.h"

View File

@ -8,7 +8,7 @@
#include "AL/alc.h"
#include "AL/efx.h"
#include "alc/alcmain.h"
#include "alc/device.h"
#include "alc/effectslot.h"
#include "alc/effects/base.h"
#include "almalloc.h"

View File

@ -43,8 +43,8 @@
#include "albit.h"
#include "albyte.h"
#include "alc/alcmain.h"
#include "alc/alcontext.h"
#include "alc/device.h"
#include "alc/inprogext.h"
#include "almalloc.h"
#include "alnumeric.h"

View File

@ -39,8 +39,8 @@
#include "AL/efx.h"
#include "albit.h"
#include "alc/alcmain.h"
#include "alc/alcontext.h"
#include "alc/device.h"
#include "alc/effects/base.h"
#include "almalloc.h"
#include "alnumeric.h"

View File

@ -37,8 +37,8 @@
#include "AL/efx.h"
#include "albit.h"
#include "alc/alcmain.h"
#include "alc/alcontext.h"
#include "alc/device.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "core/except.h"

View File

@ -46,10 +46,10 @@
#include "AL/efx.h"
#include "albit.h"
#include "alc/alcmain.h"
#include "alc/alcontext.h"
#include "alc/alu.h"
#include "alc/backends/base.h"
#include "alc/device.h"
#include "alc/inprogext.h"
#include "almalloc.h"
#include "alnumeric.h"

View File

@ -24,25 +24,25 @@
#include <atomic>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <mutex>
#include <stdexcept>
#include <string>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "alc/alcmain.h"
#include "alc/alcontext.h"
#include "alc/alu.h"
#include "alc/inprogext.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alspan.h"
#include "aloptional.h"
#include "atomic.h"
#include "core/context.h"
#include "core/except.h"
#include "core/mixer/defs.h"
#include "core/voice.h"
#include "event.h"
#include "intrusive_ptr.h"
#include "opthelpers.h"
#include "strutils.h"

View File

@ -66,7 +66,6 @@
#include "al/listener.h"
#include "al/source.h"
#include "albit.h"
#include "alcmain.h"
#include "albyte.h"
#include "alconfig.h"
#include "alcontext.h"
@ -94,6 +93,7 @@
#include "core/logging.h"
#include "core/uhjfilter.h"
#include "core/voice_change.h"
#include "device.h"
#include "effects/base.h"
#include "inprogext.h"
#include "intrusive_ptr.h"

View File

@ -20,16 +20,15 @@
#include "config.h"
#include "backends/sdl2.h"
#include "sdl2.h"
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <string>
#include "alcmain.h"
#include "almalloc.h"
#include "alu.h"
#include "core/device.h"
#include "core/logging.h"
#include <SDL2/SDL.h>

View File

@ -1,7 +1,7 @@
#ifndef BACKENDS_SDL2_H
#define BACKENDS_SDL2_H
#include "backends/base.h"
#include "base.h"
struct SDL2BackendFactory final : public BackendFactory {
public:

View File

@ -20,7 +20,7 @@
#include "config.h"
#include "backends/solaris.h"
#include "solaris.h"
#include <sys/ioctl.h>
#include <sys/types.h>
@ -39,10 +39,9 @@
#include <thread>
#include <functional>
#include "alcmain.h"
#include "albyte.h"
#include "alu.h"
#include "alconfig.h"
#include "alc/alconfig.h"
#include "core/device.h"
#include "core/helpers.h"
#include "core/logging.h"
#include "threads.h"

View File

@ -1,7 +1,7 @@
#ifndef BACKENDS_SOLARIS_H
#define BACKENDS_SOLARIS_H
#include "backends/base.h"
#include "base.h"
struct SolarisBackendFactory final : public BackendFactory {
public:

4
alc/device.cpp Normal file
View File

@ -0,0 +1,4 @@
#include "config.h"
#include "device.h"

View File

@ -1,35 +1,18 @@
#ifndef ALC_MAIN_H
#define ALC_MAIN_H
#ifndef ALC_DEVICE_H
#define ALC_DEVICE_H
#include <algorithm>
#include <array>
#include <atomic>
#include <bitset>
#include <chrono>
#include <cstdint>
#include <cstddef>
#include <memory>
#include <mutex>
#include <stdint.h>
#include <string>
#include <thread>
#include <utility>
#include "AL/al.h"
#include "AL/alc.h"
#include "AL/alext.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alspan.h"
#include "atomic.h"
#include "core/ambidefs.h"
#include "core/bufferline.h"
#include "core/devformat.h"
#include "core/device.h"
#include "core/filters/splitter.h"
#include "core/hrtf.h"
#include "core/mixer/defs.h"
#include "inprogext.h"
#include "intrusive_ptr.h"
#include "vector.h"

View File

@ -38,7 +38,6 @@
#include "AL/alext.h"
#include "al/auxeffectslot.h"
#include "alcmain.h"
#include "alconfig.h"
#include "alcontext.h"
#include "almalloc.h"
@ -56,6 +55,7 @@
#include "core/hrtf.h"
#include "core/logging.h"
#include "core/uhjfilter.h"
#include "device.h"
#include "math_defs.h"
#include "opthelpers.h"