Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
24ee80b6
Commit
24ee80b6
authored
Sep 21, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed behaviour of the volnorm settings
parent
8b2371b0
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
230 additions
and
355 deletions
+230
-355
NEWS
NEWS
+13
-11
extras/package/macosx/Resources/English.lproj/Preferences.nib/classes.nib
...acosx/Resources/English.lproj/Preferences.nib/classes.nib
+172
-327
extras/package/macosx/Resources/English.lproj/Preferences.nib/info.nib
...e/macosx/Resources/English.lproj/Preferences.nib/info.nib
+15
-5
extras/package/macosx/Resources/English.lproj/Preferences.nib/keyedobjects.nib
.../Resources/English.lproj/Preferences.nib/keyedobjects.nib
+0
-0
modules/gui/macosx/simple_prefs.h
modules/gui/macosx/simple_prefs.h
+1
-0
modules/gui/macosx/simple_prefs.m
modules/gui/macosx/simple_prefs.m
+29
-12
No files found.
NEWS
View file @
24ee80b6
Changes between 0.9.2 and 0.9.3-git:
Changes between 0.9.2 and 0.9.3-git:
------------------------------------
------------------------------------
* Fix sensitivity of Fullscreen Controller on Windows
* Fix
ed
sensitivity of Fullscreen Controller on Windows
* Fix ffmpeg slowness on Mac OS X (PowerPC)
* Fix
ed
ffmpeg slowness on Mac OS X (PowerPC)
* Fix crash on startup on Mac OS X when installed on old preferences
* Fix
ed
crash on startup on Mac OS X when installed on old preferences
* Fix error messages on startup on Windows when VLC wasn't correctly
* Fix
ed
error messages on startup on Windows when VLC wasn't correctly
uninstalled before installation
uninstalled before installation
* Various crashes fixed in PS, SSA, mkv, xspf, freetype
* Various crashes fixed in PS, SSA, mkv, xspf, freetype
* Fix DTS channel order on 5.1 systems
* Fix
ed
DTS channel order on 5.1 systems
* Fix pausing behaviour for subtitles
* Fix
ed
pausing behaviour for subtitles
* Multiple subtitles and podcast fixes
* Multiple subtitles and podcast fixes
* Fix bug in directory opening on Mac OS X
* Fix
ed
bug in directory opening on Mac OS X
* Fix lost playlist columns when switching the playlist view
* Fix
ed
lost playlist columns when switching the playlist view
* Add
necessary
options to Simple preferences (to avoid NVIDIA drivers issues)
* Add
ed needed
options to Simple preferences (to avoid NVIDIA drivers issues)
* Fix font selection on Mac OS X
* Fix
ed
font selection on Mac OS X
* Thicker border to the Mac OS X subtitle renderer
* Thicker border to the Mac OS X subtitle renderer
* Fix update system bugs
* Fix
ed
update system bugs
* Fixed the appereance of playlist items in the Streaming/Transcoding Wizard
* Fixed the appereance of playlist items in the Streaming/Transcoding Wizard
(Mac OS X only)
(Mac OS X only)
* Fixed AC3 passthrough on Mac OS X
* Fixed behaviour of the Volume Normalizer settings on Mac OS X
* Removed the deprecated QuickDraw video output module to avoid crashes on
* Removed the deprecated QuickDraw video output module to avoid crashes on
modern Mac OS X versions
modern Mac OS X versions
* Other bug fixes (dvd language selection, ...)
* Other bug fixes (dvd language selection, ...)
...
...
extras/package/macosx/Resources/English.lproj/Preferences.nib/classes.nib
View file @
24ee80b6
This diff is collapsed.
Click to expand it.
extras/package/macosx/Resources/English.lproj/Preferences.nib/info.nib
View file @
24ee80b6
...
@@ -2,8 +2,21 @@
...
@@ -2,8 +2,21 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist
version=
"1.0"
>
<plist
version=
"1.0"
>
<dict>
<dict>
<key>
IBDocumentLocation
</key>
<string>
69 69 356 240 0 0 1280 778
</string>
<key>
IBEditorPositions
</key>
<dict>
<key>
2311
</key>
<string>
345 425 590 230 0 0 1280 778
</string>
<key>
2330
</key>
<string>
345 221 590 502 0 0 1280 778
</string>
<key>
2562
</key>
<string>
345 219 590 505 0 0 1280 778
</string>
<key>
2668
</key>
<string>
345 255 590 457 0 0 1280 778
</string>
</dict>
<key>
IBFramework Version
</key>
<key>
IBFramework Version
</key>
<string>
644
</string>
<string>
489.0
</string>
<key>
IBLastKnownRelativeProjectPath
</key>
<key>
IBLastKnownRelativeProjectPath
</key>
<string>
../../vlc.xcodeproj
</string>
<string>
../../vlc.xcodeproj
</string>
<key>
IBOldestOS
</key>
<key>
IBOldestOS
</key>
...
@@ -11,13 +24,10 @@
...
@@ -11,13 +24,10 @@
<key>
IBOpenObjects
</key>
<key>
IBOpenObjects
</key>
<array>
<array>
<integer>
1530
</integer>
<integer>
1530
</integer>
<integer>
2668
</integer>
<integer>
2677
</integer>
<integer>
2677
</integer>
<integer>
2330
</integer>
<integer>
2330
</integer>
<integer>
2311
</integer>
<integer>
2562
</integer>
<integer>
2537
</integer>
<integer>
2265
</integer>
<integer>
2265
</integer>
<integer>
2668
</integer>
</array>
</array>
<key>
IBSystem Version
</key>
<key>
IBSystem Version
</key>
<string>
9E17
</string>
<string>
9E17
</string>
...
...
extras/package/macosx/Resources/English.lproj/Preferences.nib/keyedobjects.nib
View file @
24ee80b6
No preview for this file type
modules/gui/macosx/simple_prefs.h
View file @
24ee80b6
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
IBOutlet
id
o_audio_lastuser_txt
;
IBOutlet
id
o_audio_lastuser_txt
;
IBOutlet
id
o_audio_norm_ckb
;
IBOutlet
id
o_audio_norm_ckb
;
IBOutlet
id
o_audio_norm_fld
;
IBOutlet
id
o_audio_norm_fld
;
IBOutlet
id
o_audio_norm_stepper
;
IBOutlet
id
o_audio_spdif_ckb
;
IBOutlet
id
o_audio_spdif_ckb
;
IBOutlet
id
o_audio_view
;
IBOutlet
id
o_audio_view
;
IBOutlet
id
o_audio_visual_pop
;
IBOutlet
id
o_audio_visual_pop
;
...
...
modules/gui/macosx/simple_prefs.m
View file @
24ee80b6
...
@@ -428,7 +428,11 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
...
@@ -428,7 +428,11 @@ create_toolbar_item( NSString * o_itemIdent, NSString * o_name, NSString * o_des
psz_tmp
=
config_GetPsz
(
p_intf
,
"audio-filter"
);
psz_tmp
=
config_GetPsz
(
p_intf
,
"audio-filter"
);
if
(
psz_tmp
)
if
(
psz_tmp
)
[
o_audio_norm_ckb
setState
:
(
int
)
strstr
(
psz_tmp
,
"normvol"
)];
{
[
o_audio_norm_ckb
setState
:
(
int
)
strstr
(
psz_tmp
,
"volnorm"
)];
[
o_audio_norm_fld
setEnabled
:
[
o_audio_norm_ckb
state
]];
[
o_audio_norm_stepper
setEnabled
:
[
o_audio_norm_ckb
state
]];
}
[
o_audio_norm_fld
setFloatValue
:
config_GetFloat
(
p_intf
,
"norm-max-level"
)];
[
o_audio_norm_fld
setFloatValue
:
config_GetFloat
(
p_intf
,
"norm-max-level"
)];
[
self
setupButton
:
o_audio_visual_pop
forModuleList
:
"audio-visual"
];
[
self
setupButton
:
o_audio_visual_pop
forModuleList
:
"audio-visual"
];
...
@@ -751,6 +755,8 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
...
@@ -751,6 +755,8 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
config_PutPsz
(
p_intf
,
"audio-language"
,
[[
o_audio_lang_fld
stringValue
]
UTF8String
]
);
config_PutPsz
(
p_intf
,
"audio-language"
,
[[
o_audio_lang_fld
stringValue
]
UTF8String
]
);
config_PutInt
(
p_intf
,
"headphone-dolby"
,
[
o_audio_headphone_ckb
state
]
);
config_PutInt
(
p_intf
,
"headphone-dolby"
,
[
o_audio_headphone_ckb
state
]
);
if
(
[
o_audio_norm_ckb
state
]
==
NSOnState
)
{
psz_tmp
=
config_GetPsz
(
p_intf
,
"audio-filter"
);
psz_tmp
=
config_GetPsz
(
p_intf
,
"audio-filter"
);
if
(
!
psz_tmp
)
if
(
!
psz_tmp
)
config_PutPsz
(
p_intf
,
"audio-filter"
,
"volnorm"
);
config_PutPsz
(
p_intf
,
"audio-filter"
,
"volnorm"
);
...
@@ -760,13 +766,18 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
...
@@ -760,13 +766,18 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
psz_tmp
=
(
char
*
)[[
NSString
stringWithFormat
:
@"%s:volnorm"
,
psz_tmp
]
UTF8String
];
psz_tmp
=
(
char
*
)[[
NSString
stringWithFormat
:
@"%s:volnorm"
,
psz_tmp
]
UTF8String
];
config_PutPsz
(
p_intf
,
"audio-filter"
,
psz_tmp
);
config_PutPsz
(
p_intf
,
"audio-filter"
,
psz_tmp
);
}
}
}
else
else
{
psz_tmp
=
config_GetPsz
(
p_intf
,
"audio-filter"
);
if
(
psz_tmp
)
{
{
psz_tmp
=
(
char
*
)[[[
NSString
stringWithUTF8String
:
psz_tmp
]
stringByTrimmingCharactersInSet
:
[
NSCharacterSet
characterSetWithCharactersInString
:
@":volnorm"
]]
UTF8String
];
psz_tmp
=
(
char
*
)[[[
NSString
stringWithUTF8String
:
psz_tmp
]
stringByTrimmingCharactersInSet
:
[
NSCharacterSet
characterSetWithCharactersInString
:
@":volnorm"
]]
UTF8String
];
psz_tmp
=
(
char
*
)[[[
NSString
stringWithUTF8String
:
psz_tmp
]
stringByTrimmingCharactersInSet
:
[
NSCharacterSet
characterSetWithCharactersInString
:
@"volnorm:"
]]
UTF8String
];
psz_tmp
=
(
char
*
)[[[
NSString
stringWithUTF8String
:
psz_tmp
]
stringByTrimmingCharactersInSet
:
[
NSCharacterSet
characterSetWithCharactersInString
:
@"volnorm:"
]]
UTF8String
];
psz_tmp
=
(
char
*
)[[[
NSString
stringWithUTF8String
:
psz_tmp
]
stringByTrimmingCharactersInSet
:
[
NSCharacterSet
characterSetWithCharactersInString
:
@"volnorm"
]]
UTF8String
];
psz_tmp
=
(
char
*
)[[[
NSString
stringWithUTF8String
:
psz_tmp
]
stringByTrimmingCharactersInSet
:
[
NSCharacterSet
characterSetWithCharactersInString
:
@"volnorm"
]]
UTF8String
];
config_PutPsz
(
p_intf
,
"audio-filter"
,
psz_tmp
);
config_PutPsz
(
p_intf
,
"audio-filter"
,
psz_tmp
);
}
}
}
config_PutFloat
(
p_intf
,
"norm-max-level"
,
[
o_audio_norm_fld
floatValue
]
);
config_PutFloat
(
p_intf
,
"norm-max-level"
,
[
o_audio_norm_fld
floatValue
]
);
SaveModuleList
(
o_audio_visual_pop
,
"audio-visual"
);
SaveModuleList
(
o_audio_visual_pop
,
"audio-visual"
);
...
@@ -1027,6 +1038,12 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
...
@@ -1027,6 +1038,12 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch
if
(
sender
==
o_audio_vol_fld
)
if
(
sender
==
o_audio_vol_fld
)
[
o_audio_vol_sld
setIntValue
:
[
o_audio_vol_fld
intValue
]];
[
o_audio_vol_sld
setIntValue
:
[
o_audio_vol_fld
intValue
]];
if
(
sender
==
o_audio_norm_ckb
)
{
[
o_audio_norm_stepper
setEnabled
:
[
o_audio_norm_ckb
state
]];
[
o_audio_norm_fld
setEnabled
:
[
o_audio_norm_ckb
state
]];
}
if
(
sender
==
o_audio_last_ckb
)
if
(
sender
==
o_audio_last_ckb
)
{
{
if
(
[
o_audio_last_ckb
state
]
==
NSOnState
)
if
(
[
o_audio_last_ckb
state
]
==
NSOnState
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment