[svn-commits] tilghman: branch 1.4 r490 - /branches/1.4/format_mp3/format_mp3.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Nov 29 17:47:55 CST 2007
Author: tilghman
Date: Thu Nov 29 17:47:53 2007
New Revision: 490
URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=490
Log:
Track API change (Closes issue #11401)
Modified:
branches/1.4/format_mp3/format_mp3.c
Modified: branches/1.4/format_mp3/format_mp3.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.4/format_mp3/format_mp3.c?view=diff&rev=490&r1=489&r2=490
==============================================================================
--- branches/1.4/format_mp3/format_mp3.c (original)
+++ branches/1.4/format_mp3/format_mp3.c Thu Nov 29 17:47:53 2007
@@ -98,7 +98,7 @@
static int mp3_open(struct ast_filestream *s)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
InitMP3(&p->mp, OUTSCALE);
p->dbuflen = 0;
@@ -115,7 +115,7 @@
static void mp3_close(struct ast_filestream *s)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
ExitMP3(&p->mp);
return;
@@ -123,7 +123,7 @@
static int mp3_squeue(struct ast_filestream *s)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
int res=0;
p->lastseek = ftell(s->f);
@@ -142,7 +142,7 @@
static int mp3_dqueue(struct ast_filestream *s)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
int res=0;
if((res = decodeMP3(&p->mp,NULL,0,p->dbuf,MP3_DCACHE,&p->dbuflen)) == MP3_OK) {
@@ -154,7 +154,7 @@
static int mp3_queue(struct ast_filestream *s)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
int res = 0, bytes = 0;
if(p->seek) {
@@ -199,7 +199,7 @@
static struct ast_frame *mp3_read(struct ast_filestream *s, int *whennext)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
int delay =0;
int save=0;
@@ -255,7 +255,7 @@
static int mp3_seek(struct ast_filestream *s, off_t sample_offset, int whence)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
off_t min,max,cur;
long offset=0,samples;
samples = sample_offset * 2;
@@ -295,7 +295,7 @@
static off_t mp3_tell(struct ast_filestream *s)
{
- struct mp3_private *p = s->private;
+ struct mp3_private *p = s->_private;
return p->offset/2;
}
More information about the svn-commits
mailing list