Skip to content

Commit

Permalink
remove pickup sound effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Leximon committed Aug 29, 2024
1 parent e5ff78a commit ef70d72
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/main/kotlin/de/leximon/telephone/core/Sound.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ object Sound {
lateinit var DIALING: SoundType
lateinit var CALLING: SoundType
lateinit var RINGING: SoundType
lateinit var PICKUP: SoundType
lateinit var HANGUP: SoundType

fun init() {
DIALING = SoundType("dialing.mp3")
CALLING = SoundType("calling.mp3")
RINGING = SoundType("ringing.mp3")
PICKUP = SoundType("pickup.mp3")
HANGUP = SoundType("hangup.mp3")
LOGGER.info("Sounds loaded")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,7 @@ class Participant(
connectToAudioChannel(channel)
delay(1.seconds) // wait for the audio connection to be established
}
audio?.playSound(Sound.PICKUP)
recipient!!.audio?.playSound(Sound.PICKUP)

delay(3.seconds)
System.currentTimeMillis().also {
started = it
recipient!!.started = it
Expand Down
Binary file removed src/main/resources/audio/chaos/pickup.mp3
Binary file not shown.
Binary file removed src/main/resources/audio/classic/pickup.mp3
Binary file not shown.
Binary file removed src/main/resources/audio/discord/pickup.mp3
Binary file not shown.
Binary file removed src/main/resources/audio/lil_yachty/pickup.mp3
Binary file not shown.
Binary file removed src/main/resources/audio/my_uncle/pickup.mp3
Binary file not shown.
Binary file removed src/main/resources/audio/talking_ben/pickup.mp3
Binary file not shown.

0 comments on commit ef70d72

Please sign in to comment.