Accepting request 24166 from multimedia:apps

Copy from multimedia:apps/audacity based on submit request 24166 from user mseben

OBS-URL: https://build.opensuse.org/request/show/24166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audacity?expand=0&rev=23
This commit is contained in:
OBS User autobuild 2009-11-16 16:58:30 +00:00 committed by Git OBS Bridge
parent b8b3feb5c3
commit 204c2ca7cb
7 changed files with 44 additions and 21 deletions

View File

@ -1,7 +1,8 @@
diff -Nur audacity-src-1.3.8-orig/src/prefs/DevicePrefs.cpp audacity-src-1.3.8/src/prefs/DevicePrefs.cpp
--- audacity-src-1.3.8-orig/src/prefs/DevicePrefs.cpp 2009-07-16 05:27:35.000000000 +0200
+++ audacity-src-1.3.8/src/prefs/DevicePrefs.cpp 2009-07-20 20:55:26.000000000 +0200
@@ -172,6 +172,15 @@
Index: audacity-src-1.3.9/src/prefs/DevicePrefs.cpp
===================================================================
--- audacity-src-1.3.9.orig/src/prefs/DevicePrefs.cpp
+++ audacity-src-1.3.9/src/prefs/DevicePrefs.cpp
@@ -173,6 +173,16 @@ void DevicePrefs::OnHost(wxCommandEvent
wxArrayString playnames;
wxArrayString recordnames;
@ -14,30 +15,31 @@ diff -Nur audacity-src-1.3.8-orig/src/prefs/DevicePrefs.cpp audacity-src-1.3.8/s
+ recDeviceNum = Pa_GetDefaultInputDevice();
+ }
+
+
int devindex; /* temp variable to hold the numeric ID of each device in turn */
for (int i = 0; i < nDevices; i++) {
const PaDeviceInfo *info = Pa_GetDeviceInfo(i);
if (info->hostApi == index) {
@@ -182,7 +191,10 @@
@@ -185,7 +195,10 @@ void DevicePrefs::OnHost(wxCommandEvent
if (info->maxOutputChannels > 0) {
playnames.Add(name);
index = mPlay->Append(name, (void *) info);
- if (device == mPlayDevice) {
devindex = mPlay->Append(name, (void *) info);
- if (device == mPlayDevice) { /* if this is the default device, select it */
+ if (playDeviceNum == i) {
+ mPlay->SetSelection(index);
+ }
+ else if (device == mPlayDevice) {
mPlay->SetSelection(index);
mPlay->SetSelection(devindex);
}
}
@@ -190,7 +202,10 @@
@@ -193,7 +206,10 @@ void DevicePrefs::OnHost(wxCommandEvent
if (info->maxInputChannels > 0) {
recordnames.Add(name);
index = mRecord->Append(name, (void *) info);
devindex = mRecord->Append(name, (void *) info);
- if (device == mRecordDevice) {
+ if (recDeviceNum == i) {
+ mRecord->SetSelection(index);
+ }
+ else if (device == mRecordDevice) {
mRecord->SetSelection(index);
mRecord->SetSelection(devindex);
}
}

View File

@ -1,6 +1,6 @@
diff -Nur audacity-src-1.3.8-orig/src/AudacityApp.cpp audacity-src-1.3.8/src/AudacityApp.cpp
--- audacity-src-1.3.8-orig/src/AudacityApp.cpp 2009-07-16 05:27:35.000000000 +0200
+++ audacity-src-1.3.8/src/AudacityApp.cpp 2009-07-20 23:45:41.000000000 +0200
--- audacity-src-1.3.9-orig/src/AudacityApp.cpp 2009-07-16 05:27:35.000000000 +0200
+++ audacity-src-1.3.9/src/AudacityApp.cpp 2009-07-20 23:45:41.000000000 +0200
@@ -331,7 +331,9 @@
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50132fead4de4382e603fa14f0a7ffe87c4db86ddcfda1a472b8fa0dc7fb41cf
size 6734200

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f47afe8dcf38165d3550160eb7e94694119f5da563674060a93c5bc66e2fa012
size 6719955

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Nov 5 09:40:31 UTC 2009 - davejplater@gmail.com
- Update to 1.3.9 adapted patches and remade audacity-1.3.9-audiodevdefaults.patch
* Crash, slow launch or excessive CPU/memory use arising from automatic VST support:
o VST instrument plug-ins should now be correctly ignored
o VST effects now scanned only at start of first session that detects them, then cached
o Effects are now not loaded or opened until needed
o New "Effects" tab in Preferences to enable/disable VST effects and enable VST rescan on next launch
* Default View Mode now works
* Chains now always apply their stored parameters rather than those last used in Effect menu
* Non-MP3 files imported via drag or Recent Files caused crash if filter in file open window set to MP3
* AAC exports (using the optional FFmpeg library) silenced
* Generating audio always fitted the project in the window; fit now done only if generating in new track
* View menu items/shortcuts incorrectly disabled when playing or recording
* DTMF generator defaulted to zero duration on open
* Unwanted interactions between linked audio and label tracks
* Various other interface bugs
* Compressor: new option to compress based on peaks, improved attack and decay time support
* Mixer Board: improved design, more responsive meters and now interacts fully with Track Panel in main window
-------------------------------------------------------------------
Fri Jul 31 15:21:50 CEST 2009 - mseben@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package audacity (Version 1.3.8)
# spec file for package audacity (Version 1.3.9)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -41,8 +41,8 @@ BuildRequires: libmad-devel
BuildRequires: libtwolame-devel
%endif
Summary: A Free, Cross-Platform Digital Audio Editor
Version: 1.3.8
Release: 2
Version: 1.3.9
Release: 1
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Editors and Convertors
BuildRoot: %{_tmppath}/%{name}-%{version}-build