MusicBuffer: set VMA name

Shows the name in /proc/PID/maps, e.g.:

 7fa57b000000-7fa57c000000 rw-p 00000000 00:00 0                          [anon:MusicBuffer]
This commit is contained in:
Max Kellermann 2022-04-26 20:34:19 +02:00
parent 7ed67d216b
commit 58a345d346

View File

@ -23,7 +23,9 @@
#include <cassert>
MusicBuffer::MusicBuffer(unsigned num_chunks)
:buffer(num_chunks) {
:buffer(num_chunks)
{
buffer.SetName("MusicBuffer");
}
MusicChunkPtr