Skip to content
Snippets Groups Projects

Pippin/media framework

Merged pippin requested to merge pippin/media_framework into main
2 unresolved threads
Compare and Show latest version
5 files
+ 16
12
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -150,9 +150,8 @@ static void mp3_think(st3m_media *media, float ms_elapsed) {
self->count - self->pos, rendered, &info);
self->samplerate = info.hz;
self->channels = info.channels;
if (info.frame_bytes > samples)
{
printf ("[[%s]]\n", self->data + self->pos);
if (info.frame_bytes > samples) {
printf("[[%s]]\n", self->data + self->pos);
}
self->pos += info.frame_bytes;
Loading