gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server gnash.h


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/server gnash.h
Date: Sun, 29 Oct 2006 17:12:23 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/10/29 17:12:23

Modified files:
        server         : gnash.h 

Log message:
        added audio streamer for video

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/gnash.h?cvsroot=gnash&r1=1.69&r2=1.70

Patches:
Index: gnash.h
===================================================================
RCS file: /sources/gnash/gnash/server/gnash.h,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- gnash.h     27 Oct 2006 14:27:57 -0000      1.69
+++ gnash.h     29 Oct 2006 17:12:23 -0000      1.70
@@ -35,7 +35,7 @@
 // 
 //
 
-/* $Id: gnash.h,v 1.69 2006/10/27 14:27:57 alexeev Exp $ */
+/* $Id: gnash.h,v 1.70 2006/10/29 17:12:23 alexeev Exp $ */
 
 /// \mainpage
 ///
@@ -406,6 +406,8 @@
 {
 public:
 
+       typedef void (*aux_streamer_ptr)(void *udata, Uint8 *stream, int len);  
//vv
+
        struct sound_envelope
        {
                uint32_t m_mark44;
@@ -483,6 +485,13 @@
        //// @return Whether or not sound is muted.
        virtual bool    is_muted() = 0;
 
+       virtual void    attach_aux_streamer(aux_streamer_ptr ptr, void* owner) 
= 0;     //vv
+       virtual void    detach_aux_streamer(void* owner) = 0;   //vv
+
+       // Converts input data to the SDL output format.
+       virtual void    convert_raw_data(int16_t** adjusted_data,
+                         int* adjusted_size, void* data, int sample_count,
+                         int sample_size, int sample_rate, bool stereo) = 0;   
//vv
 
        virtual ~sound_handler() {};
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]