users/ccr/sidplay2
changeset 253:fa12da068141
Begin code base merge with xsidplay.
| author | s_a_white |
|---|---|
| date | Thu Aug 23 22:50:41 2007 +0300 (2007-08-23) |
| parents | e60da72848eb |
| children | cda64b2766fd |
| files | src/audio/AudioConfig.h |
line diff
1.1 --- a/src/audio/AudioConfig.h Sat Jan 27 13:37:33 2007 +0200 1.2 +++ b/src/audio/AudioConfig.h Thu Aug 23 22:50:41 2007 +0300 1.3 @@ -16,6 +16,9 @@ 1.4 ***************************************************************************/ 1.5 /*************************************************************************** 1.6 * $Log$ 1.7 + * Revision 1.4 2007/08/23 19:50:41 s_a_white 1.8 + * Begin code base merge with xsidplay. 1.9 + * 1.10 * Revision 1.3 2002/01/10 22:03:27 s_a_white 1.11 * Namespace not used yet (enable later). 1.12 * 1.13 @@ -67,6 +70,15 @@ 1.14 encoding = AUDIO_UNSIGNED_PCM; 1.15 bufSize = 0; 1.16 } 1.17 + 1.18 + const bool operator==(const AudioConfig& a) const 1.19 + { 1.20 + return frequency == a.frequency 1.21 + && precision == a.precision 1.22 + && channels == a.channels 1.23 + && encoding == a.encoding 1.24 + && bufSize == a.bufSize; 1.25 + } 1.26 }; 1.27 1.28 #endif // _AudioConfig_h_
