mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
use constructor syntax
This commit is contained in:
parent
275756e96a
commit
318600d05e
1 changed files with 1 additions and 2 deletions
|
|
@ -350,9 +350,8 @@ DiskIOProcessor::use_playlist (DataType dt, boost::shared_ptr<Playlist> playlist
|
||||||
}
|
}
|
||||||
|
|
||||||
DiskIOProcessor::ChannelInfo::ChannelInfo (samplecnt_t bufsize)
|
DiskIOProcessor::ChannelInfo::ChannelInfo (samplecnt_t bufsize)
|
||||||
|
: buf (new RingBufferNPT<Sample> (bufsize))
|
||||||
{
|
{
|
||||||
buf = new RingBufferNPT<Sample> (bufsize);
|
|
||||||
|
|
||||||
/* touch the ringbuffer buffer, which will cause
|
/* touch the ringbuffer buffer, which will cause
|
||||||
them to be mapped into locked physical RAM if
|
them to be mapped into locked physical RAM if
|
||||||
we're running with mlockall(). this doesn't do
|
we're running with mlockall(). this doesn't do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue