Browse Source

Sequencer: Cleanup prototypes.

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
6e776faf24
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      sequencer/src/grid.H

+ 4
- 4
sequencer/src/grid.H View File

@@ -160,8 +160,8 @@ public:

int y_to_note ( int y ) const;
int note_to_y ( int n ) const;
tick_t x_to_ts ( tick_t x ) const;
tick_t ts_to_x ( tick_t ts ) const;
tick_t x_to_ts ( unsigned long x ) const;
unsigned long ts_to_x ( tick_t ts ) const;

virtual Grid * create ( void ) = 0;
virtual Grid * clone ( void ) = 0;
@@ -258,14 +258,14 @@ Grid::note_to_y ( int n ) const
}

inline tick_t
Grid::x_to_ts ( tick_t x ) const
Grid::x_to_ts ( unsigned long x ) const
{
return (x * PPQN) / _ppqn;

// return x * (PPQN / _ppqn);
}

inline tick_t
inline unsigned long
Grid::ts_to_x ( tick_t ts ) const
{
return (ts * _ppqn) / PPQN;


Loading…
Cancel
Save