mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Merge branch 'master' into Sequence
This commit is contained in:
commit
9ebaf1b94d
@ -1107,8 +1107,13 @@ void AudioIO::HandleDeviceChange()
|
||||
return;
|
||||
|
||||
// get the selected record and playback devices
|
||||
int playDeviceNum = getPlayDevIndex();
|
||||
int recDeviceNum = getRecordDevIndex();
|
||||
const int playDeviceNum = getPlayDevIndex();
|
||||
const int recDeviceNum = getRecordDevIndex();
|
||||
|
||||
// If no change needed, return
|
||||
if (mCachedPlaybackIndex == playDeviceNum &&
|
||||
mCachedCaptureIndex == recDeviceNum)
|
||||
return;
|
||||
|
||||
// cache playback/capture rates
|
||||
mCachedPlaybackRates = GetSupportedPlaybackRates(playDeviceNum);
|
||||
|
@ -383,7 +383,7 @@ void ThemeBase::RegisterImage( int &iIndex, const wxImage &Image, const wxString
|
||||
wxASSERT( iIndex == -1 ); // Don't initialise same bitmap twice!
|
||||
mImages.Add( Image );
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#ifdef __APPLE__
|
||||
// On Mac, bitmaps with alpha don't work.
|
||||
// So we convert to a mask and use that.
|
||||
// It isn't quite as good, as alpha gives smoother edges.
|
||||
|
Loading…
x
Reference in New Issue
Block a user