Ticket #7 (new defect)

Opened 2 years ago

Last modified 2 years ago

inconsistent inclusion of portaudio.h in the various platform-specific headers

Reported by: rossb Owned by: rossb
Priority: minor Milestone:
Component: public-api Version:
Keywords: Cc:

Description

Some platform specific headers include portaudio.h, others don't, but require the user to include it.

I think probably we should standardise the include guards for all portaudio headers on INCLUDED_PORTAUDIO_filename_H and then do something like this in the platform specific headers:

#ifndef INCLUDED_PORTAUDIO_PORTAUDIO_H #include "portaudio.h" #endif /* INCLUDED_PORTAUDIO_PORTAUDIO_H */

That avoids possible multiple inclusions without requiring inclusion of portaudio.h by the caller. The alternative is to not include portaudio.h in any of the platform specific headers...

Change History

Changed 2 years ago by rossb

  • owner changed from somebody to rossb
  • component changed from other to public-api
Note: See TracTickets for help on using tickets.