This is the frequency for SACD Digital eXtreme Definition.
Higher sample rates exist, notably DSD's 2822.4kH but that is not PCM
and the bitrate computation would really risk 31-bits integer overflow.
change_private()
add_integer ("amem-rate", 44100,
N_("Sample rate"), N_("Sample rate"), false)
- change_integer_range (1, 192000)
+ change_integer_range (1, 352800)
change_private()
add_integer ("amem-channels", 2,
N_("Channels count"), N_("Channels count"), false)
return -1;
}
- if( p_format->i_rate > 192000 )
+ if( p_format->i_rate > 352800 )
{
msg_Err( p_aout, "excessive audio sample frequency (%u)",
p_format->i_rate );