Attila Uygun
2823aa3197
Implement AudioDeviceWASAPI
2023-10-04 19:58:56 +02:00
Attila Uygun
02418aa42a
Rename AudioSink to AudioDevice
2023-09-30 22:43:28 +02:00
Attila Uygun
d779d17b3d
Add separate gn configs for renderer, audio and platform
2023-09-23 22:49:10 +02:00
Attila Uygun
001b3b60ec
Support for Windows platform
2023-08-13 00:06:04 +02:00
Attila Uygun
8503c549d7
Use aligned memory in stb_image
2023-08-09 01:16:15 +02:00
Attila Uygun
96d6a52a74
Update timer.h
...
Remove Timer class. Add ElapsedTimer and DeltaTimer classes that use
std::chrono::high_resolution_clock
2023-08-08 00:32:07 +02:00
Attila Uygun
e65d37e846
Make member variables in MixerInput private
2023-07-16 12:42:07 +02:00
Attila Uygun
19910be27e
Refactoring and comments for MixerInput
2023-07-14 00:35:20 +02:00
Attila Uygun
38813f98b4
Move AudioMixer::Resource to MixerInput
2023-07-13 10:49:42 +02:00
Attila Uygun
e509588f61
Optimization for AudioMixer
...
Remove resource map and use std::shared_ptr<void>
2023-07-11 23:29:47 +02:00
Attila Uygun
c6546b43b5
Add log verbosity level
2023-06-28 22:25:39 +02:00
Attila Uygun
b07ce8514e
Do not reset source index when streaming is in progress
2023-06-26 20:03:22 +02:00
Attila Uygun
467e73d3a8
Fix for looping audio
2023-06-26 20:03:15 +02:00
Attila Uygun
69a05c00e9
Support for adding tasks in front of the task queue
2023-06-24 11:04:07 +02:00
Attila Uygun
305b23738c
Make thread-local-task-runner a shared_ptr
2023-06-13 23:27:10 +02:00
Attila Uygun
ab4c0c7e57
Cleanup
2023-06-12 00:34:29 +02:00
Attila Uygun
557eb517cb
Renaming
2023-06-04 19:28:55 +02:00
Attila Uygun
76fb19ab3a
Move AudioSinkDelegate into AudioSink
2023-06-04 11:31:37 +02:00
Attila Uygun
a39efa5d3c
Add comments
2023-06-04 11:13:22 +02:00
Attila Uygun
7b637a95d9
Refactoring audio code
...
- Add AudioBus
- Move resampling to AudioBus
- Move SincResampler to engine/audio
2023-06-04 01:42:10 +02:00
Attila Uygun
d5ee1c7313
Rename AudioDriver to AudioSink
2023-05-24 23:14:51 +02:00
Attila Uygun
8d28d85a09
Move AudioDriver ownership to AudioMixer
2023-05-24 23:14:14 +02:00
Attila Uygun
5cad50bf55
fix audio
2023-05-21 22:23:04 +02:00
Attila Uygun
c90d039944
Refactoring audio code
2023-05-18 22:25:11 +02:00
Attila Uygun
58cc270e24
Use final and override appropriately
2023-05-16 08:46:50 +02:00
Attila Uygun
0866349f58
Code cleanup
...
- Use absolute paths for includes.
- Add file path to include guards.
- Use uint64_t for resource id.
- Compile engine code into separate lib.
- Compile time and run time string hashing functions.
- Rename Worker to ThreadPool.
- Update .gitignore
- Code generator for texture compressor.
2021-10-27 18:22:32 +02:00
Attila Uygun
44aa8b2a33
Audio code refactoring.
2021-10-26 23:34:51 +02:00
Attila Uygun
7920d9f251
Update.
...
- Implement PersistentData.
- Update jsoncpp (1.9.3).
- Update logging implementation.
- New audio resampler (SincResampler).
- Avoid busy-looping in audio thread (AudioAlsa).
- Add BindWeak.
- AdMob support.
- Support for record/replay user input.
- Custom shader support for ImageQuad.
- Implement SetKeepScreenOn for Android.
- Move animation updates to Engine.
- Code refactoring for renderer.
- Various fixes and code cleanup.
2021-02-10 00:39:04 +01:00
Attila Uygun
9d92d01be1
Update.
...
- Various fixes for sound system.
- Code cleanup and refactoring.
- Move boilerplate code to engine.
- Texture management is moved to engine. Game code uses asset names and
doesn't know about textures.
- Multi-touch support.
- GN build (WIP)
- Add LOG_DIFF, CHECK, DCHECK and NOTREACHED.
- Implement global thread-pool for Worker.
- Use TaskRunner in ThreadPool.
- Font: Cover all ASCII chars.
- Option to disable audio and vibration.
2020-09-08 21:08:11 +02:00
Attila Uygun
05466725af
Initial commit.
2020-09-08 21:08:07 +02:00