If you want the full path of the stream:
$AudioStreamPlayer2D.stream.resource_path
If you are only interested in the filename:
$AudioStreamPlayer2D.stream.resource_path.get_file()
If you want to remove the file's extension:
$AudioStreamPlayer2D.stream.resource_path.get_file().get_basename()