Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Game Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Game Development
Game Library
Commits
6c336249
Commit
6c336249
authored
1 year ago
by
Joseph Walton-Rivers
Browse files
Options
Downloads
Patches
Plain Diff
document both audio module options
parent
1d90b6ad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3929
canceled
1 year ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/fggl/audio/null_audio.hpp
+1
-0
1 addition, 0 deletions
include/fggl/audio/null_audio.hpp
include/fggl/audio/openal/module.hpp
+1
-0
1 addition, 0 deletions
include/fggl/audio/openal/module.hpp
with
2 additions
and
0 deletions
include/fggl/audio/null_audio.hpp
+
1
−
0
View file @
6c336249
...
...
@@ -37,6 +37,7 @@ namespace fggl::audio {
void
play
(
const
AudioClipShort
&
/*clip*/
,
bool
/*looping = false*/
)
override
;
};
//! A dummy audio module that does nothing
struct
NullAudio
{
constexpr
static
const
char
*
name
=
"fggl::audio::NULL"
;
constexpr
static
const
std
::
array
<
modules
::
ServiceName
,
1
>
provides
=
{
...
...
This diff is collapsed.
Click to expand it.
include/fggl/audio/openal/module.hpp
+
1
−
0
View file @
6c336249
...
...
@@ -33,6 +33,7 @@ namespace fggl::audio {
constexpr
auto
OGG_VORBIS
=
assets
::
AssetType
::
make
(
"audio/vorbis"
);
constexpr
auto
RES_OGG_VORBIS
=
assets
::
from_mime
(
"audio/vorbis"
);
//! an audio module which uses openal(-soft) as a backend.
struct
OpenAL
{
constexpr
static
const
char
*
name
=
"fggl::audio::OpenAL"
;
constexpr
static
const
std
::
array
<
modules
::
ServiceName
,
1
>
provides
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment