Changeset 5300:190af1adf91c in roaraudio for libroarpulse


Ignore:
Timestamp:
11/25/11 10:05:31 (8 years ago)
Author:
phi
Branch:
default
Message:

first commit to move away from old roar_buffer_add() to roar_buffer_moveinto() (See: #126)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/stream.c

    r5289 r5300  
    256256     s->iobuffer = buf; 
    257257    } else { 
    258      if ( roar_buffer_add(s->iobuffer, buf) == -1 ) { 
     258     if ( roar_buffer_moveinto(s->iobuffer, &buf) == -1 ) { 
    259259      roar_buffer_free(buf); 
    260260      return; 
     
    463463  p->iobuffer = buf; 
    464464 } else { 
    465   if ( roar_buffer_add(p->iobuffer, buf) == -1 ) 
     465  if ( roar_buffer_moveinto(p->iobuffer, &buf) == -1 ) 
    466466   return -1; 
    467467 } 
Note: See TracChangeset for help on using the changeset viewer.