diff core/src/PathTypes.bsv @ 7:7393cd19371e pygar svn.8

[svn r8] added volume to routing table and types
author punk
date Wed, 21 Apr 2010 23:37:12 -0400
parents c4438eca4bc4
children
line wrap: on
line diff
     1.1 --- a/core/src/PathTypes.bsv	Wed Apr 21 23:22:10 2010 -0400
     1.2 +++ b/core/src/PathTypes.bsv	Wed Apr 21 23:37:12 2010 -0400
     1.3 @@ -12,7 +12,7 @@
     1.4  typedef Int#(TLog#(`MAX_PATH_IDS))  PathId;
     1.5  typedef Int#(24) Sample;
     1.6  typedef Int#(TLog#(`MAX_VOICES)) VoiceId;
     1.7 -
     1.8 +typedef Bit#(8) Volume; // This is arbitrarily set to 8 bits or max val 256
     1.9  
    1.10  //The mixer is identified as PathId 0, path end is max 
    1.11  PathId mixerId = 0;
    1.12 @@ -27,5 +27,6 @@
    1.13    VoiceId   voice;
    1.14    MemAddr   startAddr;
    1.15    CorePath  route;
    1.16 +  Volume    outVol;
    1.17  } FullPath deriving (Bits, Eq);
    1.18