Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
c5354bee
Commit
c5354bee
authored
Sep 29, 2011
by
Mark Nauwelaerts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
speexdec: port to audiodecoder
parent
53476c15
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
489 deletions
+110
-489
ext/speex/gstspeexdec.c
ext/speex/gstspeexdec.c
+106
-481
ext/speex/gstspeexdec.h
ext/speex/gstspeexdec.h
+4
-8
No files found.
ext/speex/gstspeexdec.c
View file @
c5354bee
This diff is collapsed.
Click to expand it.
ext/speex/gstspeexdec.h
View file @
c5354bee
...
...
@@ -22,6 +22,8 @@
#define __GST_SPEEX_DEC_H__
#include <gst/gst.h>
#include <gst/audio/gstaudiodecoder.h>
#include <speex/speex.h>
#include <speex/speex_callbacks.h>
#include <speex/speex_header.h>
...
...
@@ -44,11 +46,7 @@ typedef struct _GstSpeexDec GstSpeexDec;
typedef
struct
_GstSpeexDecClass
GstSpeexDecClass
;
struct
_GstSpeexDec
{
GstElement
element
;
/* pads */
GstPad
*
sinkpad
;
GstPad
*
srcpad
;
GstAudioDecoder
element
;
void
*
state
;
SpeexStereoState
*
stereo
;
...
...
@@ -67,14 +65,12 @@ struct _GstSpeexDec {
GstClockTime
frame_duration
;
guint64
packetno
;
GstSegment
segment
;
/* STREAM LOCK */
GstBuffer
*
streamheader
;
GstBuffer
*
vorbiscomment
;
};
struct
_GstSpeexDecClass
{
Gst
Element
Class
parent_class
;
Gst
AudioDecoder
Class
parent_class
;
};
GType
gst_speex_dec_get_type
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment