From 26f5342bb8227f73dbee833f4fbe1cece97154a2 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 7 Feb 2016 06:16:45 +0300 Subject: Taking generated audio also via pointer Not only via callback funtion pointer --- src/dbopl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dbopl.h') diff --git a/src/dbopl.h b/src/dbopl.h index bf10295..794c645 100644 --- a/src/dbopl.h +++ b/src/dbopl.h @@ -265,7 +265,8 @@ struct Handler { void Generate( void(*AddSamples_m32)(Bitu,Bit32s*), void(*AddSamples_s32)(Bitu,Bit32s*), Bitu samples ); - void Init( Bitu rate ); + void GenerateArr(Bit32s* out, Bitu *samples ); + void Init( Bitu rate ); }; -- cgit v1.2.3