pods::...xChunk(3pm)
π NAME π
SDL::Mixer::MixChunk β SDL Bindings for structure SDL_MixChunk.
okay so this page is literally pods::...xChunk(3pm) from the User Contributed Perl Documentation, and it's giving βtiny reference page for a mixer chunkβ energy β¨
π CATEGORY π
Mixer, Structure. that's the whole category vibe, bestie π«Ά
π SYNOPSIS π
the setup is, and I cannot stress this enough, exactly this:
use SDL;
use SDL::Mixer::MixChunk;
my $mix_chunk = SDL::Mixer::Music::load_WAV('sample.wav');
printf("length of audio data is %d bytes\n", $mix_chunk->alen);
printf("volume is %d\n", $mix_chunk->volume);
π¦ DESCRIPTION π¦
Stores audio data in memory. that's it, that's the main character behavior π§π
Note: It's a bad idea to free a chunk that is still being played... not me warning you bestie ππ«
πΈ METHODS πΈ
β¨ alen
length of audio data in bytes. yes ma'am, bytes π
π₯ volume
Per-sample volume, 0-128 (normally MIX_MAX_VOLUME after loading). screaming, crying, perfect volume range ποΈβ¨
π AUTHORS π
See "AUTHORS" in SDL for the author lore, iykyk ππ
With love from the perl v5.42.0 era, dated 2024-05-01, on the pods::...xChunk(3pm) page β mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms