|
From: <pst...@us...> - 2008-05-21 15:51:31
|
Revision: 551
http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=551&view=rev
Author: pstieber
Date: 2008-05-21 08:51:25 -0700 (Wed, 21 May 2008)
Log Message:
-----------
Updated the ALSA specific portion of the player code for the latest event encapsulation changes.
Modified Paths:
--------------
trunk/jazz/src/Player.cpp
Modified: trunk/jazz/src/Player.cpp
===================================================================
--- trunk/jazz/src/Player.cpp 2008-05-21 15:47:39 UTC (rev 550)
+++ trunk/jazz/src/Player.cpp 2008-05-21 15:51:25 UTC (rev 551)
@@ -1630,7 +1630,7 @@
tKeyOn* pKeyOn = pEvent->IsKeyOn();
SEQ_START_NOTE(
mididev,
- pKeyOn->Channel,
+ pKeyOn->GetChannel(),
pKeyOn->GetKey(),
pKeyOn->GetVelocity());
if (now) seqbuf_flush_last_event();
@@ -1642,7 +1642,7 @@
tKeyOff* pKeyOff = pEvent->IsKeyOff();
SEQ_STOP_NOTE(
mididev,
- pKeyOff->Channel,
+ pKeyOff->GetChannel(),
pKeyOff->Key,
pKeyOff->OffVeloc);
if (now) seqbuf_flush_last_event();
@@ -1651,7 +1651,7 @@
case StatProgram:
{
tProgram *k = pEvent->IsProgram();
- SEQ_SET_PATCH(mididev, k->Channel, k->Program);
+ SEQ_SET_PATCH(mididev, k->GetChannel(), k->Program);
if (now) seqbuf_flush_last_event();
}
break;
@@ -1660,7 +1660,7 @@
case StatKeyPressure:
{
tKeyPressure *k = pEvent->IsKeyPressure();
- SEQ_KEY_PRESSURE(mididev, k->Channel, k->Key, k->Value);
+ SEQ_KEY_PRESSURE(mididev, k->GetChannel(), k->Key, k->Value);
if (now) seqbuf_flush_last_event();
}
break;
@@ -1669,7 +1669,7 @@
case StatChnPressure:
{
tChnPressure *k = pEvent->IsChnPressure();
- SEQ_CHN_PRESSURE(mididev, k->Channel, k->Value);
+ SEQ_CHN_PRESSURE(mididev, k->GetChannel(), k->Value);
if (now) seqbuf_flush_last_event();
}
break;
@@ -1677,7 +1677,7 @@
case StatControl:
{
tControl *k = pEvent->IsControl();
- SEQ_CONTROL(mididev, k->Channel, k->mControl, k->mValue);
+ SEQ_CONTROL(mididev, k->GetChannel(), k->mControl, k->mValue);
if (now) seqbuf_flush_last_event();
}
break;
@@ -1685,7 +1685,7 @@
case StatPitch:
{
tPitch *k = pEvent->IsPitch();
- SEQ_BENDER(mididev, k->Channel, k->Value + 8192);
+ SEQ_BENDER(mididev, k->GetChannel(), k->Value + 8192);
if (now) seqbuf_flush_last_event();
}
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|