Skip to content

Commit aeff768

Browse files
committed
getRequiredDecodeSamples()
1 parent 4a0c281 commit aeff768

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

AudioCoder/src/main/java/org/operatorfoundation/audiocoder/WSPRProcessor.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ class WSPRProcessor
7070
*/
7171
fun isReadyForDecode(): Boolean = audioBuffer.size >= REQUIRED_DECODE_SAMPLES
7272

73+
fun getRequiredDecodeSamples(): Int
74+
{
75+
return REQUIRED_DECODE_SAMPLES
76+
}
7377

7478
/**
7579
* Decodes WSPR from buffered audio data using the specified strategy.

0 commit comments

Comments
 (0)