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.

108 lines
2.7KB

  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. // (This file gets included by juce_linux_NativeCode.cpp, rather than being
  24. // compiled on its own).
  25. #ifdef JUCE_INCLUDED_FILE
  26. //==============================================================================
  27. AudioCDReader::AudioCDReader()
  28. : AudioFormatReader (0, T("CD Audio"))
  29. {
  30. }
  31. const StringArray AudioCDReader::getAvailableCDNames()
  32. {
  33. StringArray names;
  34. return names;
  35. }
  36. AudioCDReader* AudioCDReader::createReaderForCD (const int index)
  37. {
  38. return 0;
  39. }
  40. AudioCDReader::~AudioCDReader()
  41. {
  42. }
  43. void AudioCDReader::refreshTrackLengths()
  44. {
  45. }
  46. bool AudioCDReader::readSamples (int** destSamples, int numDestChannels, int startOffsetInDestBuffer,
  47. int64 startSampleInFile, int numSamples)
  48. {
  49. return false;
  50. }
  51. bool AudioCDReader::isCDStillPresent() const
  52. {
  53. return false;
  54. }
  55. int AudioCDReader::getNumTracks() const
  56. {
  57. return 0;
  58. }
  59. int AudioCDReader::getPositionOfTrackStart (int trackNum) const
  60. {
  61. return 0;
  62. }
  63. bool AudioCDReader::isTrackAudio (int trackNum) const
  64. {
  65. return false;
  66. }
  67. void AudioCDReader::enableIndexScanning (bool b)
  68. {
  69. }
  70. int AudioCDReader::getLastIndex() const
  71. {
  72. return 0;
  73. }
  74. const Array<int> AudioCDReader::findIndexesInTrack (const int trackNumber)
  75. {
  76. return Array<int>();
  77. }
  78. int AudioCDReader::getCDDBId()
  79. {
  80. return 0;
  81. }
  82. #endif