JustAudio/io/int.h
Maurice O'Neal 73a8c03fa1 Added a logo to the project and changed the "settings" button to "menu"
and added some options to the menu that changes the behaviour of the
app. such as turning on/off the auto playing of files and the directory
and volume control. this is all kept persistent using an IDM formated
file in the app's config directory. still having issues with it not
calculating the durations properly but i now know why. it's because
QMediaPlayer can't calculate the durations of VBR files (variable bit-
rate) properly. other than that, everything seems to be working
perfectly. i'll add more feasures such as a next/previous file button
and a stop button.
2016-10-16 17:04:21 -04:00

16 lines
296 B
C

#ifndef INT_H
#define INT_H
#include <QByteArray>
#include <QList>
#define INT_SIZE 6
float rdFloat(const QByteArray &data);
quint64 rdInt(const QByteArray &data);
QByteArray wrInt(quint64 value);
QByteArray wrInt(quint64 value, int);
QByteArray wrFloat(float value);
#endif // INT_H