use constructor syntax
This commit is contained in:
parent
275756e96a
commit
318600d05e
@ -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…
Reference in New Issue
Block a user