Changeset 3685


Ignore:
Timestamp:
Jul 6, 2013, 1:55:50 AM (2 years ago)
Author:
quozl
Message:

OLPC ARM - fix noise when volume adjusted during startup, #12348

Location:
cpu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/sound.fth

    r3645 r3685  
    466466
    467467: install-playback-alarm     ( -- )
    468    true to alarmed?  ['] playback-alarm d# 3 alarm
     468   true to alarmed?  ['] playback-alarm d# 2 alarm
    469469;
    470470: uninstall-playback-alarm   ( -- )
     
    830830: wait-sound  ( -- )
    831831   lock[
    832    begin  playing?  while   d# 10 ms  ?end-playing  repeat
     832   begin  playing?  while   d# 2 ms  ?end-playing  repeat
    833833   ]unlock
    834834;
  • cpu/x86/adpcm.fth

    r2541 r3685  
    234234: wav-blk-size  ( -- blk-size )  wav-fmt-adr  dup  if  h# 14 + le-w@  then  ;
    235235
    236 : set-volume  ( -- )   " set-volume" $call-audio  ;
     236: set-volume  ( volume -- )   " set-volume" $call-audio  ;
    2372370 value src-sample-rate
    2382380 value dst-sample-rate
Note: See TracChangeset for help on using the changeset viewer.