diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2026-01-06 00:19:46 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2026-01-06 00:28:14 +0100 |
| commit | 572b6227417225ad595cb9768025001d9faa7314 (patch) | |
| tree | d42fb5f570f691dd0ed19d0b1cb88288b085e2b4 /mpeglib/lib/decoder | |
| parent | 53cc18a718986fece2790ef71e87a1a16bbe3c23 (diff) | |
| download | tdemultimedia-master.tar.gz tdemultimedia-master.zip | |
Finishing the remaining renames from #97.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mpeglib/lib/decoder')
| -rw-r--r-- | mpeglib/lib/decoder/tplayPlugin.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mpeglib/lib/decoder/tplayPlugin.cpp b/mpeglib/lib/decoder/tplayPlugin.cpp index 150b1ba2..2110cdcf 100644 --- a/mpeglib/lib/decoder/tplayPlugin.cpp +++ b/mpeglib/lib/decoder/tplayPlugin.cpp @@ -23,18 +23,18 @@ TplayPlugin::TplayPlugin() { info=new info_struct(); info->progname = NULL; - info->loop = FALSE; - info->in_seconds = FALSE; + info->loop = false; + info->in_seconds = false; info->speed = DEFAULT_SPEED; info->bits = DEFAULT_BITS; info->channels = DEFAULT_CHANNELS; info->buffer_size = BUFFER_SIZE; - info->show_usage = FALSE; - info->swap = FALSE; - info->forceraw = FALSE; - info->force = FALSE; + info->show_usage = false; + info->swap = false; + info->forceraw = false; + info->force = false; info->device = NULL; - info->verbose = FALSE; + info->verbose = false; info->optind = 0; info->buffer = NULL; info->firstblock = NULL; @@ -43,10 +43,10 @@ TplayPlugin::TplayPlugin() { info->writeblock = 0; info->readcount = 0; info->writecount = 0; - info->alldone = FALSE; - info->overflow = FALSE; - info->underflow = FALSE; - info->audioset = FALSE; + info->alldone = false; + info->overflow = false; + info->underflow = false; + info->audioset = false; info->headerskip = 0; info->blocksize = 4096; info->bytes_on_last_block = 0; @@ -88,9 +88,9 @@ void TplayPlugin::decoder_loop() { read_header(); if (info->channels == 1) - stereo = FALSE; + stereo = false; else - stereo = TRUE; + stereo = true; info->number_of_blocks = 0; bufferp = info->buffer; @@ -127,7 +127,7 @@ void TplayPlugin::decoder_loop() { } if (bytesread < info->blocksize) { - info->alldone = TRUE; + info->alldone = true; } break; @@ -211,7 +211,7 @@ void TplayPlugin::read_header() { swap_block(bufferp, bytesread); if (bytesread < info->blocksize) { - info->alldone = TRUE; + info->alldone = true; info->bytes_on_last_block = bytesread; return; } |
