Ticket #257 (closed defect: wontfix)

Opened 12 years ago

Last modified 12 years ago

What happens if user's audio card cannot support 48kHz

Reported by: kmaclean Owned by: kmaclean
Priority: major Milestone: SpeechSubmission 0.1.8
Component: SpeechSubmission Version: Website 0.2
Keywords: Cc:

Description

Need code to poll user's audio card, and select highest rate it supports

Something like:

float javax.sound.sampled.AudioFormat.getSampleRate()

Obtains the sample rate. For compressed formats, the return value is the sample rate of the uncompressed audio data. When this AudioFormat is used for queries (e.g. AudioSystem.isConversionSupported(AudioFormat,AudioFormat) AudioSystem.isConversionSupported) or capabilities (e.g. DataLine.Info.getFormats() DataLine.Info.getFormats), a sample rate of AudioSystem.NOT_SPECIFIED means that any sample rate is acceptable. AudioSystem.NOT_SPECIFIED is also returned when the sample rate is not defined for this audio format.

See Also:

getFrameRate() AudioSystem.NOT_SPECIFIED

Returns:

the number of samples per second, or AudioSystem.NOT_SPECIFIED

Change History

comment:1 Changed 12 years ago by kmaclean

  • Version changed from 0.1-alpha to Website 0.2
  • Component changed from Acoustic Model to SpeechSubmission
  • Milestone set to SpeechSubmission 0.2

comment:2 Changed 12 years ago by kmaclean

  • Milestone changed from SpeechSubmission 0.1.4 to SpeechSubmission 0.1.2

comment:3 Changed 12 years ago by kmaclean

  • Status changed from new to closed
  • Resolution set to wontfix

no longer an issue, most hardware from past 5 years supports 48hHz-16bit recording

see ticket #187

Note: See TracTickets for help on using tickets.