The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SDL2::AudioStream - A new audio conversion interface

SYNOPSIS

    use SDL2 qw[:all];

DESCRIPTION

The benefits of SDL2::AudioStream vs SDL2::AudioCVT:

- it can handle resampling data in chunks without generating artifacts, when it doesn't have the complete buffer available
- it can handle incoming data in any variable size
- You push data as you have it, and pull it when you need it

Fields

The contents of this structure are opaque to the outside world.

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>