view png.h @ 1566:cbb40af77a94

Moved resample rate adjustment to after frame flip rather than in audio callback as it makes more sense there. Needs adjustment to avoid audible pitch changes
author Michael Pavone <pavone@retrodev.com>
date Tue, 17 Apr 2018 00:20:41 -0700
parents b505083dcd87
children 0ec89dadb36d
line wrap: on
line source

#ifndef PNG_H_
#define PNG_H_

void save_png24(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch);
void save_png(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch);

#endif //PNG_H_