mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibAudio: Override onAudioReady in PlaybackStreamOboe
This commit is contained in:
parent
4e6e23c242
commit
8fe2c9e43d
Notes:
github-actions[bot]
2024-09-03 06:19:25 +00:00
Author: https://github.com/Olekoop
Commit: 8fe2c9e43d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1006
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ namespace Audio {
|
|||
|
||||
class OboeCallback : public oboe::AudioStreamDataCallback {
|
||||
public:
|
||||
virtual oboe::DataCallbackResult onAudioReady(oboe::AudioStream* oboeStream, void* audioData, int32_t numFrames)
|
||||
virtual oboe::DataCallbackResult onAudioReady(oboe::AudioStream* oboeStream, void* audioData, int32_t numFrames) override
|
||||
{
|
||||
Bytes output_buffer {
|
||||
reinterpret_cast<u8*>(audioData),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue