mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Added a way to store a Font descriptor as a string. Tweaked sample-rate initialisation in the AU hosting wrapper. Gave default constructors to a few components.
This commit is contained in:
parent
5a9e18d3a5
commit
22e02cf791
13 changed files with 201 additions and 32 deletions
|
|
@ -28,6 +28,7 @@
|
|||
BEGIN_JUCE_NAMESPACE
|
||||
|
||||
#include "juce_ValueTree.h"
|
||||
#include "../io/streams/juce_MemoryInputStream.h"
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -860,4 +861,10 @@ ValueTree ValueTree::readFromStream (InputStream& input)
|
|||
return v;
|
||||
}
|
||||
|
||||
ValueTree ValueTree::readFromData (const void* const data, const size_t numBytes)
|
||||
{
|
||||
MemoryInputStream in (data, numBytes, false);
|
||||
return readFromStream (in);
|
||||
}
|
||||
|
||||
END_JUCE_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue