Changeset 4386:716ab8be37ec in roaraudio


Ignore:
Timestamp:
09/14/10 23:54:03 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

correctly copy volumes over, do not try to memcpy() and hope

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r4383 r4386  
    989989     if ( tsubsys == subsys || tsubsys == ROAR_SUBSYS_NONE ) { 
    990990      if ( &(pmss->mixer) != &(ss->mixer) ) { 
    991        memcpy(&(pmss->mixer), &(ss->mixer), sizeof(struct roar_mixer_settings)); 
     991       roar_conv_volume(&(pmss->mixer), &(ss->mixer), ROAR_STREAM(pmss)->info.channels, ROAR_STREAM(ss)->info.channels); 
    992992      } 
    993993 
Note: See TracChangeset for help on using the changeset viewer.