Add comment on why default AudioSpec ctor is needed

Related to #70
This commit is contained in:
Dmitry Marakasov 2016-05-18 22:39:20 +03:00
parent f5a3d29bbc
commit b3a6c2c593

View File

@ -46,6 +46,9 @@ public:
////////////////////////////////////////////////////////////
/// \brief Create empty (invalid) audio format specification
///
/// This is needed for cases where e.g. SDL_LoadWAV() fills
/// existing SDL_AudioSpec structure with values.
///
////////////////////////////////////////////////////////////
AudioSpec();