mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Couple of minor warning fixes.
This commit is contained in:
parent
8ba781aa81
commit
a356c6b148
2 changed files with 24 additions and 23 deletions
|
|
@ -28,7 +28,7 @@ class LAMEEncoderAudioFormat::Writer : public AudioFormatWriter
|
|||
{
|
||||
public:
|
||||
Writer (OutputStream* destStream, const String& formatName,
|
||||
const File& lameApp, int vbr, int cbr,
|
||||
const File& appFile, int vbr, int cbr,
|
||||
double sampleRate, unsigned int numberOfChannels,
|
||||
unsigned int bitsPerSample, const StringPairArray& metadata)
|
||||
: AudioFormatWriter (destStream, formatName, sampleRate,
|
||||
|
|
@ -43,7 +43,7 @@ public:
|
|||
writer = wavFormat.createWriterFor (out, sampleRate, numChannels,
|
||||
bitsPerSample, metadata, 0);
|
||||
|
||||
args.add (lameApp.getFullPathName());
|
||||
args.add (appFile.getFullPathName());
|
||||
|
||||
args.add ("--quiet");
|
||||
|
||||
|
|
@ -103,11 +103,11 @@ private:
|
|||
ScopedPointer<AudioFormatWriter> writer;
|
||||
StringArray args;
|
||||
|
||||
bool runLameChildProcess (const TemporaryFile& tempMP3, const StringArray& args) const
|
||||
bool runLameChildProcess (const TemporaryFile& tempMP3, const StringArray& processArgs) const
|
||||
{
|
||||
ChildProcess cp;
|
||||
|
||||
if (cp.start (args))
|
||||
if (cp.start (processArgs))
|
||||
{
|
||||
const String childOutput (cp.readAllProcessOutput());
|
||||
DBG (childOutput); (void) childOutput;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue