Remove unused (and weirdly typed) time parameter from begin_write.

Fix append_event_unlocked shadowing.


git-svn-id: svn://localhost/ardour2/branches/3.0@4535 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard
2009-02-11 20:37:22 +00:00
parent 43c9e2a121
commit 3d1b648130
6 changed files with 12 additions and 13 deletions

View File

@@ -281,7 +281,7 @@ SMF<Time>::read_event(uint32_t* delta_t, uint32_t* size, uint8_t** buf) const
template<typename Time>
void
SMF<Time>::append_event_unlocked(uint32_t delta_t, const Event<Time>& ev)
SMF<Time>::append_event_delta(uint32_t delta_t, const Event<Time>& ev)
{
if (ev.size() == 0)
return;
@@ -304,7 +304,7 @@ SMF<Time>::append_event_unlocked(uint32_t delta_t, const Event<Time>& ev)
template<typename Time>
void
SMF<Time>::begin_write(FrameTime start_frame)
SMF<Time>::begin_write()
{
_last_ev_time = 0;
fseek(_fd, _header_size, SEEK_SET);