Changeset 5301:f3e9cd30574d in roaraudio for roard/clients.c


Ignore:
Timestamp:
11/25/11 18:20:03 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

move away from roar_buffer_add() (See: #126)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r5295 r5301  
    798798} 
    799799 
    800 int clients_add_output (int id, struct roar_buffer * buf) { 
     800int clients_add_output (int id, struct roar_buffer ** buf) { 
    801801 struct roar_client_server   * cs; 
    802802 
     
    805805 
    806806 if ( cs->outbuf == NULL ) { 
    807   cs->outbuf = buf; 
     807  cs->outbuf = *buf; 
    808808 } else { 
    809   return roar_buffer_add(cs->outbuf, buf); 
     809  return roar_buffer_moveinto(cs->outbuf, buf); 
    810810 } 
    811811 
Note: See TracChangeset for help on using the changeset viewer.