Skip to content

Commit

Permalink
Fix the fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Aug 29, 2024
1 parent 98dab9e commit 54476bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions SRC/AVSpeech.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Thanks Gruia for implementing AVSpeech.
#include "../Include/SRAL.h"
#include "Engine.h"
#include <string>
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

class AVSpeech : public Engine {
public:
Expand Down
3 changes: 3 additions & 0 deletions SRC/AVSpeech.mm
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include "AVSpeech.h"
#include <stdint.h>
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

AVSpeechSynthesisVoice* AVSpeech::getVoiceObject(NSString* name){
NSArray<AVSpeechSynthesisVoice*>* voices = [AVSpeechSynthesisVoice speechVoices];
for (AVSpeechSynthesisVoice* v in voices) {
Expand Down

0 comments on commit 54476bc

Please sign in to comment.