Changeset 3383:d1e120c6cf34 in roaraudio


Ignore:
Timestamp:
02/11/10 12:22:22 (10 years ago)
Author:
phi
Branch:
default
Message:

updated roar_pa_sspec2auinfo(), make API more clear

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroarpulse/libroarpulse.h

    r3382 r3383  
    5151int roar_codec_pulse2roar (int codec); 
    5252 
    53 int roar_pa_sspec2auinfo (pa_sample_spec * ss, struct roar_audio_info * info); 
     53int roar_pa_sspec2auinfo (struct roar_audio_info * info, const pa_sample_spec * ss); 
    5454 
    5555#endif 
  • libroarpulse/libroarpulse.c

    r3382 r3383  
    4343} 
    4444 
    45 int roar_pa_sspec2auinfo (pa_sample_spec * ss, struct roar_audio_info * info) { 
     45int roar_pa_sspec2auinfo (struct roar_audio_info * info, const pa_sample_spec * ss) { 
    4646 if ( ss == NULL || info == NULL ) 
    4747  return -1; 
Note: See TracChangeset for help on using the changeset viewer.