You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __BASICAUDIOSOURCE_H_INCL__
  2. #define __BASICAUDIOSOURCE_H_INCL__
  3. #include "basicMediaInput.h"
  4. /**
  5. * TODO: Add class description
  6. *
  7. * @author gagua
  8. */
  9. class basicAudioSource : public basicMediaInput
  10. {
  11. public:
  12. // Constructor
  13. basicAudioSource();
  14. // Destructor
  15. virtual ~basicAudioSource();
  16. // Copy constructor
  17. // TODO: Uncomment the copy constructor when you need it.
  18. // basicAudioSource(const basicAudioSource& src);
  19. // Assignment operator
  20. // TODO: Uncomment the assignment operator when you need it.
  21. // basicAudioSource& operator=(const basicAudioSource& src);
  22. };
  23. // Constructor implementation
  24. inline basicAudioSource::basicAudioSource() :
  25. basicMediaInput(MT_AUDIO)
  26. {
  27. }
  28. // Destructor implementation
  29. inline basicAudioSource::~basicAudioSource() {}
  30. // TODO: Uncomment the copy constructor when you need it.
  31. // inline basicAudioSource::basicAudioSource(const basicAudioSource& src)
  32. //{
  33. // // TODO: copy
  34. //}
  35. // TODO: Uncomment the assignment operator when you need it.
  36. // inline basicAudioSource& basicAudioSource::operator=(const basicAudioSource& rhs)
  37. //{
  38. // if (this == &rhs) {
  39. // return *this;
  40. // }
  41. //
  42. // // TODO: assignment
  43. //
  44. // return *this;
  45. //}
  46. #endif // __BASICAUDIOSOURCE_H_INCL__