Skip to content

Commit

Permalink
use named constants not number
Browse files Browse the repository at this point in the history
  • Loading branch information
mark committed Oct 25, 2021
1 parent d41c8be commit e24cc8a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions play_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,7 @@ class AudioPlayQueue : public AudioStream
#endif
public:
AudioPlayQueue(void) : AudioStream(0, NULL),
userblock(NULL), uptr(0), head(0), tail(0),
#if defined(__IMXRT1062__) || defined(__MK66FX1M0__) || defined(__MK64FX512__)
max_buffers(80)
#else
max_buffers(32)
#endif
{ }
userblock(NULL), uptr(0), head(0), tail(0), max_buffers(MAX_BUFFERS) { }
void play(int16_t data);
void play(const int16_t *data, uint32_t len);
bool available(void);
Expand Down

0 comments on commit e24cc8a

Please sign in to comment.