-#define SPDIF_TEXT N_("try to use S/PDIF output")
-#define SPDIF_LONGTEXT N_( \
- "Sometimes we attempt to use the S/PDIF output, even if nothing is " \
- "connected to it. Un-checking this option disables this behaviour, " \
- "and permanently selects analog PCM output." )
-
-vlc_module_begin();
- add_category_hint( N_("OSS"), NULL );
- add_file( "dspdev", "/dev/dsp", aout_FindAndRestart,
- N_("OSS dsp device"), NULL );
- add_bool( "oss-buggy", 0, NULL, BUGGY_TEXT, BUGGY_LONGTEXT );
- add_bool( "spdif", 1, NULL, SPDIF_TEXT, SPDIF_LONGTEXT );
- set_description( _("Linux OSS /dev/dsp module") );
- set_capability( "audio output", 100 );
- add_shortcut( "oss" );
- set_callbacks( Open, Close );
-vlc_module_end();
+vlc_module_begin ()
+ set_shortname( "OSS" )
+ set_description( N_("UNIX OSS audio output") )
+
+ set_category( CAT_AUDIO )
+ set_subcategory( SUBCAT_AUDIO_AOUT )
+ add_file( "oss-audio-device", "/dev/dsp", aout_FindAndRestart,
+ N_("OSS DSP device"), NULL, false )
+ add_deprecated_alias( "dspdev" ) /* deprecated since 0.9.3 */
+ add_bool( "oss-buggy", false, NULL, BUGGY_TEXT, BUGGY_LONGTEXT, true )
+
+ set_capability( "audio output", 100 )
+ add_shortcut( "oss" )
+ set_callbacks( Open, Close )
+vlc_module_end ()