The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

88 lines
2.4KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-7 by Raw Material Software ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the
  7. GNU General Public License, as published by the Free Software Foundation;
  8. either version 2 of the License, or (at your option) any later version.
  9. JUCE is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with JUCE; if not, visit www.gnu.org/licenses or write to the
  15. Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  16. Boston, MA 02111-1307 USA
  17. ------------------------------------------------------------------------------
  18. If you'd like to release a closed-source product which uses JUCE, commercial
  19. licenses are also available: visit www.rawmaterialsoftware.com/juce for
  20. more information.
  21. ==============================================================================
  22. */
  23. #include "../../../src/juce_core/basics/juce_StandardHeader.h"
  24. #include <Carbon/Carbon.h>
  25. BEGIN_JUCE_NAMESPACE
  26. #include "../../../src/juce_appframework/audio/audio_file_formats/juce_AudioCDBurner.h"
  27. //==============================================================================
  28. AudioCDBurner::AudioCDBurner (const int deviceIndex)
  29. : internal (0)
  30. {
  31. }
  32. AudioCDBurner::~AudioCDBurner()
  33. {
  34. }
  35. AudioCDBurner* AudioCDBurner::openDevice (const int deviceIndex)
  36. {
  37. return 0;
  38. }
  39. const StringArray AudioCDBurner::findAvailableDevices()
  40. {
  41. StringArray s;
  42. return s;
  43. }
  44. bool AudioCDBurner::isDiskPresent() const
  45. {
  46. return false;
  47. }
  48. int AudioCDBurner::getNumAvailableAudioBlocks() const
  49. {
  50. return 0;
  51. }
  52. bool AudioCDBurner::addAudioTrack (AudioFormatReader& source, int numSamples)
  53. {
  54. return false;
  55. }
  56. bool AudioCDBurner::addAudioTrack (AudioSource& source, int numSamples)
  57. {
  58. return false;
  59. }
  60. const String AudioCDBurner::burn (BurnProgressListener* listener,
  61. const bool ejectDiscAfterwards)
  62. {
  63. return String::empty;
  64. }
  65. END_JUCE_NAMESPACE